Halaman

Minggu, 06 November 2011

ubuntu: Installing php apache mysql

Steps to install the webserver to your ubuntu ;)
  1. sudo apt-get install apache2
  2. sudo apt-get install mysql-server
  3. sudo apt-get install php5-mysql
  4. sudo /etc/init.d/apache2
  5. gksudo gedit /etc/apache2/httpd.conf
    insert this line(without the quotes) : "ServerName localhost"
  6. sudo apt-get install phpmyadmin
  7. If you do not specify password for your mysql installation, you need to modify the phpmyadmin config file. open gedit and edit the phpmyadmin configuration file "/etc/phpmyadmin/config.inc.php" and uncomment those line similar to this one :
    $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
Testing :
open firefox and type this address : http://localhost/phpmyadmin

Well done and congratulation, you basic server (local) configuration is ready! ;)

basic information :
your local website storage located in "/var/www" if you would like to configure for other location, you should do it within the apache virtual hosts.. and that's another topics i will try to cover next time..

Rabu, 02 November 2011

Packet Sniffer

When you are working with the internet / network, you need to make sure that the packet you sent/receive is what you are planning to get / send

This open source packet sniffer is a very great project. It could even sniff your password when you even though you send them using ssl/encryptions

Here is the link to that wonderfull project : http://code.google.com/p/ospy/

Very nice!!