Differences
This shows you the differences between two versions of the page.
en:glpifedora [2006/08/18 04:26] 127.0.0.1 external edit |
en:glpifedora [2008/05/15 01:15] mumblyjoe Corrected grammar and re-worded a few sentences. |
||
---|---|---|---|
Line 9: | Line 9: | ||
=== I. Installation of the different servers : === | === I. Installation of the different servers : === | ||
- | You that likes graphical installations can follow this [[ http://glpi-project.org/article.php3?id_article=96 | documentation ]], based on a Fedora Core 4 but still available for the version 5. | + | Those of you that like graphical installations can follow this [[ http://glpi-project.org/article.php3?id_article=96 | documentation ]]. It is based on Fedora Core 4 but still available for the version 5. |
== 1. Apache and PHP : == | == 1. Apache and PHP : == | ||
Line 23: | Line 23: | ||
<code>[root@localhost ~]# rpm -qa |grep -i httpd</code> | <code>[root@localhost ~]# rpm -qa |grep -i httpd</code> | ||
- | If the command returns you a line like “httpd-2.2.0-5.1.2”, it means the server is correctly installed and that you are using version 2.2. | + | If the command returns a line like “httpd-2.2.0-5.1.2”, it means the server is correctly installed and that you are using version 2.2. |
Now, it is time to install PHP. In order to make GLPI work, you have to install the PHP module and the module allowing PHP to be linked to a MySQL server (packages php and php-mysql). To use external authentication sources, you may need to install some other packages like php-ldap (LDAP) or php-imap (IMAP). | Now, it is time to install PHP. In order to make GLPI work, you have to install the PHP module and the module allowing PHP to be linked to a MySQL server (packages php and php-mysql). To use external authentication sources, you may need to install some other packages like php-ldap (LDAP) or php-imap (IMAP). | ||
<code>yum install php php-mysql</code> | <code>yum install php php-mysql</code> | ||
- | Be careful : no package for using CAS authentication has been found yet. If you know how to do, let us a message on our forum or sent us an email. | + | Be aware : no package for using CAS authentication has been found yet. If you know how to do, let us a message on our forum or sent us an email. |
== 2. MySQL == | == 2. MySQL == | ||
Line 35: | Line 35: | ||
<code>yum install mysql-server</code> | <code>yum install mysql-server</code> | ||
- | Once the different services are installed, you just need to configure them... Don't forget to restart them after the configuration files are modified. By default, the variable “memory_limit” of « php.ini » file is set to 8 (Mb). This value is not big enough to make GLPI work in optimal conditions. Assign the value 16 to the variable or more to have a normal or optimal behavior. | + | Once the different services are installed, you just need to configure them... Don't forget to restart them after the configuration files are modified. By default, the variable “memory_limit” of « php.ini » file is set to 8 (Mb). This value is not big enough to make GLPI work in optimal conditions. Assign the value 16, or more, to the variable to have a normal or optimal behavior. |
<code>/etc/init.d/httpd restart /etc/init.d/mysqld restart</code> | <code>/etc/init.d/httpd restart /etc/init.d/mysqld restart</code> | ||
Line 47: | Line 47: | ||
<code>mysqladmin -u root password 'root'</code> | <code>mysqladmin -u root password 'root'</code> | ||
- | (second 'root' is the choosen password, but you can use another one, as you prefer.) | + | (second 'root' is the chosen password, but you can use another one, as you prefer.) |
- | This command improves your MySQL server security while giving it a unique password. Once this is done, create the « glpidb » databse with these commands : | + | This command improves your MySQL server security while giving it a unique password. Once this is done, create the « glpidb » database with these commands : |
<code>mysql -u root -p (enter the MySQL root password)</code> | <code>mysql -u root -p (enter the MySQL root password)</code> | ||
Line 80: | Line 80: | ||
* glpiuser password : previously defined :) (glpi in our example) | * glpiuser password : previously defined :) (glpi in our example) | ||
- | On Fedora Core, two elements can bother or, worst, forbid the instalation. Verify your firewall rules and SELinux which usually limits the rights (for your security). | + | On Fedora Core, two subsystems can interfere with or, even, prevent an installation. Verify that your firewall rules and your SELinux permissions will not interfere with the function GLPI. |