Drupal 学习笔记 (1)
2011-02-28 15:57
246 查看
安装Drupal.
-> Install LAMP
tasksel install lamp-server
-> Create database
mysql -u root -p
create user 'kb'@'localhost' identified by 'password';
create database kbdb;
grant all privileges on kbdb.* to 'kb'@'localhost';
-> Prepare for clean URL
a2enmod rewrite
/etc/init.d/apache2 restart
vim /etc/apache2/sites-enabled/000-default
-> change "AllowOverride None" to "AllowOverride All"
-> Install drupal
cd ~
mkdir www
cd www
sudo su
wget http://ftp.drupal.org/files/projects/drupal-6.20.tar.gz tar -xvf drupal-6.20.tar.gz
cp drupal-6.20 /var/www/kb -R
cd /var/www/kb/sites/default
cp default.settings.php settings.php
chmod 777 settings.php
mkdir files
chmod 777 files
-> go to http://localhost/kb, and run the wizzard to install.
-> Install LAMP
tasksel install lamp-server
-> Create database
mysql -u root -p
create user 'kb'@'localhost' identified by 'password';
create database kbdb;
grant all privileges on kbdb.* to 'kb'@'localhost';
-> Prepare for clean URL
a2enmod rewrite
/etc/init.d/apache2 restart
vim /etc/apache2/sites-enabled/000-default
-> change "AllowOverride None" to "AllowOverride All"
-> Install drupal
cd ~
mkdir www
cd www
sudo su
wget http://ftp.drupal.org/files/projects/drupal-6.20.tar.gz tar -xvf drupal-6.20.tar.gz
cp drupal-6.20 /var/www/kb -R
cd /var/www/kb/sites/default
cp default.settings.php settings.php
chmod 777 settings.php
mkdir files
chmod 777 files
-> go to http://localhost/kb, and run the wizzard to install.
相关文章推荐
- drupal8学习笔记三 calendar(日历模块)
- Drupal 学习笔记 (2)
- Drupal--Day7:git学习笔记
- Drupal学习笔记-1.模块入门
- drupal8学习笔记之 如何设置站点名称
- Drupal 学习笔记 (3)
- Drupal commerce checkout流程学习笔记
- drupal 学习笔记一 安装docker or drupal
- Drupal 学习笔记 (4)
- Drupal7学习笔记之Theme
- drupal6的AJAX,ahah学习研究笔记
- drupal7 学习笔记-----(持续更新中...)
- drupal8 学习笔记二 Views Slideshow(幻灯片模块)
- Drupal学习笔记
- Drupal学习笔记一:Druple安装
- Drupal7学习笔记之Theme
- [学习笔记] .Net 3C: CLR CLS CTS
- Boost.Python学习笔记
- cobol学习笔记(4)COBOL的程序结构 INPUT-OUTPUT SECTION2010/06/30 16:45INPUT-OUTPUT SECTION(输入输出节)
- Entity Framework 4.1需要注意的事项【学习笔记】