VPS Setup Notes

Standard packages: aptitude nano git zip software-properties-common

sudo aptitude update; sudo aptitude dist-upgrade

Web packages old sites: apache2 php5 libapache2-mod-php5 php5-cli php5-mysql php5-gd libphp-pclzip mysql-client mysql-server phpmyadmin libsasl2-modules libsasl2-modules-sql libsasl2-2 sasl2-bin libpam-mysql libfcgi-dev phpmyadmin unzip libxml2 

sudo a2enmod rewrite

certbot: https://gist.github.com/craigvantonder/6dcc3c9565b04a36f21d6cf6ffa106b4

 

phpmyadmin:
 
nano /etc/apache2/apache2.conf
Add in the bottom:

# phpMyAdmin Configuration
Include /etc/phpmyadmin/apache.conf
 
Then restart apache: service apache2 restart
 

Locale

export LC_ALL="da_DK.UTF-8"; sudo locale-gen; sudo dpkg-reconfigure locales

Moren info about Local: https://askubuntu.com/questions/133318/how-do-i-change-the-language-via…

Last modified
2021-06-27