Development Wall

help for php, codeigniter, javascript, jquery, mysql, apache, ubuntu

Archives for the ‘Ubuntu’ Category

Useful command for ubuntu / linux part 2

By • Apr 26th, 2012 • Category: Ubuntu

Display used and free memory on the system #free Shows disk free space #df Display a tree of processes #pstree Display Calendar in command line #cal Delete all command history #history -c More Command



Install Apache, PHP, MYSQL and phpMyAdmin in Ubuntu

By • Apr 1st, 2012 • Category: Apache, MYSql, PHP, Ubuntu

I will show the command and configuration to install Apache, PHP, MYSQL and phpMyAdmin in Ubuntu 1. Installing  Apache Open your terminal and type the bellow command        #sudo apt-get install apache2 It will ask for your password, Type your ubuntu password and press  enter key, it will ask for confirmation Type y and press [...]



Some simple but useful command for ubuntu linux

By • Mar 17th, 2012 • Category: Ubuntu

I will show some basic but useful command that can be frequently used by  ubuntu users 1. To see system’s all current process or job #top 2. To see your system IP address #ifconfig 3. To reboot your system from command line #sudo reboot 4. To reboot your system from command line by force #sudo [...]



start, stop, restart and show status of MYSQL from command line in ubuntu

By • Mar 8th, 2012 • Category: MYSql, Ubuntu

In bellow article I will show how to start, stop and restart MYSQL from the command line. I will also show how to see status of MYSQL from the command line. Open the terminal in Ubuntu and run the bellow command : Stop MySQL: # sudo /etc/init.d/mysql  stop This command will stop mysql Start MySQL: [...]



copy a file in ubuntu or linux from command line

By • Mar 6th, 2012 • Category: Ubuntu

If you need to copy a file from one directory to another into linux, you need to use cp command. In bellow I will show how to use cp command to copy a file syntax: # cp    source-file-location  destination-file-location example: #cp  /var/www/myproject/copyme.php   /usr/local/backup/ 1.  here /var/www/myproject/copyme.php  is the source of the file, we are going to [...]



Start Restart Stop Apache Web Server in Ubuntu

By • Jan 23rd, 2012 • Category: Apache, Ubuntu

If you are  ubuntu user, you might need to start,stop or restart apache web server. You need to login as root or you need to use sudo command to start,stop or restart Apache Start Apache 2 Server # sudo /etc/init.d/apache2 start Restart Apache 2 Server # sudo /etc/init.d/apache2 restart Stop Apache 2 Server # sudo [...]



how to kill a process or job in ubuntu

By • Jan 9th, 2012 • Category: Ubuntu

To kill a process or a job in ubuntu you can do: 1. Kill the process with Name run the command   :  # sudo killall process-name example                  :    # sudo killall firefox    this will    kill or close  the firefox browser. 2. Kill the process with ID  run the command :  # sudo kill -9 [...]



How to uninstall netbeans ide in ubuntu

By • Jan 9th, 2012 • Category: Ubuntu

To uninstall netbeans IDE in ubuntu, you can do the bellow step: 1. goto netbeans installed directory  > cd /usr/local > ls 2. after running the ls command  you will see the netbeans directory is listed. 3. now you need to enter into the netbeans dir > cd netbeans-6.9.1 4. Now you need to run the [...]