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

Notice: Undefined variable: browserName in /var/www/taziomirandola.it/lib/Visitors.php on line 86

Notice: Undefined variable: browserName in /var/www/taziomirandola.it/lib/Visitors.php on line 96

Deprecated: strripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /var/www/taziomirandola.it/lib/Visitors.php on line 96

Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /var/www/taziomirandola.it/lib/Visitors.php on line 39

Fatal error: Uncaught TypeError: Argument 1 passed to safe_text() must be of the type string, null given, called in /var/www/taziomirandola.it/lib/Visitors.php on line 39 and defined in /var/www/taziomirandola.it/lib/Visitors.php:162 Stack trace: #0 /var/www/taziomirandola.it/lib/Visitors.php(39): safe_text() #1 /var/www/taziomirandola.it/lib/Visitors.php(124): Visitors::getData() #2 [internal function]: Visitors::log() #3 {main} thrown in /var/www/taziomirandola.it/lib/Visitors.php on line 162