[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:network_services:joomla [2013/02/17 08:28 (UTC)] – [Configure Apache Webserver] wisedracohowtos:network_services:joomla [2015/06/26 20:39 (UTC)] (current) – [Configure Apache Webserver] Removed empty line removing a space after <code> at EOL. didierspaier
Line 19: Line 19:
   - Do as root <code bash> mysql_secure_installation </code>, and set mysql root password ( and write it down or remember), and choose all default answers   - Do as root <code bash> mysql_secure_installation </code>, and set mysql root password ( and write it down or remember), and choose all default answers
   - After that, do <code bash> mysql -u root -p </code> after write user password, be in mysql>. write <code> CREATE USER 'joomla_db_username'@'localhost' IDENTIFIED BY 'joomla_db_user_password'; </code>, where joomla_db_user is user, who you make for under who your joomla stores information in mysql. joomla_db_user_paswword is your choosing password for that mysql user.   - After that, do <code bash> mysql -u root -p </code> after write user password, be in mysql>. write <code> CREATE USER 'joomla_db_username'@'localhost' IDENTIFIED BY 'joomla_db_user_password'; </code>, where joomla_db_user is user, who you make for under who your joomla stores information in mysql. joomla_db_user_paswword is your choosing password for that mysql user.
-  - write <code> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON yourdatabasename_for_joomla.* to 'joomla_db_username'@'localhost'; </code>+  - write <code> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER ON yourdatabasename_for_joomla.* to 'joomla_db_username'@'localhost'; </code>
   - after that do <code> FLUSH PRIVILEGES;</code> and then <code> quit</code>   - after that do <code> FLUSH PRIVILEGES;</code> and then <code> quit</code>
   - and finally, do from bash <code bash> mysqladmin -u joomla_db_username -p create yourdatabasename_for_joomla </code> it need input of your "joomla_db_username" password, seems as "joomla_db_user_password" in that instruction.   - and finally, do from bash <code bash> mysqladmin -u joomla_db_username -p create yourdatabasename_for_joomla </code> it need input of your "joomla_db_username" password, seems as "joomla_db_user_password" in that instruction.
Line 44: Line 44:
 <Directory "/srv/httpd/htdocs"> <Directory "/srv/httpd/htdocs">
 </code> and change both values from "/srv/httpd/htdocs" to "/srv/httpd/beautifulsite.com". </code> and change both values from "/srv/httpd/htdocs" to "/srv/httpd/beautifulsite.com".
-  - Next, look at below section: <code> +  - Next, look at below section: <code>
     #     #
     # Possible values for the Options directive are "None", "All",     # Possible values for the Options directive are "None", "All",
Line 85: Line 85:
   - Uncomment the php module: <code>   - Uncomment the php module: <code>
 Include /etc/httpd/mod_php.conf Include /etc/httpd/mod_php.conf
-</code> and save the file.+</code> 
 +   -following modules must be uncommented:<code> 
 + 
 +LoadModule authn_file_module lib64/httpd/modules/mod_authn_file.so 
 +LoadModule authn_core_module lib64/httpd/modules/mod_authn_core.so 
 +LoadModule authz_host_module lib64/httpd/modules/mod_authz_host.so 
 +LoadModule authz_groupfile_module lib64/httpd/modules/mod_authz_groupfile.so 
 +LoadModule authz_user_module lib64/httpd/modules/mod_authz_user.so 
 +LoadModule authz_core_module lib64/httpd/modules/mod_authz_core.so 
 +LoadModule access_compat_module lib64/httpd/modules/mod_access_compat.so 
 +LoadModule auth_basic_module lib64/httpd/modules/mod_auth_basic.so 
 +LoadModule reqtimeout_module lib64/httpd/modules/mod_reqtimeout.so 
 +LoadModule filter_module lib64/httpd/modules/mod_filter.so 
 +LoadModule mime_module lib64/httpd/modules/mod_mime.so 
 +LoadModule log_config_module lib64/httpd/modules/mod_log_config.so 
 +LoadModule env_module lib64/httpd/modules/mod_env.so 
 +LoadModule headers_module lib64/httpd/modules/mod_headers.so 
 +LoadModule setenvif_module lib64/httpd/modules/mod_setenvif.so 
 +LoadModule version_module lib64/httpd/modules/mod_version.so 
 +LoadModule proxy_module lib64/httpd/modules/mod_proxy.so 
 +LoadModule proxy_connect_module lib64/httpd/modules/mod_proxy_connect.so 
 +LoadModule proxy_ftp_module lib64/httpd/modules/mod_proxy_ftp.so 
 +LoadModule proxy_http_module lib64/httpd/modules/mod_proxy_http.so 
 +LoadModule proxy_fcgi_module lib64/httpd/modules/mod_proxy_fcgi.so 
 +LoadModule proxy_scgi_module lib64/httpd/modules/mod_proxy_scgi.so 
 +LoadModule proxy_ajp_module lib64/httpd/modules/mod_proxy_ajp.so 
 +LoadModule proxy_express_module lib64/httpd/modules/mod_proxy_express.so 
 +LoadModule lbmethod_byrequests_module lib64/httpd/modules/mod_lbmethod_byrequests.so 
 +LoadModule lbmethod_bytraffic_module lib64/httpd/modules/mod_lbmethod_bytraffic.so 
 +LoadModule lbmethod_bybusyness_module lib64/httpd/modules/mod_lbmethod_bybusyness.so 
 +LoadModule mpm_event_module lib64/httpd/modules/mod_mpm_event.so 
 +LoadModule unixd_module lib64/httpd/modules/mod_unixd.so 
 +LoadModule status_module lib64/httpd/modules/mod_status.so 
 +LoadModule autoindex_module lib64/httpd/modules/mod_autoindex.so 
 +##openwebmail! 
 +LoadModule cgi_module lib64/httpd/modules/mod_cgi.so 
 +LoadModule dir_module lib64/httpd/modules/mod_dir.so 
 +LoadModule alias_module lib64/httpd/modules/mod_alias.so 
 +### joomla mod_rewrite! 
 +Loadmodule rewrite_module lib64/httpd/modules/mod_rewrite.so 
 +#for gzip compression, joomla! 
 +LoadModule deflate_module lib64/httpd/modules/mod_deflate.so 
 +</code> 
 + and save the file.
   - Next, edit the file "''/etc/httpd/php.ini''"   - Next, edit the file "''/etc/httpd/php.ini''"
   - Search for string <code>output_buffering = 4096 </code> and change them to <code>output_buffering = Off </code>   - Search for string <code>output_buffering = 4096 </code> and change them to <code>output_buffering = Off </code>
Line 108: Line 151:
 </code> </code>
   - The initial Joomla configuration is done in a web browser (preferably from another computer workstation). Enter our "''http://beautifulserver.com''" URL in the browser's addressbar. This will start start the web-based configuration of our newly installed Joomla CMS. When you get to the database configuration, the better choice is "**mysqli**". Input is also required for the Joomla database username and password. The rest of the configuration is straight-forward.   - The initial Joomla configuration is done in a web browser (preferably from another computer workstation). Enter our "''http://beautifulserver.com''" URL in the browser's addressbar. This will start start the web-based configuration of our newly installed Joomla CMS. When you get to the database configuration, the better choice is "**mysqli**". Input is also required for the Joomla database username and password. The rest of the configuration is straight-forward.
 +  - After that, if you want to use SEO-friendly settings ( URL rewriting), then rename htaccess.txt in your root of current joomla catalog to .htaccess .
 +
  
  
 howtos:network_services:joomla ()