frankar
(Franco)
June 12, 2015, 5:06pm
1
I’m trying to install Nethserve on a Centos 6.6 container in a proxmox host.
These are the steps:
Set network on bridge (vmrb0)
ssh in proxmox host
vzctl start 103 (ct ID)
vzctl enter 103
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 <<DELIM
DEVICE=eth0
BOOTPROTO=none
DEVICE=eth0
GATEWAY=192.168.1.20
IPADDR=192.168.1.17
NETMASK=255.255.255.0
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
DELIM
/etc/init.d/network restart
yum install yum-utils
yum-complete-transaction
yum update
yum install lokkit
ln -sf /usr/share/zoneinfo/Europe/Rome /etc/localtime
yum localinstall -y http://mirror.nethserver.org/nethserver/nethserver-release-6.6.rpm
rpm --import /etc/pki/rpm-gpg/*
yum --disablerepo=* --enablerepo=nethserver-base,nethserver-updates,centos-base,centos-updates install @nethserver-iso
vim /etc/e-smith/events/actions/nethserver-base-initialize-db
commented line 86 and 95 (clock not present in /etc/sysconfig/clock)
added a line:
system("$DB configuration set TimeZone Europe/Rome");
/sbin/e-smith/signal-event system-init
and this is the log (var/log/messages)
http://pastebin.com/dYyUzuuB
any help ?
Thanks
Nas
(Artem Fedai)
June 12, 2015, 5:17pm
2
Forget ABOUT OPENVZ ! Use QEMU , coz it is trying to setup their own kernel and initram so U could not have Success !
Please Franco, can you edit your post and cut the log using pastebin? So you can paste here just the link
Thanks
I don’t have currently a proxmox to reproduce your problem maybe @giacomo or @davidep could help
davidep
(Davide Principi)
June 15, 2015, 3:10pm
5
at line 147 there’s a copy
error. Probably /etc/localtime
is a symlink. You can safely replace it with /usr/share/zoneinfo/Europe/Rome
.
at line 285 and similar /etc/hosts
fail to expand. I don’t know if it is really a problem. What are the contents of /etc/hosts
? I can’t guess what template fragment is failing here…
Anyway it seems there are no big issues. @frankar is there any other issue?
Nas
(Artem Fedai)
June 15, 2015, 5:57pm
6
Does it replace Kernel during the installation ? If Yes so it could not be installed in OpenVZ!
davidep
(Davide Principi)
June 15, 2015, 7:16pm
7
AFAIK nethserver-install
command does not update kernel packages.
alefattorini
(Alessio Fattorini)
Split this topic
June 16, 2015, 7:24am
9
alefattorini
(Alessio Fattorini)
Split this topic
June 16, 2015, 9:27am
10