Centos 6 and above now has an easy to use command to change the hostname of your server. Simple type: hostname (newhostnamehere) Replace (newhostnamehere) with what you want the hostname to be. It’s nice when things are actually simple, good Continue Reading
If you want to change the language the user root uses by command in Centos you need to run this: export LANG=en_GB.UTF-8 This is for English if you want another language you need to change this to your language; en_GB
This simple command will list the inodes used for any group on the server: repquota -a | head -n5 ; repquota -a | grep username Just replace where it says “username” with the group or username you want to check.
To install CPanel over Centos minimal 6 you need to get some basic packages. You can easily grab those with YUM here is the package command to get Centos Minimal install ready for CPanel. yum groupinstall base
pico /etc/sysconfig/network pico /etc/hosts pico /etc/resolv.conf pico /var/named/your.dns.zone.com.db (add A record for host) pico /usr/local/apache/conf/httpd.conf (may not exist anymore) — cd /usr/local/cpanel then run ./cpkeyclt also might help license /scripts/upcp You can also run: pico /etc/sysconfig/network and change it there. Continue Reading
cd /usr/bin ln -s nano pico export EDITOR=pico