Tag: Ubuntu

How to setup Cordova on Ubuntu for Android app development

Follow the belows steps to configure cordova with Android SDK on Ubuntu machine: Install Java & ANT: First, check you’ve got Java and Ant installed – you’ll need those later: sudo apt-get install default-jre sudo apt-get install default-jdk sudo apt-get install ant Install Nodejs: Run the following command to install NodeJS: sudo apt-get install nodejs …

Continue reading

Permanent link to this article: https://blog.openshell.in/2014/12/how-to-setup-cordova-on-ubuntu-for-android-app-development/

How to reload your bashrc file

How to reload your bashrc file Here’s a quick way to reload your bachrc file without having to invoke a new shell. [code] [root@user]# source ~/.bashrc or [root@user]# . ~/.bashrc [/code]

Permanent link to this article: https://blog.openshell.in/2013/01/how-to-reload-your-bashrc-file/

dpkg status database is locked by another process

This problem will arise when you accidentally kill the apt-get process or package manager not shutting down properly. So, dpkg become orphan process. To solve this problem you can either restart your computer or open up the terminal and type in the following: Code: sudo rm /var/lib/dpkg/lock Then: Code: sudo dpkg –configure -a

Permanent link to this article: https://blog.openshell.in/2012/11/dpkg-status-database-is-locked-by-another-process/

YII Primary Key error

Error: Table “user” does not have a primary key. Solution: The crud command requires primary key to be defined in your tables. If you are working with legacy tables and can’t specify primary key, you can declare it in primaryKey() method of your model class. override method primaryKey in protected/models/User.php [php] public function primaryKey() { …

Continue reading

Permanent link to this article: https://blog.openshell.in/2012/04/yii-primary-key-error/

APC extension Enable in apache

To enable APC extension on Ubuntu, Use the following command sudo apt-get install php-apc To enalbe APC extension on Windows, 1) Go to http://downloads.php.net/pierre/ 2) Download php_apc-.zip 3) Copy php_apc.dll to /ext folder 4) In your php.ini, make sure you have: extension=php_apc.dll 5) Restart your server.

Permanent link to this article: https://blog.openshell.in/2012/04/apc-extension-enable-in-apache/

Ubuntu 11.04 – Available for download April 28, 2011 onwards.

Canonical announced the release of Ubuntu a fast-growing open-source operating system on April 28, 2011 for public download. Ubuntu 11.04 stands out from its competitors as a genuine free alternative to Windows, allowing users to personalise their PC with free and paid apps in a way that’s proven hugely popular in the smartphone and tablet …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/04/ubuntu-11-04-available-for-download-april-28-2011-onwards/

Using find command in linux

Using find command in linux find is a powerful command in linux. If u understand it then u can do most thing using it. but in this post i am not going to teach the full power of  it but some basic usage. This is a simple one finding any .txt file in the home …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/using-find-command-in-linux/

UBUNTU the Best Linux Desktop Distribution

There are a lot of Linux distributions that have the primary focus of becoming the next best desktop replacement for Windows or OS X. Canonical’s UBUNTU is the great and most contentious group of distro which offers 4 kinds of desktop and special edition for laptops and Live Distros. you can download ubuntu from the …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/best-linux-desktop/