Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

Category CentOS 6

Force comments in commits – Subversion (SVN)

You need to set this up on the server which hosts the SVN repository. Enter the repository and you should see a folder labelled hooks, create a new file labelled pre-commit without any extension and paste the following code inside   #!/bin/sh REPOS=”$1″ TXN=”$2″…

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…

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…

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…

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…

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…