hmm,
echo sudominio > /etc/hostname && reboot
hmm,
echo sudominio > /etc/hostname && reboot
│ [ERROR] │
│ │
│ Error while performing step: │
│ │
│ Processing setup tasks │
│ │
│ Error was: │
│ │
│ Servers::server::local::installer::_setupHostname: Couldn't set server hostname │
│ │
│ Please have a look at http://i-mscp.net/forum if you need help. │
│ │
│
hostname -F /etc/hostname
?
hostname -F /etc/hostname
-bash: hostname: no se encontró la orden
apt install hostname
hostname ya está en su versión más reciente (3.18+b1).
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
strange
which hostname
ls -l /bin/hostname
ls -l /etc/hostname
root@server:/# ls -l /bin/hostname
ls: no se puede acceder a '/bin/hostname': No existe el fichero o el directorio
root@server:/# ls -l /etc/hostname
-rw-r--r-- 1 root root 6 dic 1 19:17 /etc/hostname
apt-get install --reinstall hostname
It worked perfectly, the only thing that the plugins all left me with errors, but hey, I'll be activating those tomorrow.
Thank you very much for your help, it is nice to meet people like you
All the best