Monthly Archive for June, 2007

Installing LAMP on Fedora Core

A note to myself :)

This will install the basic components for a dynmaic, database-driven web site. We use yum to handle dependencies and gather all of the required packages.

1. Install Apache (httpd), PHP, MySQL (server and client), and the component that allows php to talk to mysql.

yum -y install httpd php mysql mysql-server php-mysql

2. Configure the new services to start automatically

/sbin/chkconfig httpd on
/sbin/chkconfig –add mysqld [this is not required with FC4 and above]
/sbin/chkconfig mysqld on
/sbin/service httpd start
/sbin/service mysqld start

3. IMPORTANT! Set up the mysql database root password. Without a password, ANY user on the box can login to mysql as database root. The mysql root account is a separate password from the machine root account.

mysqladmin -u root password ‘new-password’ [quotes are required]

4. Make additional security-related changes to mysql.

mysql -u root -p
mysql> DROP DATABASE test; [removes the test database]
mysql> DELETE FROM mysql.user WHERE user = ”; [Removes anonymous access]
mysql> FLUSH PRIVILEGES;

5. Following the above steps, the document root for Apache is /var/www/html/

Create a test PHP script (such as phpinfo.php) and place it in the document root. A useful test script sample:

6. Create a database and database user for your data. You will use this database and user name in your database connection string. The GRANT statement actually creates a new MySQL user account.

mysql> CREATE DATABASE web_db;
mysql> GRANT ALL PRIVILEGES ON web_db.* TO ‘web_user’@'localhost’ IDENTIFIED BY ‘thepassword’;

Credit to Dan Stoner

VTP 7.0 – Easy, Simple and Robust

Vista Transformation Pack 7.0 – Easy, Simple and Robust” has been release today. This release has overall improvements for features compared to previous versions and has a lot of user interface refinements for ease of use with end-user. You will find this program is amazingly easier comparing to all other shell packs.

Vista Transformation Pack 7.0 - Easy, Simple and Robust

Changes in Version 7.0
Continue reading ‘VTP 7.0 – Easy, Simple and Robust’

Telco Wars Parody Animation

Digi Yellowman pawned :)

VTP 7 to be released on Monday!

For those of you that eager to use vista but cant afford to use it :) Maybe this will be a good news for you. The release date of VTP7 is 25th June, as this is the 6 month anniversary for Vista Transformation Pack 6.0 (VTP 6 was released 25th December). So please, calm down and wait for the celebration on Monday! This is not the expected release date, but the confirmed release date.

Vista Transformation Pack

What new in VTP 7?

  • Brand new Thoosje Vista Sidebar
  • Brand new ViStart
  • Brand new VTP Installer
  • Brand new VTP management center

Visit Windows X’s Shrine for more latest info and update on VTP 7 :)

internet-webhosting.com Promotion

The case of the stolen Homer Simpson

The case of the stolen Homer SimpsonHere’s a piece of non-tech news from Malaysia that made its way to the International Herald Tribune to lighten up your day. 2 Malaysian college students couldn’t wait till July 26 for The Simpsons movie and decided to steal a Homer Simpson figurine from a Simpson family life-size portrait. The students should have known better – closed-circuit security cameras caught the rascals making away with Homer (see picture). Not only were their faces caught on film, so was their car number plates. It wasn’t long then before the police caught them and made them return Homer.

No harm done in the end. 20th Century Fox representative Moo Hon Mei told AP that Homer would be reunited with the rest of his dysfunctional family shortly. The police haven’t yet decided if the rascals would be charged with theft.

Via Lowyat.Net



Valid XHTML 1.0 Transitional    Powered By Wordpress    Powered By Google