Configureren van Ubuntu Server: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
k
Mist nog teveel voor fase2, moet nog vertaald worden
(cat) |
k (Mist nog teveel voor fase2, moet nog vertaald worden) |
||
== Inloggen met het root account ==
After the reboot you can login with your previously created username (e.g. administrator). Because we must run all the steps from this tutorial as root user, we must enable the root account now.
and give root a password. Afterwards we become root by running.
== Install The SSH Server (Optional) ==
If you did not install the OpenSSH server during the system installation, you can do it now:
== Configure The Network ==
Because the Ubuntu installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit /etc/network/interfaces and adjust it to your needs (in this example setup I will use the IP address 192.168.0.100):
/etc/init.d/networking restart
== Computernaam veranderen (optioneel) ==
Tijdens de installatie heb je al een computernaam (hostname) opgegeven. Deze hoef je dus niet in te stellen. Mocht je toch de computernaam willen wijzigen dan moet je /etc/hosts bewerken. Dit doe je zo:
Both should show server1.example.com now.
== Softwarebronnen en updates ==
In /etc/apt/sources.list staan de softwarebronnen en bronnen voor de updates. Dit staat al voor je ingesteld. Je kunt het bestand even bekijken, dan weet je waar je server.
to install the latest updates (if there are any).
== Disable AppArmor ==
AppArmor is a security extension (similar to SELinux) that should provide extended security. In my opinion you don't need it to configure a secure system, and it usually causes more problems than advantages (think of it after you have done a week of trouble-shooting because some service wasn't working as expected, and then you find out that everything was ok, only AppArmor was causing the problem). Therefore I disable it (this is a must if you want to install ISPConfig later on).
apt-get remove apparmor apparmor-utils
== Install Some Software ==
Now we install a few packages that are needed later on. Run
<!-- ----- Hieronder onderhoudsmeldingen, niet verwijderen ----- -->
{{fase1}}
{{boek}}
|