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