Oracle Linux: Difference between revisions
From ICO wiki
Jump to navigationJump to search
No edit summary |
|||
Line 73: | Line 73: | ||
service network restart | service network restart | ||
</pre> | </pre> | ||
=DNS= | |||
=Apache 2= | |||
=Samba= | |||
=E-post (postfix)= |
Revision as of 00:52, 11 January 2013
Autorid
- Dmitri Keler
- Jevgeni Pogodin
Oracle Linux paigaldamine
Virtuaalmasina valmistamine
- RAM 512MB
- HDD 12GB Dynamic
- 2 Võrgukaarti
- eth0 - NAT (lubab Interneti pääseda)
- eth1 - Host only (ühendamine teise virtuaalmasinaga)
Installeerimine
Juhendis kasutatakse Oracle Linux Server 6.3. Allalaadimise link on siin: http://www.oracle.com/technetwork/server-storage/vm/downloads/index.html (seal on vaja registreerida)
Installerimine käigus:
1. Buutides isolt vali "Install an existing system"
2. Aknas "testing the media" , vajutage skip
3. Vali keel ja klaviatuuri layout
4. Vali time zone
5. Sisesta root kasutaja parooli
6. Partitsiooni muutmine
7. Peale partitsiooni muutmine, automaatselt tuleb package installimine
8. Installerimine lõpeb, süsteemi reboot
Võrgukaartide seadistamine
On vaja muuda 2 faili:
1. /etc/sysconfig/network-scripts/ifcfg-eth0 - NAT
2. /etc/sysconfig/network-scripts/ifcfg-eth1 - Host Only
eth0 konfigureerimine:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0" HWADD="08:00:27:9E:F4:FC" NM_CONTROLLED="yes" ONBOOT="yes" TYPE="Ethernet" UUID="441d9faa-078f-405d-9f30-45849ca8c8f4"
eth1 konfigureerimine:
vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1" BOOTPROTO="static" HWADDR="08:00:27:22:BB:1D" NM_CONTROLLED="yes" ONBOOT="yes" IPADDR=192.168.56.205 NETMASK=255.255.255.0 TYPE="Ethernet" UUID="f477120f-5ebf-46c3-90db-fa58d05ab02c"
Lõpuks tuleb võrgu restarti teha:
service network restart