PageRenderTime 71ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/INSTALL.php

https://bitbucket.org/asosso/joomla15
PHP | 151 lines | 125 code | 14 blank | 12 comment | 1 complexity | 507da1d655cad92ab747f43dff2580b6 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. <?php
  2. /**
  3. * @version $Id: INSTALL.php 10381 2008-06-01 03:35:53Z pasamio $
  4. * @package Joomla
  5. * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
  6. * @license GNU/GPL, see LICENSE.php
  7. * Joomla! is free software. This version may have been modified pursuant
  8. * to the GNU General Public License, and as distributed it includes or
  9. * is derivative of works licensed under the GNU General Public License or
  10. * other free or open source software licenses.
  11. * See COPYRIGHT.php for copyright notices and details.
  12. */
  13. // no direct access
  14. defined( '_JEXEC' ) or die( 'Restricted access' );
  15. ?>
  16. REQUIREMENTS
  17. ------------
  18. First you must have the base environment for Joomla.
  19. We have thoroughly tested Joomla! on: Linux, Free BSD, Mac OS X and Windows NT/2000.
  20. Linux or one of the BSD's are recommended, but anything else that can run the
  21. 3 pieces of software listed below should do it.
  22. Apache -> http://www.apache.org
  23. MySQL -> http://www.mysql.com
  24. PHP -> http://www.php.net
  25. SERVER CONFIGURATION
  26. --------------------
  27. You MUST ensure that PHP has been compiled with support for MySQL and Zlib
  28. in order to successfully run Joomla.
  29. While we have reports that Joomla! works on IIS server we recommend Apache
  30. for running Joomla! on Windows.
  31. OPTIONAL COMPONENTS
  32. -------------------
  33. If you want support for SEF (Search Engine Friendly) URLs, you'll need mod_rewrite and the ability to
  34. use local .htaccess files.
  35. INSTALLATION
  36. ------------
  37. 1. DOWNLOAD Joomla
  38. You can obtain the latest Joomla! release from:
  39. http://www.joomla.org
  40. Copy the tar.gz file into a working directory e.g.
  41. $ cp JoomlaVx.x.x-Stable.tar.gz /tmp/Joomla
  42. Change to the working directory e.g.
  43. $ cd /tmp/Joomla
  44. Extract the files e.g.
  45. $ tar -zxvf JoomlaVx.x.x-Stable.tar.gz
  46. This will extract all Joomla! files and directories. Move the contents
  47. of that directory into a directory within your web server's document
  48. root or your public HTML directory e.g.
  49. $ mv /tmp/Joomla/* /var/www/html
  50. Alternatively if you downloaded the file to your computer and unpacked
  51. it locally use a FTP program to upload all files to your server.
  52. Make sure all PHP, HTML, CSS and JS files are sent in ASCII mode and
  53. image files (GIF, JPG, PNG) in BINARY mode.
  54. 2. CREATE THE Joomla! DATABASE
  55. Joomla! will currently only work with MySQL. In the following examples,
  56. "db_user" is an example MySQL user which has the CREATE and GRANT
  57. privileges. You will need to use the appropriate user name for your
  58. system.
  59. First, you must create a new database for your Joomla! site e.g.
  60. $ mysqladmin -u db_user -p create Joomla
  61. MySQL will prompt for the 'db_user' database password and then create
  62. the initial database files. Next you must login and set the access
  63. database rights e.g.
  64. $ mysql -u db_user -p
  65. Again, you will be asked for the 'db_user' database password. At the
  66. MySQL prompt, enter following command:
  67. GRANT ALL PRIVILEGES ON Joomla.*
  68. TO nobody@localhost IDENTIFIED BY 'password';
  69. where:
  70. 'Joomla' is the name of your database
  71. 'nobody@localhost' is the userid of your webserver MySQL account
  72. 'password' is the password required to log in as the MySQL user
  73. If successful, MySQL will reply with
  74. Query OK, 0 rows affected
  75. to activate the new permissions you must enter the command
  76. flush privileges;
  77. and then enter '\q' to exit MySQL.
  78. Alternatively you can use your web control panel or phpMyAdmin to
  79. create a database for Joomla.
  80. 3. WEB INSTALLER
  81. Finally point your web browser to http://www.mysite.com where the Joomla! web
  82. based installer will guide you through the rest of the installation.
  83. 4. CONFIGURE Joomla
  84. You can now launch your browser and point it to your Joomla! site e.g.
  85. http://www.mysite.com -> Main Site
  86. http://www.mysite.com/administrator -> Admin
  87. You can log into Admin using the username 'admin' along with the
  88. password that was generated or you chose during the web based install.
  89. Joomla! ADMINISTRATION
  90. ----------------------
  91. Upon a new installation, your JoomlaS website defaults to a very basic
  92. configuration with only a few active components, modules and templates
  93. (CMTs).
  94. Use Admin to install and configure additional CMTs, add users, select
  95. default language and much more.
  96. Note that additional community-contributed CMTs and languages are
  97. available via http://www.joomla.org