En esta tercera parte de Apache MESOS & Centos 6 está enfocada en posibilitar el uso de linux containers en mesos utilizando el framework marathon y dockers.
Primero debemos instalar python2.7 para poder instalar luego deimos.
Primero debemos instalar algunas dependencias
yum groupinstall "Development tools"
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
yum install -y bzip2-devel
wget https://www.python.org/ftp/python/2.7.7/Python-2.7.7.tar.xz
xz -d Python-2.7.7.tar.xz
tar -xvf Python-2.7.7.tar
cd Python-2.7.7
./configure --prefix=/usr/local
make
make altinstall
export PATH="/usr/local/bin:$PATH"
curl -O http://python-distribute.org/distribute_setup.py
python2.7 distribute_setup.py
easy_install-2.7 pip
pip2.7 install deimos
Cuando revisamos el log de docker podemos encontrar un mensaje diciendo que la versión de docker es inestable debido a la versión del kernel que estamos usando, a continuación actualizaremos el kernel a la última versión que esta disponible en el repositorio elrepo
yum install http://www.elrepo.org/elrepo-release-6-5.el6.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-ml kernel-ml-devel kernel-ml-headers
Además debemos agregar (cgroup_enable=memory swapaccount=1 selinux=0) en
/boot/grub/menu.lst
title CentOS (3.15.3-1.el6.elrepo.x86_64)
root (hd0,0)
kernel /vmlinuz-3.15.3-1.el6.elrepo.x86_64 ro root=UUID=03b47cb3-1cad-4bad-9fbf-6baecb8c0e9b console=hvc0 crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us cgroup_enable=memory swapaccount=1 selinux=0
initrd /initramfs-3.15.3-1.el6.elrepo.x86_64.img
Finalmente una vez que se reinicie la máquina estaremos utilizando la version 3.15.x del kernel. La próxima guía mostrará como enviar un proceso al kernel distribuido mesos vía marathon utilizando containers dockers.
I guess such articles must be published and more due to modern requirements of
the Millenials and the current situation. I read them to find
some fresh information that could correspond to my needs, such information I discovered on http://www.shinobi.jp/etc/goto.html?https://makeup-reviews.com/treatments-face/cauterets-elixir-matifiant-anti-imperfections/. Each of us
has a proper understanding of the information given to
the public, therefore I truly enjoyed the report and expected one
to provide us with more things like this one.