<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ls /home/stefano/stuff</title>
	<atom:link href="https://stefano.salvatori.cl/blog/feed/" rel="self" type="application/rss+xml" />
	<link>https://stefano.salvatori.cl/blog</link>
	<description></description>
	<lastBuildDate>Mon, 20 Jan 2020 09:02:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">86163883</site>	<item>
		<title>ssh connection using ssh proxy</title>
		<link>https://stefano.salvatori.cl/blog/2020/01/20/ssh-connection-using-ssh-proxy/</link>
					<comments>https://stefano.salvatori.cl/blog/2020/01/20/ssh-connection-using-ssh-proxy/#comments</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Mon, 20 Jan 2020 09:02:31 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=641</guid>

					<description><![CDATA[CREATE PROXY ssh -D 9000 -q -C -N -f bridge_host.domain.tld SETUP SSH (add this in ~/.ssh/config) Host target.host.domain.tld ProxyCommand=nc -X 5 -x localhost:9000 %h %p CONNTECT TO SSH HOST target.host.domain.tld ssh -l user target.host.domain.tld]]></description>
										<content:encoded><![CDATA[
<p><strong>CREATE PROXY</strong></p>



<pre class="wp-block-preformatted">ssh -D 9000 -q -C -N -f bridge_host.domain.tld</pre>



<p><strong>SETUP SSH</strong> (add this in ~/.ssh/config)</p>



<pre class="wp-block-preformatted">Host target.host.domain.tld<br>     ProxyCommand=nc -X 5 -x  localhost:9000 %h %p</pre>



<p><strong>CONNTECT TO SSH HOST </strong>target.host.domain.tld</p>



<pre class="wp-block-preformatted">ssh -l user target.host.domain.tld</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2020/01/20/ssh-connection-using-ssh-proxy/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">641</post-id>	</item>
		<item>
		<title>DOCKER &#8211; Get published port for a service</title>
		<link>https://stefano.salvatori.cl/blog/2018/08/27/docker-get-published-port-for-a-service/</link>
					<comments>https://stefano.salvatori.cl/blog/2018/08/27/docker-get-published-port-for-a-service/#respond</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Mon, 27 Aug 2018 10:52:31 +0000</pubDate>
				<category><![CDATA[docker]]></category>
		<category><![CDATA[tips]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=630</guid>

					<description><![CDATA[If you want/need to get the given Published Port for a given target port in a docker service you can use: docker service inspect SERVICE_NAME --format='{{range .Endpoint.Ports}}{{if eq .TargetPort 8080}}{{.PublishedPort}}{{end}}{{end}}']]></description>
										<content:encoded><![CDATA[<p>If you want/need to get the given <em>Published Port</em> for a given target port in a docker service you can use:</p>
<pre lang="bash">docker service inspect <strong>SERVICE_NAME</strong> --format='{{range .Endpoint.Ports}}{{if eq .TargetPort 8080}}{{.PublishedPort}}{{end}}{{end}}'
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2018/08/27/docker-get-published-port-for-a-service/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">630</post-id>	</item>
		<item>
		<title>Sync git repositories</title>
		<link>https://stefano.salvatori.cl/blog/2018/06/28/sync-git-repositories/</link>
					<comments>https://stefano.salvatori.cl/blog/2018/06/28/sync-git-repositories/#respond</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Thu, 28 Jun 2018 07:56:38 +0000</pubDate>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[git]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=622</guid>

					<description><![CDATA[Sometimes I need/have to sync a private repository with a public one, so this is what I usuallyÂ  do. Add a new remote git remote add github https://github.com/elastic/ansible-elasticsearch.git Pull the new commits from master git pull github master Push new commits to origin git push origin master Push new tags git push --tags origin]]></description>
										<content:encoded><![CDATA[<p>Sometimes I need/have to sync a private repository with a public one, so this is what I usuallyÂ  do.</p>
<p><strong>Add a new remote</strong></p>
<pre lang="bash">git remote add github https://github.com/elastic/ansible-elasticsearch.git</pre>
<p><strong>Pull the new commits from master</strong></p>
<pre lang="bash">git pull github master</pre>
<p><strong>Push new commits to origin</strong></p>
<pre lang="bash">git push origin master</pre>
<p><strong>Push new tags</strong></p>
<pre lang="bash">git push --tags origin</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2018/06/28/sync-git-repositories/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">622</post-id>	</item>
		<item>
		<title>Keep your python packages updated with pip-upgrade</title>
		<link>https://stefano.salvatori.cl/blog/2018/02/18/keep-your-python-packages-updated-with-pip-upgrade/</link>
					<comments>https://stefano.salvatori.cl/blog/2018/02/18/keep-your-python-packages-updated-with-pip-upgrade/#comments</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Sun, 18 Feb 2018 06:47:41 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[pip]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tips]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=616</guid>

					<description><![CDATA[If you want/need to keep your python packages updated and you are using pip requirements you can use pip-upgrader to check the latest version of all your dependencies and upgrade them if needed it and don&#8217;t forget to use virtual environments Happy Coding!]]></description>
										<content:encoded><![CDATA[<p>If you want/need to keep your python packages updated and you are using <a href="https://pip.pypa.io/en/stable/user_guide/#requirements-files">pip requirements</a> you can use <a href="https://github.com/simion/pip-upgrader">pip-upgrader</a> to check the latest version of all your dependencies and upgrade them if needed it and don&#8217;t forget to use <a href="http://docs.python-guide.org/en/latest/dev/virtualenvs/">virtual environments</a></p>
<p>Happy Coding!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2018/02/18/keep-your-python-packages-updated-with-pip-upgrade/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">616</post-id>	</item>
		<item>
		<title>How to fix open_stackdumpfile: Dumping stack trace to less.exe.stackdump (git+cygwin)</title>
		<link>https://stefano.salvatori.cl/blog/2017/12/08/how-to-fix-open_stackdumpfile-dumping-stack-trace-to-less-exe-stackdump-gitcygwin/</link>
					<comments>https://stefano.salvatori.cl/blog/2017/12/08/how-to-fix-open_stackdumpfile-dumping-stack-trace-to-less-exe-stackdump-gitcygwin/#comments</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 09:38:17 +0000</pubDate>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=610</guid>

					<description><![CDATA[At work I&#8217;m using git [git version 2.15.0.windows.1]Â + cgywinÂ , some git commands like diff or log throw an exception and I got this message on the consoleÂ [main] cygwin_exception::open_stackdumpfile: Dumping stack trace to less.exe.stackdump To fix this error you have to change the value of $TERM to xterm, previously was screen (collateral damage? I don&#8217;t know [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>At work I&#8217;m using git [<strong>git version 2.15.0.windows.1</strong>]Â + <a href="https://www.cygwin.com/">cgywin</a>Â , some git commands like <em>diff</em> or <em>log</em> throw an exception and I got this message on the consoleÂ <strong>[main] cygwin_exception::open_stackdumpfile: Dumping stack </strong><strong>trace to less.exe.stackdump</strong></p>
<p>To fix this error you have to change the value of $TERM to xterm, previously was screen (collateral damage? I don&#8217;t know yet xD)</p>
<p><code lang="bash">export TERM=xterm</code></p>
<p><a href="https://conemu.github.io/en/GitForWindows.html">https://conemu.github.io/en/GitForWindows.html</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2017/12/08/how-to-fix-open_stackdumpfile-dumping-stack-trace-to-less-exe-stackdump-gitcygwin/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">610</post-id>	</item>
		<item>
		<title>golang tips</title>
		<link>https://stefano.salvatori.cl/blog/2017/11/02/golang-tips/</link>
					<comments>https://stefano.salvatori.cl/blog/2017/11/02/golang-tips/#respond</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Thu, 02 Nov 2017 12:52:07 +0000</pubDate>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[programaciÃ³n]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[golang]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=606</guid>

					<description><![CDATA[To install all Go project dependencies at once. go get ./... To run all the unit-test at once go test ./...]]></description>
										<content:encoded><![CDATA[<p>To install all Go project dependencies at once.</p>
<pre lang="bash">go get ./...</pre>
<p>To run all the unit-test at once</p>
<pre lang="bash">go test ./...</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2017/11/02/golang-tips/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">606</post-id>	</item>
		<item>
		<title>Problems installing gem on OS X El Capitan 10.11.3</title>
		<link>https://stefano.salvatori.cl/blog/2016/03/06/problems-installing-gem-on-os-x-el-capitan-10-11-3/</link>
					<comments>https://stefano.salvatori.cl/blog/2016/03/06/problems-installing-gem-on-os-x-el-capitan-10-11-3/#respond</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Sun, 06 Mar 2016 13:13:05 +0000</pubDate>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[ruby]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=585</guid>

					<description><![CDATA[I was getting this error ERROR: While executing gem &#8230; (Errno::EPERM) trying to install a gem on OS X El Capitan (10.11.3) even with sudo before. I found a solution changing my GEM paths. I&#8217;m using zsh so I had to add two lines to my .zshrc export GEM_HOME=~/.gems export PATH=$PATH:~/.gems/bin Reference]]></description>
										<content:encoded><![CDATA[<p>I was getting this error <strong>ERROR: While executing gem &#8230; (Errno::EPERM</strong>) trying to install a gem on OS X El Capitan (10.11.3) even with sudo before. I found a solution changing my GEM paths. I&#8217;m using zsh so I had to add two lines to my <strong>.zshrc</strong></p>
<pre lang="bash">export GEM_HOME=~/.gems
export PATH=$PATH:~/.gems/bin
</pre>
<p><a href="https://github.com/CocoaPods/CocoaPods/issues/3680">Reference</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2016/03/06/problems-installing-gem-on-os-x-el-capitan-10-11-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">585</post-id>	</item>
		<item>
		<title>Configuraciones marathon (mesos scheduler) parte I</title>
		<link>https://stefano.salvatori.cl/blog/2016/02/22/configuraciones-marathon-mesos-scheduler-parte-i/</link>
					<comments>https://stefano.salvatori.cl/blog/2016/02/22/configuraciones-marathon-mesos-scheduler-parte-i/#respond</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Mon, 22 Feb 2016 17:43:56 +0000</pubDate>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mesos]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[marathon]]></category>
		<category><![CDATA[setup]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=583</guid>

					<description><![CDATA[DespuÃ©s de estar un tiempo trabajando en la implementaciÃ³n de Apache Mesos y Marathon como scheduler algunos tipsÂ  que he aprendido en el camino. La configuraciÃ³n de las variables de entorno cuando utilizamos los paquetes generados por Mesoshere se debe agregar en el archivo /etc/sysconfig/marathonÂ  Cuando tenemos mÃ¡s de una ip en nuestro nodo de [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>DespuÃ©s de estar un tiempo trabajando en la implementaciÃ³n de <a href="http://mesos.apache.org/">Apache Mesos</a> y <a href="https://mesosphere.github.io/marathon/">Marathon</a> como scheduler algunos tipsÂ  que he aprendido en el camino.</p>
<ul>
<li>La configuraciÃ³n de las variables de entorno cuando utilizamos los paquetes generados por <a href="https://mesosphere.com/">Mesoshere</a> se debe agregar en el archivo <strong>/etc/sysconfig/marathonÂ </strong></li>
<li>Cuando tenemos mÃ¡s de una ip en nuestro nodo de marathon y queremos forzar para que las conexiones vayan utilizando esa red debemos agregar la variable <em>LIBPROCESS_IP</em></li>
<li>Marathon utiliza un puerto para comunicarse con el mesos-master, este puerto es aleatorio pero se puede forzar utilizando <em>LIBPROCESS_PORTÂ Â </em><a href="https://groups.google.com/forum/#!topic/marathon-framework/kgYpb1hd4Vg">mÃ¡s info</a></li>
<li>La configuraciÃ³n de Marathon (usando los paquetes de mesosphere) se realiza mediante la creaciÃ³nd de archivos en el path /etc/marathon/conf , cuando necesitemos agregar un parÃ¡metro que no tiene valor (por ejemplo &#8211;disable_http) el archivo debe comenzar con un &#8216;?&#8217; (<a href="https://groups.google.com/forum/#!topic/marathon-framework/kgYpb1hd4Vg">ver cÃ³digo en github</a>)</li>
</ul>
<p>Eso por ahora</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2016/02/22/configuraciones-marathon-mesos-scheduler-parte-i/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">583</post-id>	</item>
		<item>
		<title>Apache MESOS Centos 6 (parte III)</title>
		<link>https://stefano.salvatori.cl/blog/2014/07/01/apache-mesos-centos-6-parte-iii/</link>
					<comments>https://stefano.salvatori.cl/blog/2014/07/01/apache-mesos-centos-6-parte-iii/#respond</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Tue, 01 Jul 2014 12:36:10 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=557</guid>

					<description><![CDATA[En esta tercera parte de Apache MESOS &#38; 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 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>En esta tercera parte de Apache MESOS &amp; Centos 6 estÃ¡ enfocada en posibilitar el uso de linux containers en mesos utilizando el framework marathon y dockers.</p>
<p>Primero debemos instalar python2.7 para poder instalar luego <a title="Deimos" href="https://github.com/mesosphere/deimos">deimos</a>.</p>
<p>Primero debemos instalar algunas dependencias</p>
<pre lang="bash">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
</pre>
<pre lang="bash">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
</pre>
<p>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 <a title="http://elrepo.org/" href="http://elrepo.org/">elrepo</a></p>
<pre lang="bash">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
</pre>
<p>AdemÃ¡s debemos agregar (<em>cgroup_enable=memory swapaccount=1 selinux=0</em>) en </p>
<blockquote><p>/boot/grub/menu.lst</p></blockquote>
<pre lang="bash">
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
</pre>
<p>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.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2014/07/01/apache-mesos-centos-6-parte-iii/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">557</post-id>	</item>
		<item>
		<title>Apache MESOS Centos 6 (parte II)</title>
		<link>https://stefano.salvatori.cl/blog/2014/06/30/apache-mesos-centos-6-parte-ii/</link>
					<comments>https://stefano.salvatori.cl/blog/2014/06/30/apache-mesos-centos-6-parte-ii/#respond</comments>
		
		<dc:creator><![CDATA[stefano]]></dc:creator>
		<pubDate>Mon, 30 Jun 2014 14:50:48 +0000</pubDate>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mesos]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[apache mesos]]></category>
		<category><![CDATA[how-to]]></category>
		<guid isPermaLink="false">http://stefano.salvatori.cl/blog/?p=549</guid>

					<description><![CDATA[Para continuar con el tutorial de Apache Mesos en Centos 6. En el ejemplo utilizaremos 2 nodos slave contectados a un master, en el cual ademÃ¡s esta corriendo zookeeper. hostname &#38; ips de los nodos cat /etc/hosts [root@centos00 ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 localhost.localdomain localhost 192.168.33.100 centos00 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Para continuar con el tutorial de <a title="Apache MESOS Centos 6 (parte I)" href="https://stefano.salvatori.cl/blog/2014/06/28/apache-mesos-centos-6-parte-i/" target="_blank">Apache Mesos en Centos 6</a>. En el ejemplo utilizaremos 2 nodos slave contectados a un master, en el cual ademÃ¡s esta corriendo <a title="Apache Zookeeper" href="http://zookeeper.apache.org/" target="_blank">zookeeper</a>.</p>
<p><strong>hostname &amp; ips de los nodos</strong></p>
<pre lang="bash">cat /etc/hosts
[root@centos00 ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
localhost.localdomain localhost
192.168.33.100 centos00
192.168.33.101 centos01
192.168.33.102 centos02
</pre>
<p><strong>runÂ mesos-master</strong></p>
<pre lang="bash">cdÂ mesos-0.19.0
cd build
./bin/mesos-master.sh --ip=192.168.33.100 --work_dir=/tmp/mesos --log_dir=/opt/mesos/log --zk=zk://localhost:2181/mesos --quorum=1 --cluster=TEST
</pre>
<p>Ahora si ingresan vÃ­a web a <em>http://192.168.33.100:5050</em>, verÃ¡n el administrador de mesos donde no aparecen slaves o frameworks.</p>
<p><strong>run mesos-slave</strong><br />
Los nodos que funcionarÃ¡n como slaves deben tener instalado mesos, proceso que fue presentado anteriormente.</p>
<pre lang="bash">cd mesos-0.19.0
cd build
./bin/mesos-slave.sh --master=zk://192.168.33.100:2181/mesos --ip=192.168.33.101
</pre>
<p>Ahora si ingresan a <em>http://192.168.33.100:5050</em> verÃ¡n que aparecen dos slaves listos para ser utilizados, el siguiente paso es instalar el <a title="https://github.com/mesosphere/marathon" href="https://github.com/mesosphere/marathon" target="_blank">framework marathon</a></p>
<p><strong>instalar &amp; ejecutar marathon</strong></p>
<pre lang="bash">curl -O http://downloads.mesosphere.io/marathon/marathon-0.6.0/marathon-0.6.0.tgz
tar xvfz marathon-0.6.0.tgz
cd marathon-0.6.0
./bin/start --master zk://192.168.33.100:2181/mesos --zk zk://192.168.33.100:2181/marathon
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://stefano.salvatori.cl/blog/2014/06/30/apache-mesos-centos-6-parte-ii/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">549</post-id>	</item>
	</channel>
</rss>
