Arch linux system upgrade
sudo pacman-mirrors -f5 # to update mirror list
sudo pacman -Syyu # system upgrade
Or oneliner
sudo pacman-mirrors -f5 && sudo pacman -Syyu
Related cards:
Reset RabbitMQ (Manjaro linux)
To reset RabbitMQ Mnesia database ensure that RabbitMQ process is running on your system. Then stop the running application:
sudo rabbitmqctl stop_app
After that run the command:
sudo rabbitmqctl reset
And then start the app:
`...
Setting up RubyOnRails environment on Ubuntu 14.04
This tutorial is about setting up environment for RubyOnRails on Ubuntu 14.04.
First of all, update & upgrade your system:
sudo apt-get update
^
sudo apt-get upgrade
^
Install git
and curl
:
sudo apt-get install curl
^
sudo...
Ubuntu 12.04 TeamCity build agent installation
Download build agent archive from your TeamCity server:
wget http://your_teamcity.server.com:8111/update/buildAgent.zip
Unzip it in separate directory:
mkdir buildAgent
^
mv buildAgent.zip buildAgent
^
cd buildAgent
^
un...
Ubuntu 12.04 phantomjs installation
Visit PhantomJS site, go to download page and copy link address for Linux, in our case this is https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2
Then go to console and run following commands:
sudo apt-get install...
Ubuntu 12.04 Java install
First install python-software-properties
:
sudo apt-get install python-software-properties
Next, remove openjdk
package if installed:
sudo apt-get remove openjdk*
Now, add java repository by webupd8team:
sudo add-apt-reposito...
Setting up Javascript environment with NVM on Ubuntu 14.04
NVM provides you more convenient way to manage and set up your Javascript(Node.js) environment.
First install NVM, note git
must be installed on your sistem:
^
git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git check...