October 30th, 2012 |
admin |
This article discusses the process of recovering deleted data from an ext3 partition, on a system running Linux, using a process called data carving. This basic technique is useful in any number of situations, such as recovering data that has been accidentally deleted by a user, information removed in an attempt to erase signs of [...]
October 21st, 2012 |
admin |
Below commands can be used to check file and diretcory permissions under the present working diretcory (pwd) * Check files with permission 755 root@master [~]# find $x -type f -perm 755 * Check files with permission 777 root@master [~]# find $x -type f -perm 777 * Check diretcory with permissions 777 root@master [~]# find $x [...]
October 13th, 2012 |
admin |
cPanel, WHM and even Webmail uses non-common ports which some Internet Server Providers (ISP) do not allow and makes it impossible for people to access any of these. cPanel works on 2082/2083, WHM 2086/2087 and Webmail 2095/2096. The workaround is to install cPanel Proxy which works as a proxy gateway for Apache and the requests [...]
October 5th, 2012 |
admin |
Script used to correct permission of files after suphp #!/bin/bash # For some stupid reason, cPanel screws up the directory permissions. chmod 755 /opt/suphp find /opt/suphp -type d -exec chmod 755 {} \; # Ensure that the permissions are sane and won’t cause a 500 error. for user in `/bin/ls /var/cpanel/users`; do chown -R ${user}:${user} [...]
October 4th, 2012 |
admin |
Go to /etc/sysconfig/network-scripts Make multiple copies of ifcfg-eth0 and name them as ifcfg-eth0:0, ifcfg-eth0:1 etc. Open each of them and at least change the IPADDR to your chosen IP address and the NETMASK to the subnet mask for that IP address. A sample entry would look like this: DEVICE=eth0:0 BOOTPROTO=static IPADDR=34.123.111.21 NETMASK=255.255.255.0 ONBOOT=yes Restart the [...]
September 27th, 2012 |
admin |
CPanel includes support in their installer for eaccelerator; still, for some strange reason they don’t include support for APC also. So, if you want to install APC on your CPanel powered server, you will have to go back at the command line and install it manually. Here are the steps needed to install the latest [...]
August 22nd, 2012 |
admin |
Even if the databases are created and existing on the server the cPanel sometimes does not show the DB’s. To sort this just run the folowing command to map the databases: [root@server ~]# /usr/local/cpanel/bin/setupdbmap Once done you should be able to view the DB’s in the cPanel. Incoming search terms:database listed in cpanel but not [...]
August 14th, 2012 |
admin |
You may see the mysql database size as zero in cPanel >> ‘Mysql Databases’ option, though the databases contains tables and data. In order to include the size of the databases while displaying disk usage in cPanel/WHM, perform either of the following steps: 1) SSH to your server as root and edit the cpanel.config file [...]
August 10th, 2012 |
admin |
The ss command is used to dump socket statistics. It allows showing information similar to netstat command. It can display more TCP and state information than other tools. It is a new, incredibly useful and faster (as compare to netstat) tool for tracking TCP connections and sockets. SS can provide information about: All TCP sockets. [...]
July 23rd, 2012 |
admin |
Error: There was a problem creating the addondomain. Sorry, you are not allowed to add any more than (0) addon domains! The domain below was not setup. Reason: The domain is not allowed to host any add-on domains on it and the addon domain resources are set to zero by the administrator of the server. [...]