Install LXC On CentOS
Install LXC On CentOS
Install LXC On CentOS
1 of 3
https://github.com/gem/oq-engine/wiki/Installing-LXC-on-...
DEVICE="lxcbr0"
TYPE="Bridge"
BOOTPROTO="static"
IPADDR="10.0.3.1"
NETMASK="255.255.255.0"
a) Comment or remove
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
2014/12/15 23:14
2 of 3
https://github.com/gem/oq-engine/wiki/Installing-LXC-on-...
$ sysctl p
$ lxc-ls
openquake-nightly-141020
2014/12/15 23:14
3 of 3
https://github.com/gem/oq-engine/wiki/Installing-LXC-on-...
You can also login using SSH from the host server:
$ ssh [email protected]
User: openquake
Password: openquake
Please note:
This how-to is intended for a fresh, standard installation of RHEL/CentOS 6 (and is
tested on 6.4). It may need some adjustments for customized installations.
On 5. the firewall could be already customized by the sysadmin, please be careful
when edit it. For more details please ask to your network and/or system administrator.
On 5. section b. -A POSTROUTING -o eth0 -j MASQUERADE "eth0" is the name of the
host server main interface. It can differ in your configuration (see the used interface
with ifconfig).
On 8. the --numeric-owner is mandatory.
On 10. the 8.8.8.8 DNS is the one provided by Google. Its better to use your
internal DNS, so change that IP address with the one associated to your DNS server.
For more details please ask to your network and/or system administrator.
On certain installations the rsyslogd process inside the container can eat lots of
CPU cycles. To fix it run, within the container, these commands (not required on
containers prepared by us):
service rsyslog stop
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog start
2014/12/15 23:14