If you want to change Crontab file editor either VIM or NANO instead of using the system default editor, you need to use VISUAL environment variable.
Before that, make sure that VIM or NANO installed in your system if you want to use them.
Specify NANO as the editor for crontab file
export VISUAL=nano; crontab -e
Specify VIM as the editor for crontab file
export VISUAL=vim; crontab -e
I attempt to install cPanel/WHM on CentOS 7 but was greet with an invalid hostname error. I never encounter this error before although I do many times cPanel/WHM installation.
Below is the error message.
Your hostname is invalid. Update the hostname to a fully qualified domain name and rerun the installer.
My first attempt to solve this is by changing hostname in network configuration file. Seem strange but the hostname configuration already correct.
Second attempt is by issuing the following command
I try to reinstall cPanel/WHM & it works!. Make sure you change host.domain.net to your preferred FQDN.