#Storm Update
looks like storm has a GUI now,
sudo pip install stormssh --upgrade
storm web --port 3333| yum install http://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
| yum install cobbler cobbler-web pykickstart | |
| chkconfig cobblerd on | |
| chkconfig xinetd on | |
| service httpd restart | |
| service xinetd start | |
| service cobblerd start | |
| service cobblerd status | |
| cobbler get-loaders | |
| vim /etc/cobbler/modules.conf |
| # Install EPEL and Update on both the master and minions | |
| yum update -y | |
| yum install http://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
| # Install the salt-master | |
| yum install salt-master | |
| chkconfig salt-master on | |
| sed -i 's/#interface: 0.0.0.0/interface: 0.0.0.0/g' /etc/salt/master |
| # Hostname - Make sure the host name it set to puppet.yourdomain.com and that you replace references in this file | |
| # Install puppet & epel repos | |
| yum install -y http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-6.noarch.rpm http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
| # Download puppet-server from Puppet Labs, apache and necessary dependencies | |
| yum install -y vim-enhanced puppet-server httpd httpd-devel mod_ssl ruby-devel rubygems gcc-c++ curl-devel zlib-devel make automake openssl-devel rubygem-rack rubygem-passenger-native-libs rubygem-passenger-native rubygem-passenger rubygem-fastthread libev mod_passenger git | |
| # Start Puppet-Server | |
| /etc/init.d/puppetmaster start |
#Storm Update
looks like storm has a GUI now,
sudo pip install stormssh --upgrade
storm web --port 3333| #!/bin/bash | |
| url="yourdomain.com" | |
| path="/path/to/ghost/sitemap/sitemap.xml" | |
| date=`date +'%FT%k:%M:%S+00:00'` | |
| freq="daily" | |
| prio="0.5" | |
| rm -f $path |
Getting just the latest post;
{% for post in site.posts offset: 0 limit: 1 %}
<div class="some-style">
<a href="{{post.url}}">
<h3 class='news-title'>{{ post.title }}</h3>
<span class='news-date'>{{ post.date | date_to_string }}</span>
</a>
{{ page.excerpt }} <a href="{{post.url}}"><span class="read-more"> Read more</span></a>| sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future <COMMAND> |
| location some-location { | |
| add_header X-my-header my-header-content; | |
| } |
yum install http://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum -y install docker-io vim-enhanced
vim /etc/sysconfig/docker # Replace other_args="" with other_args="-H tcp://127.0.0.1:4243 -H unix:///var/run/docker.sock"
service docker start
chkconfig docker on
docker run -i -t -v /var/run/docker.sock:/docker.sock shipyard/deploy setup