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
If your CPanel based server shows a website instead of the default Apache page you need to do three things. Run these commands: scripts/updateuserdomains scripts/rebuildhttpdconf Then reboot Apache in the WHM or by command: service httpd restart
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.
It’s easy just run this command and than choose a language: system-config-language