Posts

Showing posts with the label Linux

Linux Mint: How to unblock wifi from hardblock and softblock

Today, my 15 month old son pressed bunch of keypad buttons very quickly before I stopping him to do his experimentation on the Linux terminal. By the way, he likes Linux terminal :-) ...... Long story short, I restarted the computer in the late evening and found my computer wifi is not working. Everything is OK but I could not turn on the wifi. Then I ran the following command in the terminal: sudo rfkill list On the terminal, I have got the following response, after executing the above command: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: yes Hard blocked means, the wifi is turned-off by the physical switch. In my Dell machine, it is the F2 key. So I turned-on. Now, I have ran the command again: sudo rfkill list On the terminal, I have got the following response, after executing the above command: 0: phy0: Wireless LAN Soft blocked: yes Hard blocked: no 5: hci0: Bluetooth Soft blocked: no Hard blocked: no To turn off the soft...

How to install Apache Activemq 5.12.1

Today, I have installed Apache Activemq 5.12.1 in my Linux Mint machine. Here is the steps: 1) Download latest activemq from the site: http://activemq.apache.org/activemq-5121-release.html 2) Extract the achieve file 3) Move the apache-activemq-5.12.1 file to /opt/ directory. It is my desire directory. You may want to move different directory. 4) Create activemq_home.sh file in /etc/profile.d/ directory and put the following lines.         #ACTIVEMQ_HOME         export ACTIVEMQ_HOME=/opt/activemq-5.12.1         export PATH=$PATH:$ACTIVEMQ_HOME/bin 5) Logout or restart the machine 6) Verify the activemq by executing the following command         sudo activemq -v 7) Run the activemq by executing the following command       sudo activemq start Yes!!! you are done.

nodejs in Linux (CentOS): compilation and installation from source

Third party dependency libs sudo yum groupinstall "Development Tools" Note: Development Tools contains various 3rd party libs to compile and build new rpm from the source. If above command does not install any lib in your machine, then you may try the following command, (In my machine, Development Tools did not install anything) . sudo yum groupinstall "Additional Development" Compilation and installation steps Download the nodejs from the official site: https://nodejs.org/en/download/ 1) Create node-4.1.2 installation directory in the /opt with proper read/write/executable permission       i.e: /opt/node-4.1.2 2) Run the following commands in the downloaded source folder of node:      2.1) sudo ./configure --prefix=/opt/nodejs-4.1.2      2.2) sudo make install Note:  You may want to add more option during configuring process. To see more options:       ./configure --help In my case, I...

How to compile and install GraphicsMagick (GM) in Linux

Today, I installed GM in my Mint machine. Here is the steps I used to compile and install GM in my Mint machine. Prerequired libraries: sudo apt-get install -y libpng-dev libjpeg-dev sudo apt-get install -y libjasper-dev sudo apt-get install -y install libtiff5-dev libfreetype6-dev Download GM source:  http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.21/GraphicsMagick-1.3.21.tar.gz/download Extract the archive file:  tar -xf GraphicsMagick-1.3.21.tar.gz Configure, complie and install: ./configure --prefix=[path to install GM] --enable-shared --enable-symbol-prefix --with-frozenpaths --with-ttf --with-jbig --with-jpeg --with-jp2 --with-png --with-tiff --with-webp --with-wmf sudo make install (su/sudo is necessary if you want to install other than home directory, i.e: /opt/) Create GM_HOME sh in the profile directory: (In Mint Linux gm_home.sh file should be in /etc/profile.d/gm_home.sh) Create gm_home.sh file by your favourite ...

KDE 4.11 (Plasma) : How to change Wallpaper

Yesterday, I installed fresh Linux Mint 16 (KDE). At first, I was confused to change the wallpaper. After few experiments, I figured-out it. In the following way, we can change desktop wallpaper of KDE 4.11: Right click on the desktop (empty space) Click "Folder Settings" "Desktop Settings - Plasma Desktop Shell" window will be opened. "View" option should be selected. Otherwise select "View" option. Select your favorite wallpaper and click "Apply" button.