Joomla needs a database, user and password
You need to create a database. You can do this with PhpMyAdmin or via the command line:
mysqladmin -u root -p create joomla
Where joomla is the name you picked for the mysql database that joomla will use. You can call it anything you want.
mysql -u root -p
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON joomla.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword';
You do not want to have Joomla use the mysql root user to access the database. The above command creates a mysql user (other than the mysql root user) with some priviledges to use the joomla database. You will need to chose the yourusername and yourpassword. If the command was successful, activate the new permissions:
mysql> FLUSH PRIVILEGES;
Quit the mysql prompt:
mysql> \q
Open history file for MySQL commands and delete the above SQL, since the password is in readable format!
gedit ~/.mysql_history
Reload Apache2
You may need to force-reload apache2 so that it knows to use the php module if you haven't done so since you installed the LAMP stack.
sudo /etc/init.d/apache2 restart
Finish installation
Point your browser to localhost/joomla, and follow the onscreen instructions.
joomla should be installed under /srv/www/htdocs/joomla/
If you have a problem with php, copy and paste the script and insert it in
/srv/www/htdocs/joomla/configuration.php
http://www2.blogger.com/post-create.g?blogID=5032931407220438062
http://linuxindo.web.id/2008/05/06/jooma-tutorial-series-how-to-install-joomla-15/2/
Samstag, 2. August 2008
Abonnieren
Kommentare zum Post (Atom)
Keine Kommentare:
Kommentar veröffentlichen