Share your knowledge
Saturday, April 30, 2016
Tuesday, April 26, 2016
Wednesday, March 23, 2016
How to install Ruby 2.1.4 on Ubuntu 14.04
First of all, install the prerequisite libraries:
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential
libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3
libxml2-dev libxslt1-dev libcurl4-openssl-dev
python-software-properties libffi-dev
Then install rbenv, which is used to install Ruby:
cd
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo ‘export PATH=”$HOME/.rbenv/bin:$PATH”‘ >> ~/.bashrc
echo ‘eval “$(rbenv init -)”‘ >> ~/.bashrc
exec $SHELL
git clone git://github.com/sstephenson/ruby-build.git
~/.rbenv/plugins/ruby-build
echo ‘export PATH=”$HOME/.rbenv/plugins/ruby-build/bin:$PATH”‘ >> ~/.bashrc
exec $SHELL
rbenv install 2.2.0
rbenv global 2.2.0
ruby -v
Then (optional) tell Rubygems to not install local documentation:
echo “gem: –no-ri –no-rdoc” > ~/.gemrc
Credits: http://ift.tt/1wFwCwc
*Warning!!!* There are issues with Gnome-Shell. See comment below.
Ameerwww.linuxmails.com | khan@azmuna.comRiyadh,KSA
from WordPress http://ift.tt/1Ul6CHH
Monday, March 7, 2016
Area2 Download utility usage examples
Sourc: Area2 Website
Command-line scares you off? No, aria2 is really easy to use!!
Download from WEB:
1
$ aria2c http://ift.tt/1NcPxcl
Download from 2 sources:
1
$ aria2c http://a/f.iso ftp://b/f.iso
Download using 2 connections per host:
1
$ aria2c -x2 http://a/f.iso
BitTorrent:
1
$ aria2c http://ift.tt/1NcPygo
BitTorrent Magnet URI:
1
$ aria2c ‘magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C’
Metalink:
1
$ aria2c http://ift.tt/1PgmA2p
Download URIs found in text file:
1
$ aria2c -i uris.txt
Ameerwww.linuxmails.com | khan@azmuna.comRiyadh,KSA
from WordPress http://ift.tt/1TZcMfQ
No-IP on XBMC
Install noip
From: http://ift.tt/11zoehD
sudo apt-get install make gcc
mkdir /home/pi/noip
cd /home/pi/noip
wget http://ift.tt/1cFopRg
tar vzxf noip-duc-linux.tar.gz
cd noip-2.1.9-1
sudo make
sudo make install
noip can be started with:
sudo /usr/local/bin/noip2
To make noip load on boot, edit the crontab: sudo crontab -e, adding:
@reboot sudo /usr/local/bin/noip2
Source : github
Ameerwww.linuxmails.com | khan@azmuna.comRiyadh,KSA
from WordPress http://ift.tt/1UMCaF3
Friday, February 26, 2016
How to change time zone
Using the Command Line (terminal)
Using the command line, you can use dpkg-reconfigure tzdata.
1.
Open a terminal window by going to Applications>Accessories>Terminal
2.
dpkg-reconfigure tzdata
3. Follow the directions in the terminal.
Using the Command Line (unattended)
Find out the long description for the timezone you want to configure. Save
this name to /etc/timezone and run
sudo dpkg-reconfigure –frontend noninteractive tzdata:
$ echo “Australia/Adelaide” | sudo tee
/etc/timezoneAustralia/Adelaide$ sudo dpkg-reconfigure –frontend
noninteractive tzdataCurrent default time zone:
‘Australia/Adelaide’Local time is now: Sat May 8 21:19:24 CST
2010.Universal Time is now: Sat May 8 11:49:24 UTC 2010.
This can be scripted if required.
Ameerwww.linuxmails.com | khan@azmuna.comRiyadh,KSA
from WordPress http://ift.tt/1XPL83R