Saturday, January 14, 2006

Wordpress - Weblog Software

WordPress is Weblog software with an extremely clean, easy-to-use interface written in PHP with a MySQL back end.

Installing WordPress is amazingly straightforward if you have a bit of experience with Apache and MySQL. WordPress stores all of its information in a set of MySQL tables, which means you need to create at least one database before installing WordPress. WordPress allows you to have more than one Weblog inside of a single database, which is useful if your site is hosted by a company that gives you only a single MySQL database.

Now to Create a Database user :

#mysql -u root -p

Enter the Mysql Password.

Create a Database wordpress

mysql>create database wordpress;

mysql>GRANT ALL PRIVILEGES ON wordpress.* TO wordpress@localhost IDENTIFIED BY 'password';

Next, download the source code to WordPress (see the on-line Resources section) and open that .tar.gz file inside of your Apache document root directory. You probably want to put the WordPress files inside of their own directory or perhaps under a virtual host, but all of the files must be within the document root if they are to be of any use.

Now point your browser to wp-admin/install, and you're on your way. The installation screens check that everything is installed correctly and ask you to answer several questions. Typically, you need to click on a link at the bottom of each page to continue with and finish the installation.

LiteSpeed Web Server - Performance Better than Apache

LiteSpeed web server is an Apache interchangeable, full-featured high performance, secure HTTP server specifically engineered from the ground up with security and scalability in mind.

LiteSpeed Web Server is engineered to be Apache interchangeable, which means LiteSpeed has all the flexibilities that Apache has, but in much faster manner, such as distributed configuration .htaccess support. The most commonly used Apache modules have been implemented in LiteSpeed with similar functionality and configuration, but completely different design and implementation. Currently, LiteSpeed uses Apache compatible configuration for .htaccess and URL rewriting and it is even able to use Apache configuration file directly. This makes your switching between Apache and LiteSpeed very easy and risk free.

LiteSpeed Web Server is also a real-world proven high performance content accelerator, compression proxy, and application security gateway leveraged by its highly scalable, low latency proxy engine.

With the combination of ease of use, tight security, outstanding performance, scalability, and reliability, LiteSpeed Web Server is the ultimate web server you ever need!

Download Standard Edition for Free

decompress the package into a convenient location:
tar xvfz lsws-xxxx.tar.gz or gunzip -c lsws-xxxx.tar.gz | tar xvf -

Go to the installation directory cd lsws-xxxx and run command ./
The "root" user can install the server into a system directory; other users should install it to somewhere under his home directory.

Read the End User License Agreement and type "Yes" to confirm your agreement.

ollow the instructions on the screen.
The following questions will be asked:

  1. User and group that the server process run on behalf of.
  2. Destination directory where the server should be installed.
  3. If an installed copy exists, choose either Update or Reinstall.
    Update will keep your current configuration.
  4. Administrator's user name and password for the administration web interface.
  5. TCP port for normal web service.
  6. TCP port for web administration interface.
To start the server, simply run [your_install_dir]/bin/lswsctrl start

If the default port for normal web service was not changed during installation, point your browser to http://[address]:8088/, otherwise replace "8088" with actual port used. "[address]" should be the IP address or domain name of web server machine. Use "localhost" if it is accessed from the same machine. The congratulation page should be loaded into browser, if it is not, try next step.

If the default port for web administration interface is not changed during installation, point your browser to http://[address]:7080/, otherwise replace "7080" with actual port used. "[Address]" should be the IP address or domain name of your web server machine. Use "localhost" if it is accessed from the same machine.

If the web administration interface is inaccessible either, please take a look at the error log - [your_install_dir]/logs/error.log

To Uninstall
Simply run [your_install_dir]/admin/misc/ and follow the instructions on the screen.