Submitted by peter on Mon, 04/02/2013 - 17:06
- Install packages: httpd, php, mysql-server, mod_ssl, php-dom, php-gd, php-pdo, php-mysql, php-mbstring, php-pecl-apc
- Use chkconfig to enable mysqld, service to start it, and then run /usr/bin/mysql_secure_installation and set password and accept all defaults,
- Copy drupal tar file to server and untar into /var/www/html. Change directory name to drupal,
- Fix permissions and ownership:
- chown -R root:root drupal
- find drupal -exec chmod 644 {} \;
- find drupal -type d -exec chmod 755 {} \;
- Optionally copy /usr/sbin/cronolog Tcl script into place and install package tcl,
- Create public files directory:
- cd drupal/sites/default
- mkdir files
- chown apache files
- Generally follow the installation instructions on the drupal website,
- See files below for httpd configuration,
- If large files are going to be uploaded to the site, note that the default maximum upload size is 2 MB. You can change this in the /etc/php.ini file. The two configuration varaiages to look at are post_max_size and upload_max_filesize,
- If drupal isn't installed in the top-most directory (e.g., http://somesite/drupal), make sure to set/enable the appropriate RewriteBase in drupal's top-level .htaccess file,
- Consider turning on "Clean URLs".