ISPConf 3 Ubuntu serverile 13.04: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Auibomae (talk | contribs)
No edit summary
Auibomae (talk | contribs)
No edit summary
Line 5: Line 5:
The Perfect Server - Ubuntu 13.04 (Apache2, BIND, Dovecot, ISPConfig 3)
The Perfect Server - Ubuntu 13.04 (Apache2, BIND, Dovecot, ISPConfig 3)


=Võrgu seadistus=
==Võrgu seadistus==


   The loopback network interface
   The loopback network interface

Revision as of 22:11, 4 January 2014

Eesmärk

The Perfect Server - Ubuntu 13.04 (Apache2, BIND, Dovecot, ISPConfig 3)

Võrgu seadistus

  The loopback network interface
  auto lo 
  iface lo inet loopback  
  The primary network interface
  auto eth0 
  iface eth0 inet dhcp
 
  auto eth1 
  iface eth1 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        dns-nameservers 8.8.8.8 8.8.4.4

Peale võrgu seadistuse muutmist, tuleb teha restart teenusele.

/etc/init.d/networking restart

Järgnevalt tuleb viia sisse muuatused /etc/hosts faili.

nano /etc/hosts


127.0.0.1       localhost.localdomain   localhost 
192.168.0.100   server1.pingviin.com    server1 
# The following lines are desirable for IPv6 capable hosts 
::1     ip6-localhost ip6-loopback 
fe00::0 ip6-localnet 
ff00::0 ip6-mcastprefix 
ff02::1 ip6-allnodes 
ff02::2 ip6-allrouters 


Järgnevalt lisame rea /etc/hostname faili, all järgneva käsuga

echo server1.pingviin.com > /etc/hostname

Teeme teenusele restardi

/etc/init.d/hostname restart

Järgnevalt saame kontrollida, kas kõik siiamaani toimib.

hostname
hostname –f

Mõlema käsu puhul peab väljundiks tulema server1.pingviin.com


Modifitseerime /etc/apt/sources.list faili ja uuendame linuxi.

Kontrollige, et universe and multiverse repositooriumid oleksid lubatud.


nano /etc/apt/sources.list