Installing Drupal on RimuHosting.com

Installing Drupal on RimuHosting.com

Here is how to install Drupal on a Centos5 Linux installation, hosted on http://RimuHosting.com

  1. log in as root
  2. Update to latest version with: apt-get update ; apt-get upgrade
  3. Install modules with: yum -y install php-mysql mod_auth_mysql mysql-server php-gd php-mbstring
  4. Enable .htaccess: cp /etc/httpd/conf/httpd.conf httpd.sav
    vi /etc/httpd/conf/httpd.conf
    and change AllowOverride None to All
  5. Restart apache with: service httpd restart
  6. Now setup MySQL: mysqladmin -u root password rootsqlpassword
  7. Make sure mysqld and httpd start on boot by checking the boxes: webmin / system / bootup and shutdown
  8. Download your preferred version of Drupal and unarchive it with: tar -zxvf drupal-x.x.tar.gz
  9. Move drupal to a suitable directory: mv nameofdrupalfolder /var/www/drupal
  10. Make directories for contrib modules and themes:
    mkdir /var/www/modules
    mkdir /var/www/themes
  11. For a single site setup, /var/www/html is the root, so cd /var/www/html
  12. Link to copy of Drupal with
    ln -s /var/www/drupal/includes includes
    ln -s /var/www/drupal/misc misc
    ln -s /var/www/drupal/modules modules
    ln -s /var/www/drupal/profiles profiles
    ln -s /var/www/drupal/scripts scripts
    ln -s /var/www/drupal/themes themes
    cp /var/www/drupal/* .
    cp /var/www/drupal/.* .
    cp -R /var/www/drupal/sites .
    ln -s /var/www/themes sites/all/themes
    ln -s /var/www/modules sites/all/modules
  13. Make files directory and give the installer access to the sites directory:
    mkdir /var/www/html/files
    chmod 777 /var/www/html/files
    chmod 777 /var/www/html/sites/default
  14. Create a database (e.g. called drupal) using: webmin / servers / mysql
  15. visit the server’s root web page and complete the installation using Drupal
  16. Secure sites access: chmod 775 /var/www/html/sites/default
  17. Well done! You are finished


评论权限被关闭.



赞助商

文章索引模板

好友推荐链接

强力推荐链接

分类目录

   

统计信息

Translator

Chinese (Simplified) flagItalian flagKorean flagChinese (Traditional) flagPortuguese flagEnglish flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flag
Croatian flagDanish flagFinnish flagPolish flagSwedish flagNorwegian flag          

标签

专利战 世界 中国 为什么 介绍 使用 公司 分析 利用 功能 原谅我红尘颠倒 发现 天涯 如何 实现 工具 慕容雪村 技术 插件 搜索引擎 支持 数据库 文件 方式 时间 服务器 用户 简单 系统 网站 美国 解决 谁的心不曾柔软 进行 部分 问题 AJAX blog Google LAN Linux MySQL PHP plugin WordPress

热门浏览