Step1 – In the directory you extracted Joomla there is file named “configuration.php-dist”. Open it in text editor and save it as “configuration.php”. Find these fields and edit them like this:
var $sitename = 'your Web site name';
var $dbtype = 'mysql'; // the database type
var $host = 'localhost'; // the host
var $user = 'your database username';
var $password = 'your database password';
var $db = 'database name';
var $dbprefix = 'jos_'; // this is the default table prefix, but you can change to something other. Anything without “bak_”, because this is used for back-ups.
var $secret = 'FBVtggIk5lAzEU9H'; // you must change this password to something else, something more secure. This password is important.
var $log_path = '/var/logs'; // this is the absolute path to the Web server
var $mailfrom = 'your e-mail address';
var $fromname = 'your Web site name for example';
Step2 – In the directory “/installation/sql/mysql” open “joomla.sql” and replace all “#__” with “jos_”. Save the file with UTF-8 NO BOM encoding.
Step3 – Upload the joomla directories on your web server.
Step4 – Create database with the name you entered in the “configuration.php” file. Import the “joomla.sql” file you edited in the “/installation/sql/mysql”.
Step5 – Now you have to create an administrator account. Execute this query:
INSERT INTO `jos_users` VALUES (62, 'Administrator', 'admin', 'your-email@email.com', '21232f297a57a5a743894a0e4a801fc3', 'Super Administrator', 0, 1, 25, '2005-09-28 00:00:00', '2005-09-28 00:00:00', '', ''); INSERT INTO `jos_core_acl_aro` VALUES (10,'users','62',0,'Administrator',0);
INSERT INTO `jos_core_acl_groups_aro_map` VALUES (25,'',10);
This will create administrator account with username: “admin” and password: “admin”. After you create this account, change the password. To access the administrator account, type “localhost/yoursitename/administrator” in the browser’s address bar.
Step6 – If you want you can install sample data. Import in your database “sample_data.sql” file that can be found in the installation directory.
Step7 – Delete the “installation” directory.
|