Thursday, January 23, 2014

Working on ubuntu with some usefull command

ubuntu:

ubuntu is a Linux Operating System which is freely available. It is composed of many software packages, the majority of this are free software. All the software are installed is basically developed of linux operating system. Besides this we can also installed some of windows softwares by using Wine or virtual machine. 

For installing any software in ubuntu we can use Ubuntu Software Center.
 We can also installed them using its Terminal. In terminal we can installed them by some of commands.

There are some of basic commands which are commanly used and also some of commands for installing Apache, Mysql, Phpmyadmin, Php5.

These commands are following:


for show icon on right top - sudo apt-get install sni-qt:i386
for giving permissioon - sudo chmod 777 -R /opt/lampp/htdocs
for checking its working or not - ps -ef | grep mysql
for checking service status - sudo service mysql status
for start any thing in opt -  sudo /opt/lampp/lampp start
for stop any thing in opt - sudo /opt/lampp/lampp stop
for status any thing in opt - sudo /opt/lampp/lampp status
for kill services - sudo kill -9 8787
for removing lampp server - sudo /opt/lampp/uninstall
for get updates - sudo apt-get update
for install apache2 - sudo apt-get install apache2
for install mysql server - sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
for install mysql db - sudo mysql_install_db
for install finally mysql - sudo /usr/bin/mysql_secure_installation
for install php5 - sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
for install phpmyadmin - sudo apt-get install phpmyadmin
for install jdk environment - sudo apt-get install openjdk-6-jdk


 

No comments:

Post a Comment