How to start stop restart Apache web server in Ubuntu

Hello, today I will show you how to start/stop/restart your Apache server. First you need to use sudo command restart Apache.
To start apache use this command:

sudo /etc/init.d/apache2 start

To stop apache use this command:

sudo /etc/init.d/apache2 stop

To restart apache use this command:

sudo /etc/init.d/apache2 restart

That’s all, good luck.

Posted in Apache, Ubuntu at December 2nd, 2011. No Comments.

Install OpenSSH client and server on Ubuntu 11.04

Installation of the OpenSSH client and server applications for Ubuntu 11.04 is simple. To install the OpenSSH client applications on your Ubuntu system, open terminal (Ctrl+Alt+T) and enter this command for client application:

sudo apt-get install openssh-client

And this one for server application

sudo apt-get install openssh-server

If you want to connect via client application type this command in the terminal:

ssh username@hostname

Good luck!

Posted in Linux, Ubuntu at November 11th, 2011. No Comments.

Install APC on WAMP server

The main benefit of APC is to increase the performance of PHP scripts.
How to install APC on WAMP 2.1:
1) Go to
2) Download
3) Copy php_apc.dll to \wamp\bin\php\php5.3.5\ext
4) Enable php_apc extension from WAMP server panel -> PHP extensions

Enable apc extension

5) Open php.ini \wamp\bin\apache\Apache2.2.17\bin and add this:

apc.enabled = 1
apc.shm_segments = 1
apc.shm_size = 64M
apc.max_file_size = 10M
apc.stat = 1

6) Restart Wamp server
7) Open this address http://localhost/?phpinfo=1 in your favourite browser
And check for this section:
Phpinfo page apc
If you see that section, then everything is ok and you successfully installed APC extension on your WAMP server.
I add new article for WAMP 64bit with APC, you can found it here 64bit wamp

Posted in Php, Wamp at July 6th, 2011. 28 Comments.