Saturday, January 30, 2010

[error] mod_ssl: Init: (domainname.com:443) Unable to configure verify locations for client authentication

commented out the SSLCACertificateFile line and then restart httpd

# SSLCACertificateFile /usr/share/ssl/certs/domainname.com.cabundle

No space left on device: mod_rewrite: could not create rewrite_log_lock

If you are getting

No space left on device: mod_rewrite: could not create rewrite_log_lock

error while restarting Apache then do this to fix it (replace Apache with the name of the

user apache runs as):

ipcs -s | grep apache | perl -e while () { @a=split(/s+/); print `ipcrm sem $a[1]`}

Wednesday, January 27, 2010

Find out my Linux distribution name and version from shell

To find out what version of Linux (distro) you are running, enter the following command at the shell prompt:
$ cat /etc/*-release

Monday, January 11, 2010

How to install ioncube loader in directadmin

ionCube can be installed by following these two steps:

1/ Extract the correct ionCube loader tarball (go here to find the right one for your system) to the /usr/local directory.

e.g.
curl -O http://downloads2.ioncube.com/loader...in_x86.tar.bz2
tar xjfC ioncube_loaders_lin_x86.tar.bz2 /usr/local

2/ You will need to append a line to your PHP.INI to enabel ionCube. ionCube's install helper will give you the exact line to add:
php /usr/local/ioncube/ioncube-loader-helper.php

The line to be appended will look something like:
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

After that's appended, ionCube should work. If it's working, php -v should list ionCube as a loaded extension.

How to point Subdomain to a different server

1. Log into account
2. Open the Domain Manager
3. Click the domain you are working with
4. Click “Total DNS Control and MX Records”
5. The first group in this area should be A (Host), on the top right of this bar, click Add New A Record
6. Enter the host name, in my case it was “blog.aremysitesup.com”
7. Enter the IP address of the server you wish to point at.