Centos 5 Plesk Install

I’ve recently been doing the exact same thing (albeit 32-bit), having previously always used Fedora, so I thought I’d give you a ‘how-to’ based entirely on my experiences (so it’s not neccesarily gospel, but it’s worked fine for me):

1. Start the CentOS installer by booting from cd/dvd.

2. For partitioning advice, I used this article and followed it’s suggestions to the letter http://kb.swsoft.com/en/819.

3. When prompted by the installer, I deslected all installation types with the exception of the ‘Server’ option.

4. I entered my appropriate network config when prompted. In my case I specifified a static public IP and corresponding gateway and also a couple of know public dns server addresses, although depending on your needs/set-up, you might want/need to be using DHCP.

5. After the installation has completed and you re-boot, upon first log-in you are presented with a network configuration utility; as I’d set my network up previously I didn’t need to do anything with this although there is also a security option which I did alter – by default there is a firewall configured to block most services including HTTP. I chose to switch this off totally at this point as I would be using Plesk to manage the firewall later on.

6. Now I wanted to perform some system updates via Yum, however because CentOS uses bind in a chrooted set-up which doesn’t work well with Plesk, I did the following (after a previous attempt without this knowledge caused me big problems with Bind):

– Edit /etc/yum.conf and, under the [main] section, add the line

– Next, get rid of the currently installled bind-chroot package
rpm -e bind-chroot

– Now we can use Yum to provide system updates [Please note, if you plan on using ARTs yum packages, which is a really good idea because you get updated Plesk compatible versions of both PHP and MySQL, do not add this channel to yum just yet, otherwise the Plesk installer won’t run until they’ve been removed!!].
#yum check-update
#yum update

7. Now you’re system is bang up to date, you can go off and get and then run the Plesk auto-installer. I run this from /usr/local/src but that’s just me.
# cd /usr/local/src
# wget http://download1.swsoft.com/Plesk/Pl…entOS_5_x86_64
# chmod +x psa_installer_v3.2.0_build070705.20_os_CentOS_5_x8 6_64
# ./psa_installer_v3.2.0_build070705.20_os_CentOS_5_x8 6_64

Off we go with the installer. Answer the questions as required and allow the installation to complete.

8. Once Plesk is installed and all appears to be okay, it’s then safe, and in my opinion a good idea, to set-up ART’s channel in yum and install his updates:

# wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh
# yum update

For me, at this point it just updated both PHP and MySQL packages and after that, all was good.


Leave a comment