Lxc: diferència entre les revisions

De WikiMar
Salta a la navegació Salta a la cerca
(Es crea la pàgina amb «==CentOS== ===Add EPEL repository=== http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/ ## RHEL/CentOS 7 64-Bit ## wget http://dl.fedorapro...».)
 
Cap resum de modificació
Línia 12: Línia 12:
===Install LXC===
===Install LXC===
  yum install lxc lxc-templates
  yum install lxc lxc-templates
===Other install===
yum install bridge-utils febootstrap
===Image creation===
lxc-create -n centos1 -t centos
lxc-start -n centos1
Login to Container: The root password is set in the lxc-centos template. The default is password.
===Other info===
Migrate/convert existing full CentOS 6 server to LXC container:
http://blog.a2o.si/2015/10/11/migrate-convert-existing-full-centos-6-server-to-lxc-container/
Linux, Apache, MySQL, PHP in an LXC Container:
https://zyisrad.com/linux-apache-mysql-php-in-an-lxc-container/
Pacman roseta
https://wiki.archlinux.org/index.php/Pacman/Rosetta

Revisió del 15:04, 25 feb 2016

CentOS

Add EPEL repository

http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

## RHEL/CentOS 7 64-Bit ##
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
rpm -ivh epel-release-7-5.noarch.rpm


Install LXC

yum install lxc lxc-templates

Other install

yum install bridge-utils febootstrap

Image creation

lxc-create -n centos1 -t centos
lxc-start -n centos1

Login to Container: The root password is set in the lxc-centos template. The default is password.

Other info

Migrate/convert existing full CentOS 6 server to LXC container: http://blog.a2o.si/2015/10/11/migrate-convert-existing-full-centos-6-server-to-lxc-container/

Linux, Apache, MySQL, PHP in an LXC Container: https://zyisrad.com/linux-apache-mysql-php-in-an-lxc-container/

Pacman roseta https://wiki.archlinux.org/index.php/Pacman/Rosetta