Serial Terminal Configuration in RHEL Distribution Rumi, September 5, 2024 Serial Terminal Configuration in RHEL 7 Add, or update if already present, the following lines to /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT=”console=tty0 console=ttyS0,115200n8″ GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND=”serial –speed=115200 –unit=0 –word=8 –parity=no –stop=1″ GRUB_CMDLINE_LINUX_DEFAULT applies this configuration only to the default menu entry, use GRUB_CMDLINE_LINUX to apply it to all the menu entries. NOTE: each line type… Continue Reading
PHPSysinfo CentOS 7 Installer Script Rumi, January 23, 2024 Intended to to deploy on a barebone fresh CentOS installation with Apache and PHP- !#/bin/sh ################################################# # Server Configuration for Centos 6.8 Final # # Don’t use port 7071 # Updated by Rumi- hasan@servermart.net # ################################################# ## updating packages sudo yum update -y ## installing dependencies sudo yum install unzip… Continue Reading
reset root password on CentOS 7 Rumi, January 10, 2024 You need to have a console access for running this operation. 1. Inside java or HTML5 console, please reboot your server and wait for the GRUB menu 2. Inside the GRUB menu select your first entry and press “E” key to edit. 3. Find a line with ro and change it to rw Continue Reading
Install PHPIPAM using Docker on CentOS 7 Rumi, January 7, 2024 Update Docker Package Database. In a terminal window, type: sudo yum check-update Remove if any docker is preinstalled with your OS- sudo yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine Install the Dependencies sudo yum install -y yum-utils device-mapper-persistent-data lvm2 The –y switch indicates to the yum… Continue Reading
Upgrading PHP 7.2 to 7.4 for WHMCS on CentOS 7 Rumi, October 30, 2023October 30, 2023 Lately I needed an update of PHP (7.2 to 7.4) on my WHMCS CentOS 7 built box- here’re the process that I followed. But before that, I’m sharing my original post on setting up WHMCS on CentOS 7 Since I used remi repository to install version 7.2, I’ll be doing… Continue Reading
Install Plex on CentOS 7 Rumi, September 15, 2023 Was just playing around. It’s a great home entertainment tool indeed. Method-1: Creating repository and using Yum To enable the Plex repository open your text editor and create a new YUM repository configuration file named plex.repo in /etc/yum.repos.d/ directory: [PlexRepo] name=PlexRepo baseurl=https://downloads.plex.tv/repo/rpm/$basearch/ enabled=1 gpgkey=https://downloads.plex.tv/plex-keys/PlexSign.key gpgcheck=1 Method-2: Installation using RPM download… Continue Reading
Install XRDP on CentOS 7 Rumi, September 12, 2023 Prerequisites: XRDP is an open-source version of the Microsoft Remote desktop Protocol server. It enables operating systems besides Microsoft Windows to offer a fully functional remote desktop experience. The prerequisites for the installation include: Before all else, install Gnome GUI on CentOS 7 or RHEL 7. Then install and configure… Continue Reading
Install and Configure Fail2Ban for Zimbra on CentOS 7 Rumi, September 12, 2023 Below is how to install and configure Fail2Ban for Zimbra. In this guidance, I use CentOS. Please adjust python-pip version if using another OS 1. Install pip yum install python3-pip 2. Install dependencies required by Fail2Ban pip3 install pyinotify pip3 install dnspython 3. Download and extract Fail2Ban cd /tmp/ wget… Continue Reading
IPTables D-NAT Firewall Rule Rumi, September 2, 2023 # Generated by iptables-save v1.3.5 on Tue Oct 28 23:57:58 2014 *filter :INPUT ACCEPT [2590:547311] :FORWARD ACCEPT [11426:731834] :OUTPUT ACCEPT [3989:328501] -A INPUT -i eth0 -j ACCEPT COMMIT # Completed on Tue Oct 28 23:57:58 2014 # Generated by iptables-save v1.3.5 on Tue Oct 28 23:57:58 2014 *mangle :PREROUTING ACCEPT… Continue Reading
Create A Network Bridge on CentOS 7 Rumi, September 1, 2023 Install Module CentOS 7 comes with bridging module loaded on system boot by default. Use the following command to verify whether the module is loaded or not. # modinfo bridge filename: /lib/modules/3.10.0-327.el7.x86_64/kernel/net/bridge/bridge.ko alias: rtnl-link-bridge version: 2.3 license: GPL rhelversion: 7.2 srcversion: 905847C53FF43DEFAA0EB3C depends: stp,llc intree: Y vermagic: 3.10.0-327.el7.x86_64 SMP mod_unload modversions… Continue Reading