procedimento installazione:

  • nome del server in hosts
  • programmare aggiornamenti di sicurezza su calendario
  • @see linux_monitoring

LAMP

apt-get install mysql-server mysql-client
apt-get install apache2
apt-get install php5 libapache2-mod-php5 rsync wget
apt-get install  rsync wget htop
apt-get autoremove

passare a una versione successiva:

nano /etc/apt/sources.list
# than change version, eg. "squeeze" to "wheezy"
apt-get update
apt-get install apt -t wheezy
apt-get upgrade &
apt-get clean
apt-get dist-upgrade

use tmux for maximum safety. Carefully check all debconf prompts and update configuration files as needed

ubuntu server:

# check the current version
lsb_release -a
# update-manager-core
sudo do-release-upgrade.
# Follow the on-screen instructions. be careful to note ssh additional port