Tag archive for ‘cpanel’

Data Recovery on Linux and ext3

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 [...]

Check file and directory permissions under present working directory

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 [...]

How to Install and Enable cPanel Proxy?

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 [...]

Script used to correct permission of files after suphp

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} [...]

How to set multiple IP addresses using Linux command line

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 [...]

HowTo Install APC on CPanel/WHM

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 [...]

DB not showing in cPanel but available on the server

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 [...]

cpanel: mysql database size 0MB

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 [...]

ss: Display Linux TCP / UDP Network and Socket Information

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. [...]

Not allowed to add any more than (0) addon domains!

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. [...]

Enter your email address:

Liên Kết Website

web design | Shared linux windows problems | Dedicated server | website chất lượng cao | hosting chất lượng cao | Tutorial video collection | Troubleshooting Tips and Tutorial