Ubuntu 16.04/Package selection
Attention! Ubuntu 16.04 contains the Mono version 4.2. Up to OpenSim 0.8.2 upgrades may not exceed to Mono 4.0.x. OpenSim 0.9.x, OpenSim (Metro) 0.8.3 and OpenSim Arriba can be executed also with Mono 4.2.x and thereby with Ubuntu 16.04, older OpenSim versions not!
If the provider offers a "minimal" default installation of "Ubuntu 16.04 (Xenial Xerus)", this can be taken as base system. Further package deinstallation is more trouble than it's worth. Independent from the provider also exists a minimalistic Ubuntu server distribution as base to install: Server install image
Integrate package repositories
(To deepen see also: Wiki)
It is recommended to use a mirror server in the area instead of the Canonical server, since mostly the connection is faster, and cost and bandwidth for the main server will be reduced. The example server chosen here is located in Germany (Aachen), making it suitable for central Europe.
Hint: Many Ubuntu installations use the command sudo to get administrator permissions. In this case in front of the commands mentioned here, the word sudo must be typed. In the next tutorial part „User + SSH“ we will configure a fully-fledged root account, and sudo will become obsolete.
Actual list of official mirror servers: https://launchpad.net/ubuntu/+archivemirrors
Enter repositories: /etc/apt/sources.list (Wiki: https://help.ubuntu.com/community/Repositories/CommandLine)
(Hint: Repositories which are needed only sometime or optional explanatory notes can be commented out with the # character at the beginning of a line.)
deb http://ftp.halifax.rwth-aachen.de/ubuntu xenial main restricted universe multiverse deb http://ftp.halifax.rwth-aachen.de/ubuntu xenial-updates main restricted universe multiverse deb http://ftp.halifax.rwth-aachen.de/ubuntu xenial-security main restricted universe multiverse deb http://ftp.halifax.rwth-aachen.de/ubuntu xenial-backports main restricted universe multiverse
After changing the repositories, the new selection must be loaded again into the package manager:
Install Software Packages
Most likely in the new choosen repositories updates are available for some packages. These should be installed first of all:
Install the following packages (and their dependencies) with:
apt-get install ...
=> nginx (only necessary for webserver)
=> php7.0-fpm (only necessary for webserver with PHP-CGI scripts)
=> php7.0-mysql (only necessary for webserver with SQL connected over PHP, for example CMS, blogs or forums)
In brackets for optional packages a hint with possible uses is given.
Optional update of the web server, if installed
Preparation: Install software tools to be able to install easily from Ubuntu PPA repositories:
apt-get install software-properties-common
With the following command line sequence the private repository (PPA) of a user is choosen as additional installation source, and from there a more actual version of Nginx is installed.
nginx=stable add-apt-repository ppa:nginx/$nginx apt-get update apt-get install nginx
Attention: Such private installation sources are not controlled by the Ubuntu team! Even though the data were uploaded to a Ubuntu server, the person or community referred in the PPA did it on their own account.
Continued: User accounts and hardening SSH