Wednesday, 18 May 2016

How to uninstall tomcat from Ubuntu

Run these commands:- 
 
$ sudo apt-get remove tomcat7
 
$ sudo apt-get remove tomcat7-admin 

Tuesday, 17 May 2016

upwork install on ubuntu

$ sudo wget https://mirror.umd.edu/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.3-2ubuntu4_i386.deb

$ dpkg -i libgcrypt11_1.5.3-2ubuntu4_i386.deb


$ sudo apt-get install gdebi-core

$ sudo dpkg -i upwork_amd64.deb 

Install Android Studio on Linux

Install Oracle Java


- remove open jdk

$ sudo apt-get purge openjdk-\*


- download jdk 1.8 from oracle website

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


sudo mkdir -p /usr/local/java


sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6



Android studio installation error:-

"Unable to run mksdcard SDK tool."


FIX IS:-

$ sudo apt-get update


For 32 bit architecture:-

$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6


For 64 bit architecture:-

$ sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 lib32stdc++6

 

Monday, 16 May 2016

Quick install LAMP on Ubuntu/Linux

Run these commands:-

sudo apt-get install apache2

sudo apt-get install mysql-server

sudo apt-get install php5 libapache2-mod-php5

sudo /etc/init.d/apache2 restart

For phpmyadmin installation:-


sudo apt-get install phpmyadmin
sudo php5enmod mcrypt

Edit apache conf file as:-

$ vim /etc/apache2/apache2.conf
and add following line in it

# phpMyAdmin Configuration
Include /etc/phpmyadmin/apache.conf


sudo service apache2 restart


Sunday, 15 May 2016

Best Open Source ERP Solutions

1. Odoo

One of the most famous open source ERP solution rich with features.

2. FutureERP

This is a new evolving ERP project by a startup called weavebytes.

You can download the source code from github:-
https://github.com/Weavebytesipl/FutureERP

It is developed using Python and Django web framework.

Saturday, 14 May 2016

Tools to install after fresh install of Linux - Ubuntu

Commonly used tools to install on your Linux development machine

sudo apt-get install git

sudo apt-get install vim-gnome

sudo apt-get install tree

sudo apt-get install gitg

# uget download manager
sudo add-apt-repository ppa:plushuang-tw/uget-stable
sudo apt update
sudo apt install uget

Friday, 13 May 2016

How to install terminator on ununtu

Run these commands

$ sudo add-apt-repository ppa:gnome-terminator
$ sudo apt-get update
$ sudo apt-get install terminator

Thursday, 12 May 2016

How to setup virtualenv for python on ubuntu

Run following commands:


   change to python 3
  $ sudo ln -s /usr/bin/python3.5 /usr/bin/python
   $ sudo apt install python3-pip

   $ sudo apt-get install python-pip

   $ sudo pip install virtualenv

   $ sudo pip install virtualenvwrapper

   $ mkdir ~/.virtualenvs

   $ echo "export WORKON_HOME=~/.virtualenvs" >> ~/.bashrc

   $ echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc

   $ echo "export PIP_VIRTUALENV_BASE=~/virtualenvs" >> ~/.bashrc

   $ source ~/.bashrc


$ mkvirtualenv myenv


If you want to get out/off your virtualenv use this command:

$ deactivate


If you want to jump back on the virtualenv we just created and installed django use this command:

$ workon myenv



And finally if you want to remove the virtualenv altogether

$ rmvirtualenv myenv

Sunday, 8 May 2016

10 Linux Tools For Everyone

1. Gnome Disk Utility

$ sudo apt-get install gnome-disk-utility
$ gnome-disks