Line 88: |
Line 88: |
| == Install screen == | | == Install screen == |
| To enable background updates, screen is installed. | | To enable background updates, screen is installed. |
− | yum install screen | + | yum install screen nano mlocate |
| It is invoked / re-attached with <tt>'''screen -aR scrname'''</tt> and detached from the session with <tt>'''Ctrl-A d'''</tt>. | | It is invoked / re-attached with <tt>'''screen -aR scrname'''</tt> and detached from the session with <tt>'''Ctrl-A d'''</tt>. |
| | | |
Line 101: |
Line 101: |
| * Upload '''/etc/yum.repos.d/[[Media:SME8_sme-base.repo.txt|sme_base.repo]]''' | | * Upload '''/etc/yum.repos.d/[[Media:SME8_sme-base.repo.txt|sme_base.repo]]''' |
| wget http://wiki.contribs.org/images/3/30/SME8_sme-base.repo.txt -O /etc/yum.repos.d/sme-base.repo | | wget http://wiki.contribs.org/images/3/30/SME8_sme-base.repo.txt -O /etc/yum.repos.d/sme-base.repo |
− | * UM install sme rpms | + | * YUM install sme rpms |
− | yum install smeserver\* e-smith\* --enablerepo=smeos8,smeupdates8 --nogpgcheck | + | yum --disablerepo=base,updates,extras upgrade --nogpg |
| + | yum install smeserver\* e-smith\* *.sme.* --enablerepo=smeos8,smeupdates8 --nogpgcheck |
| * 287 MB / 374 RPMs Installed | | * 287 MB / 374 RPMs Installed |
| * SMEServer uses runlevels 7 and 4 | | * SMEServer uses runlevels 7 and 4 |
Line 153: |
Line 154: |
| Restart Networking with: | | Restart Networking with: |
| ifdown venet0 && ifup venet0 | | ifdown venet0 && ifup venet0 |
| + | |
| + | Alternatively, the VLANs can be used: |
| + | <pre> |
| + | # cat /etc/sysconfig/network-scripts/ifcfg-venet0 |
| + | DEVICE=venet0 |
| + | BOOTPROTO=static |
| + | ONBOOT=yes |
| + | IPADDR=127.0.0.1 |
| + | NETMASK=255.255.255.255 |
| + | BROADCAST=0.0.0.0 |
| + | IPV6INIT="yes" |
| + | |
| + | # cat /etc/sysconfig/network-scripts/ifcfg-venet0:0 |
| + | DEVICE=venet0:0 |
| + | ONBOOT=yes |
| + | IPADDR=192.168.22.107 |
| + | NETMASK=255.255.255.255 |
| + | |
| + | ifdown venet0 && ifup venet0 |
| + | ifdown venet0:0 && ifup venet0:0 |
| + | </pre> |
| + | |
| Now install the missing packages: | | Now install the missing packages: |
| yum install mlocate xz xz-libs \ | | yum install mlocate xz xz-libs \ |
Line 303: |
Line 326: |
| mkbootdisk.i386 0:1.5.3-2.1 mkinitrd.i386 0:5.1.19.6-79.el5 | | mkbootdisk.i386 0:1.5.3-2.1 mkinitrd.i386 0:5.1.19.6-79.el5 |
| </pre> | | </pre> |
| + | |
| + | == Remove needless services == |
| + | Ref: http://wiki.openvz.org/Physical_to_container |
| + | rpm --nodeps -e acpid auditd kudzu netplugd microcode_ctl lvm2_monitor irqbalance ntpd lm_sensors |
| + | If it complains with some being not installed like '''auditd netplugd lvm2_monitor ntpd''', then |
| + | rpm --nodeps -e acpid kudzu microcode_ctl irqbalance lm_sensors |
| + | |
| + | == Current Status == |
| + | * Networking and sshd works |
| + | * Pinging outside works |
| + | * yum update works |
| + | * '''venet0''' and '''venet0:0''' not recognised inside SMEServer |
| + | ** Try to take a look at /etc/udev/rules.d/70-persisten-net.rules. Specifically the MAC address [RequestedDeletion ] |
| + | * login as '''root''' and type '''console''' and enter the configuration menu |
| + | * Can test internet access |
| + | * elinks does not browse server-manager |
| + | * configuration of server '''fails''' since no network card is recognised as it relies on '''udev''' |
| + | * devnodes '''/dev/tun''' is available in the container |
| + | |
| + | [[Category: Howto]] [[Category: Virtualisation]] |