Last active
August 29, 2015 14:16
-
-
Save kleinron/7ad344472a30d8c2d6ed to your computer and use it in GitHub Desktop.
Linux goodies for developers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# silver searcher | |
sudo apt-get install -y silversearcher-ag | |
# rabbitvcs | |
sudo add-apt-repository -y ppa:rabbitvcs/ppa | |
sudo apt-get update | |
sudo apt-get install -y rabbitvcs-nautilus3 rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit | |
# couchbase | |
sudo apt-get install -y libssl0.9.8 | |
wget http://packages.couchbase.com/releases/2.2.0/couchbase-server-community_2.2.0_x86_64.deb | |
sudo dpkg -i couchbase-server-community_2.2.0_x86_64.deb | |
# open http://127.0.0.1:8091/ and configure it | |
#memcached | |
sudo apt-get install -y libevent-dev | |
wget http://www.memcached.org/files/memcached-1.4.21.tar.gz | |
tar -zxvf memcached-1.4.21.tar.gz | |
pushd memcached-1.4.21 | |
./configure && make && make test && sudo make install | |
popd | |
# mongodb 2.4.13 | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list | |
sudo apt-get update | |
sudo apt-get install mongodb-10gen=2.4.13 | |
# robomongo | |
wget http://robomongo.org/files/linux/robomongo-0.8.3-x86_64.deb | |
sudo dpkg -i robomongo-0.8.3-x86_64.deb | |
# apache activemq | |
wget http://apache.spd.co.il/activemq/5.11.1/apache-activemq-5.11.1-bin.tar.gz | |
tar zxvf apache-activemq-5.11.1-bin.tar.gz | |
sudo mv ./apache-activemq-5.11.1/ /etc/apache-activemq | |
sudo chmod +x /etc/apache-activemq/bin/activemq | |
sudo ln -sf /etc/apache-activemq/bin/activemq /etc/init.d/ | |
# now you can start the activemq as a service like so: | |
# service activemq start | |
# for more information about starting as a service (daemon), see the following links: | |
# http://www.jmkg.co.uk/2010/08/31/installing-activemq-on-ubuntu/ | |
# http://activemq.apache.org/unix-service.html | |
# http://activemq.apache.org/getting-started.html#GettingStarted-StartingActiveMQ | |
# http://stackoverflow.com/questions/11231640/activemq-will-not-start-on-my-ubuntu-vm | |
# apache tomcat 7.0.56 | |
wget http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.56/bin/apache-tomcat-7.0.56.tar.gz | |
tar zxvf apache-tomcat-7.0.56.tar.gz | |
sudo mv apache-tomcat-7.0.56 /etc/tomcat | |
echo 'export CATALINA_HOME="/etc/tomcat"' >> ~/.bashrc | |
source ~/.bashrc | |
sudo apt-get install -y libcap-dev | |
pushd $CATALINA_HOME/bin | |
tar xvfz commons-daemon-native.tar.gz | |
cd commons-daemon-1.0.*-native-src/unix | |
./configure | |
make | |
cp jsvc ../.. | |
popd | |
# to start tomcat: | |
# $CATALINA_HOME/bin/startup.sh | |
# to stop tomcat: | |
# $CATALINA_HOME/bin/shutdown.sh | |
# nodejs | |
sudo apt-get install -y nodejs npm | |
sudo npm install grunt -g | |
sudo npm install grunt-cli -g | |
# ant | |
sudo apt-get install -y ant | |
echo 'export ANT_HOME="/usr/share/ant"' >> ~/.bashrc | |
echo 'export PATH="ANT_HOME/bin:$PATH"' >> ~/.bashrc | |
source ~/.bashrc | |
# maven | |
sudo apt-get install -y mvn | |
echo 'export M2_HOME="/usr/share/maven"' >> ~/.bashrc | |
echo 'export PATH="M2_HOME/bin:$PATH"' >> ~/.bashrc | |
source ~/.bashrc | |
# ruby | |
sudo apt-get install -y ruby-full | |
# sass | |
sudo su -c "gem install sass" | |
# mount for our NAS | |
sudo apt-get install -y cifs-utils | |
sudo mkdir -p /mnt/lspub | |
# run, but you need to provide the password | |
# mount.cifs -o user=ron //nas1/public /mnt/lspub | |
# another solution is pam_mount, but it takes a lot of effort to config: | |
# http://buechse.de/HOWTO/samba_pam_mount_sshd/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment