Just a short Tutorial today. It’s surprising how many people do not know this. To change the hostname under Linux, open a terminal window. Type the following code.
sudo nano /etc/hosts
and change the text to your new hostname. Changes will take effect on Restart.
I'm running a website on a VPS running Centos 6.5 and am having some issues. I'm new to serveradmin so just learning. atop was already installed on our machine and it's working. I wanted to go in and analyse the historical logs but there is nothing in /var/log/atop/, the atop directory is there but is empty.
I thought that it's configured to create logs by default?
to mount smb volume:
# smbclient --list host_smb_server
when you already know which folder you want to mount then
# mount -t cifs -o username=joe //host_dir/shared_folder /media/smb
this command will prompt you the password… type it.
to find out what is mounted on system:
The CPU beep is a really irritating thing in Linux distros and sometimes the graphical sound manager does not work when shutting it up.
Fortunately there is a simple way to do it in terminal. In Ubuntu (and distros based upon it) type:
gksudo gedit /etc/modprobe.d/blacklist
In Debian type:
We have Hamster working from command line, but dying in panel on (some?) 64 bit machines due to some threading issues or something and I totally can’t find the instructions i remember reading and using two years ago on how to debug applet once in panel.