Install subversion 1.8.10 on CentOS 6.5 – Plesk 12

Install the wandisco repo to get the latest version of subversion for CentOS [WandiscoSVN] name=Wandisco SVN Repo baseurl= enabled=1 gpgcheck=0 Issue the following at shell yum install subversion mod_dav_svn Restart httpd, it’ll do it itself while installing but go ahead and restart just in case it doesn’t. service httpd restart…

Read More

Add a user to Mysql via shell – CentOS 6.5

Start off by adding a new user to Mysql CREATE USER ‘test123’@’localhost’ IDENTIFIED BY ‘testpassword123’; You should see a Query OK message from Mysql signalling that it run without error. Now grant privileges to that user on a database GRANT ALL PRIVILEGES ON testDatabase.* TO ‘testuser’@’localhost’ Now reload privileges with FLUSH…

Read More

Install ImageMagick – WHM / cPanel 11.42 – CentOS 6.5

To see whether you have ImageMagick installed, issue the following at shell /usr/bin/convert –version If it is installed you’ll see version information for ImageMagick, if not issue the following at shell /scripts/installimagemagick Just restart apache from inside WHM and that should be all you need to do. Throw a phpinfo file to verify…

Read More

Downtime

Apologies for the downtime, I was experimenting with this server, :P, took the site down but forgot to bring it back online. I have been busy with work but should be posting new articles soon.

Read More

Install Latest Perl 5.18 – CentOS 6.4

Change your directory to /usr/local/src   Head over to cpan.org and download the latest stable release of Perl   Copy the download link and issue the following at shell to start pulling the archive wget You’ll need wget so install it if you don’t have it already yum install…

Read More

Moving files a level up

Move to the folder you want the files to eventually reside in, the example works on the premise that the target directory is above the source directory. |_examplefolder |_myfolder Issue the following at shell mv myfolder/* . This command would copy all the files inside myfolder into the current directory…

Read More

How to unrar file – CentOS 6.5

Install the rpmforge repo wget rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm yum install unrar -y Once you have the package installed, type in the following command to extract the rar unrar x <filename>.rar   The x tell’s unrar to maintain the original folder structure. Make sure you do this in an empty folder.

Read More

Update Plesk to 11.5

  The data center we use hasn’t updated it’s OS images to include the latest version of Plesk, 11.5. This is how we went about upgrading the panel. First off, make sure you backup everything. We work off of the notion that if something can go wrong, it WILL go…

Read More