Solutionist's Blog

Tech | Health | Life | Travel

How to Install Zpanel in Centos 5

The following are the steps to install CentOS 5.5+ 1. Download the source from the following Url using the command: #wget https://xsdou.googlecode.com/files/zpanel-6.1.1.tar.gz 2. Create a directory as below: #mkdir /etc/zpanel 3. Extract the source to /etc/zpanel: #tar -zxvf zpanel-6.1.1.tar.gz -C /etc/zpanel/ 4. Change mod using the following command: #chmod +x /etc/zpanel/lib/dev/zpinstall_centos.sh 5. Finally, run the following […]

how to fix broken YUM in CentOS

When we type the command yum, we encounter the error such as the one below. # yum update Loaded plugins: downloadonly, fastestmirror Loading mirror speeds from cached hostfile Traceback (most recent call last):   File “/usr/bin/yum”, line 29, in ?     yummain.user_main(sys.argv[1:], exit_code=True)   File “/usr/share/yum-cli/yummain.py”, line 309, in user_main     errcode = main(args)   […]

Rebuild Initrd in Centos / Redhat

Boot in Rescue Mode Please perform the following steps: Boot from a CentOS installation disc (for example, CD #1 or DVD). Type “linux rescue” at the “boot:” prompt. Mount all filesystems in read-write mode. Create the New Initrd Change root to real root (‘/’) on your hard disk and make the initrd. (The example is […]

Install VPN Server with PPTP on CentOS, RedHat and Ubuntu

Step 1. Install PPTPD If your OS is CentOS/RedHat 5: yum install ppp cd /usr/local/src wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.x86_64.rpm rpm -Uhv pptpd-1.3.4-2.rhel5.x86_64.rpm If your OS is CentOS/RedHat 6: yum install ppp cd /usr/local/src wget http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.el6.x86_64.rpm rpm -Uhv pptpd-1.3.4-2.el6.x86_64.rpm If you are using Ubuntu: apt-get install pptpd Step 2. Edit IP setttings in /etc/pptpd.conf vi /etc/pptpd.conf localip 192.168.0.1 remoteip 192.168.0.101-200 Step 3. Add […]

setup vacation auto responder with sendmail

Requirement: Vacation, Sendmail, SquirrelMail, SquirrelMail Local User Autoresponder and Mail Forwarder plugin, SquirrelMail Compatibility plugin, vsftp and CentOS 5 1. Download vacation-1.2.6.3.tar.gz from the link below: – http://vacation.sourceforge.net 2. Extract the vacation to a temporary directory as below: – tar xvfz vacation-1.2.6.3.tar.gz -C /tmp 3. Change directory to /tmp/vacation-1.2.6.3 as below: – cd /tmp/vacation-1.2.6.3 4. […]

Secured By miniOrange