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

Monday, February 1, 2016

When I send a message she falls to the Queue and will awaken the following error Fail-info: Domain lookup error – axigen

When I send a message she falls to the Queue and will awaken the following
error

Fail-info: Domain lookup error
Status:PROCESSED – RELAY
MBox:INBOX

*Solution*

Please configure a valid DNS server via Webadmin -> Services -> DNR ->
Nameservers. this is required for Axigen in order to resolve domain names.

Ameerwww.linuxmails.com | khan@azmuna.comRiyadh,KSA



from WordPress http://ift.tt/1PQc1Vq

Friday, January 22, 2016

How to launch PowerShell script from the OS command line?

Use the command below

PowerShell.exe -File c:\users\azad\myrequest.ps1

Ameerwww.linuxmails.com | khan@azmuna.comRiyadh,KSA



from WordPress http://ift.tt/1RZ75hB

Wednesday, January 6, 2016

Microsoft WARNING — ‘Use Windows 7 at Your Own Risk’

Someone is threatening Windows 7 users with a misleading warning.

Guess who? Microsoft itself…

Microsoft has just issued a clear warning saying Windows 7 users should remain on the aging operating system "at your own risk, at your own peril."

But why particularly Windows 7 Users?

Since Windows 7 runs on 55 percent of all the computers on the planet, Microsoft is worried that its goal to reach 1 Billion Windows 10 installations by 2017 could be harder.

During a recent interview with the Windows Weekly, Microsoft chief marketing officer Chris Capossela warned about the risks of using Windows 7 and urged users that it's time to switch to the new Windows 10 operating system instead.

Capossela also stressed that Windows 7 is apparently less secure than Windows 10, so it is "so incredibly important to try to end the fragmentation of the Windows install base" as well as to get them to a "safer place."

Here the so-called safer place Microsoft means is its newest operating system Windows 10.

Microsoft is Worried For us. Really?


Here’s what Capossela worried for Windows 7 Users:
"We do worry when people are running an operating system that’s 10 years old that the next printer they buy isn’t going to work well, or they buy a new game, they buy Fallout 4, a very popular game, and it doesn’t work on a bunch of older machines.

And so, as we are pushing our ISV [Independent Software Vendor] and hardware partners to build great new stuff that takes advantage of Windows 10 that obviously makes the old stuff really bad and not to mention viruses and security problems."
Do you notice any problem with Capossela’s statement? I did, the warning is entirely baseless.

There is nothing wrong with the security of Windows 7 as the operating system will be supported by the company until 2020, neither Windows 7 is less compatible with new hardware and software.

In fact, Windows 7 has a greater market share, which means the operating system is developers’ first choice over Windows 10 as well as the OS has greater compatibility with legacy programs and peripherals.

Fallout 4 not running on Windows 7 computers is also not true, as the blockbuster video game is fully compatible with Windows 7 and Windows 8 machines. Also, in case, the game do not run, no one will be installing Windows 10 to fix it, rather it will be upgrading your components.

Oh! Come On Microsoft, We Know...


The only reason behind this statement is Microsoft’s target of getting one Billion devices running Windows 10 by 2017 or mid-2018, and the motivation is quite clear with the following statement by Capossela:
"We think every machine that is capable of running Windows 10 we should be doing everything we possibly can to get people to move to Windows 10…We are going to try to find that right balance, but we just know there're many people out there who constantly kick the can down the street without a little bit more of a, frankly, push.

And so, there’s no doubt with a base as big as ours, it is hard to move anyone to a new model without angering some people. We don’t want to anger anybody, but we do feel a responsibility to get people to a much better place, and Windows 10 is a much better place than Windows 7. We will always give you a way out, but we’re trying to find the right balance."
This isn’t Microsoft’s first trick to force users to install its newest operating system. Microsoft previously tried a number of times to push Windows 10 more aggressively on systems running Windows 7 and 8.1.

Recently Microsoft announced its first milestone, noting Windows 10 is now officially installed on more than 200 Million devices worldwide since its launch five months ago.

Although there is nothing wrong with setting up a goal, but not respecting users choice and enforcing yours on them is completely not acceptable.

We know that technically Microsoft is giving an option to users, but by enforcing annoying pop-ups every time, removing opt-out options as well as threatening average user with baseless warnings, it appears there is no choice for users at all.

So, it should be completely our choice whether we want to switch to Windows 10 or not, or the better option is to switch on to Linux operating system.

Source : Hacker News