Netwerkbeheer/Besturingssystemen/Ubuntu Server/Configureren van Ubuntu Server: verschil tussen versies

Verwijderde inhoud Toegevoegde inhoud
Svkeulen (overleg | bijdragen)
Geen bewerkingssamenvatting
Svkeulen (overleg | bijdragen)
Geen bewerkingssamenvatting
Regel 7:
sudo su
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:
 
apt-get install ssh openssh-server
 
From now on you can use an SSH client such as PuTTY and connect from your workstation to your Ubuntu 8.04 LTS server and follow the remaining steps from this tutorial.
 
=Install vim (Optional)=
I'll use vi as my text editor in this tutorial. The default vi program has some strange behaviour on Ubuntu and Debian; to fix this, we install vim:
 
apt-get install vim
 
(You don't have to do this if you use a different text editor such as joe or nano.)
 
 
Regel 26 ⟶ 12:
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. Stel het IP-adres vast in op 172.31.X.1 . Waarbij X door je docent wordt toegewezen en Y kies je zelf. Het Subnetmasker stel je in op 255.255.0.0
 
vinano /etc/network/interfaces
 
Hierin staat:
Regel 51 ⟶ 37:
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:
 
vinano /etc/hosts
 
127.0.0.1 localhost.localdomain localhost
Regel 78 ⟶ 64:
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.
 
vinano /etc/apt/sources.list
 
Sluit deze en voer uit:
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.