start new:
tmux
start new with session name:
tmux new -s myname
RPM and FPM | |
Install rpm-build via yum (from CentOS Updates and Base) | |
Install fpm via rubygems (requires json gem) | |
Creating an RPM from the apache-tomcat-7.0.25 directory and installing to /opt/tomcat/${Packagestuff} | |
fpm -s dir -t rpm -n tomcat -v 7.0.25 --prefix /opt/tomcat -C apache-tomcat-7.0.25 | |
Creating a Puppet Module | |
fpm -s dir -t puppet -n tomcat -v 7.0.25 -C apache-tomcat-7.0.25 |
$ java -jar jenkins-cli.jar -s http://localhost:9000 install-plugin findbugs | |
findbugs is neither a valid file, URL, nor a plugin artifact name in the update center | |
No update center data is retrieved yet from: http://updates.jenkins-ci.org/update-center.json | |
findbugs looks like a short plugin name. Did you mean 'null'? | |
# Specifying a full URL works! | |
$ java -jar jenkins-cli.jar -s http://localhost:9020 install-plugin http://updates.jenkins-ci.org/download/plugins/AdaptivePlugin/0.1/AdaptivePlugin.hpi | |
# Get the update center ourself |
rm node-v0.4.5.tar.gz | |
rm -rf node-v0.4.5 | |
apt-get -y install wget | |
wget http://nodejs.org/dist/node-v0.4.5.tar.gz | |
tar -xzvf node-v0.4.5.tar.gz | |
cd node-v0.4.5 | |
./configure --prefix=/usr | |
rm -rf /tmp/node-v0.4.5.$$ | |
mkdir /tmp/node-v0.4.5.$$ | |
make install DESTDIR=/tmp/node-v0.4.5.$$ |