How to change the default Ubuntu's NTP server
Answer:
If you are using the ntpd daemon, edit the file /etc/ntp.conf and change
server uk.pool.ntp.org
server de.pool.ntp.org
You can fine more servers in this link: http://www.pool.ntp.org/en/
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to change the default Ubuntu's NTP server
Answer:
If you are using the ntpd daemon, edit the file /etc/ntp.conf and change
server uk.pool.ntp.org
server de.pool.ntp.org
You can fine more servers in this link: http://www.pool.ntp.org/en/
Setup time synchronisation in Ubuntu
Answer:
Install the ntp daemon is what you need.
# sudo apt-get install ntp
Open a TCP port in Ubuntu's ufw firewall
Answer:
To open a TCP port, e.g. 8080 in the Ubuntu's UFW firewall (Uncomplicated firewall)
# sudo ufw allow 8080/tcp
# sudo ufw reload
Disable IPv6 in Linux
Answer:
To disable IPv6 during boot time.
1. edit /boot/grub/menu.lst
# sudo vi /boot/grub/menu.lst
2. append the following line at the end of your targeted kernel, save the file.
ipv6.disable=1
3. Restart your system and verify to see it is now disabled (The following command should return nothing)
# ip a | grep inet6
How to change hostname in Ubuntu?
Answer:
To see the current hostname setting, see
# cat /etc/hostname
www.example.com
To change it, edit this file
sudo vi /etc/hostname
Save it and reboot your system and perform the step above to check again.