XOOPS Cube Legacy Install †
This article explains how to install XOOPS Cube Legacy to your XAMPP. XOOPS Cube Legacy has the special script to support an installation. This install-wizard script creates required database and writes required configuration informations to the config file. At first, you have to put XOOPS Cube Legacy files to the document root of your XAMPP so that you can access to the install-wizard. Next, access to it. Let's start!
Download XOOPS Cube Legacy †
Do you have the XOOPS Cube Legacy package? At the beginning, you have to get the XOOPS Cube Legacy package to progress this tutorial. Go to the download page and get the zip archive from the page. In most OS, it's easy to expand the archive. For example, in Windows XP or later, press the right button of your mouse on the archive and choose a menu to expand files.
The root directory of the XOPPS Cube Legacy package contains three directories.
|html||The main directory that you should install.|
|docs||A document directory. You can learn how to install here.|
|extras||A bonus directory. Some append files are there.|
Put XOOPS Cube Legacy to your XAMPP †
Next, put these files to the specific directory.
By the previous tutorial, you became able to start mini-server in your PC. This server is called "local host" or "local server". Your local server has the same spec as real web server and is a good textbook to learn about server.
Now you can access to "http://localhost/". Apache is a web server embedded to XAMPP, and loads contents from the specific directory. This specific directory is called a document root and is under XAMPP directory that you have installed. If your OS is Windows, you may click "xampp httpdocs folder" menu from the start menu. In other OS, open the directory directly.
Copy "html" directory of the archive to this directory. And, rename "xoops". Now, you can access to this directory in "http://localhost/xoops/". In fact, this "document root" directory is binded to "http://localhost/". The concept of the document root is very important, and will appear again when you will try to install XOOPS Cube Legacy to real server in the near future.
You may refer to a video tutorial which explains from this section to "Remove Install Directory".
Install Wizard †
Let's go to "http://localhost/xoops/"! You are redirected to the install-wizard. Detail documents in the docs directory explain about the install-wizard. Open the docs directory from archive and read install.htm.
Remove Install Directory †
After installation, you have to remove the install-directory from your xoops directory under the document root, because the install-directory is accessable for anyone and anonymous users can re-start it to smash your site.
In fact, uninstalled XOOPS Cube Legacy is like a squab which does not recognize her parents yet. In this state, anybody can become the administrator. A squab will recognize the first encounter as her parent. Now you have just been recognized as the administrator by accessing the install-wizard firstly. Therefore you need to block other parent birds by removing the install-wizard.
Make mainfile.php read-only †
Mainfile.php is one of the most important file. Your mainfile.php is writable now, because the install-wizard needed to edit it. After installation, you have to make it read-only to protect this important file from various troubles and attacks.
But, now, you are trying XOOPS Cube Legacy on XAMPP. If you are protecting your mini-server of XAMPP by personal fire wall and others, you don't have to do this. And, in some cases, you may be unable to make it read-only. Anyway, that's no problem, if you are using personal fire wall. However, in real server, you have to make mainfile.php read-only. Don't forget it.
- XOOPS Cube Legacy has the install-wizard. The install-wizard creates database and edit config file automatically.
- The web server has the document root for users. You have to put files under the document root. You can learn about it in your XAMPP.
- There is the detail document about the install-wizard. It is contained to docs directory of the XOOPS Cube Legacy package archive.
- After installation, you have to remove the install-directory including the install-wizard, because anonymous user can re-start the install-wizard to attack your site.
- Also, you have to make mainfile.php read-only so that anonymous attacker can't edit this important file.
|Author:||minahito [d1BA9bGFDqQU]||- 2007/02/21 16:42:01 JST(2860d)|
|Last edit:||Anonymous||- 2007/02/21 16:42:01 JST(2860d)|
|Back Link:||XOOPSCubeLegacy(1261d) BasicTutorial(2866d)|