drupal 环境搭建
来源:互联网 发布:linux开机启动程序 编辑:程序博客网 时间:2024/05/17 22:21
drupal安装:点击打开链接
The Acquia Drupal Debian/Ubuntu "deb package" configures all the software you need to build a Drupal web site on your Ubuntu 9.x, 8.x or Debian 5.x desktop or server, including Acquia Drupal, Apache, MySQL and PHP.
Install Drupal
Download deb package
Download the package from http://network.acquia.com/downloads.
Install package
Once the package is on the system where it will be installed, execute the following command in the terminal using the exact file name of the deb package, enter your system password when prompted and follow any subsequent instructions:
sudo dpkg -i acquia-drupal[version number]all.deb
Installation errors - unmet dependencies, failed installation - If you see one or more error messages similar to these, follow the instructions below:
dpkg: dependency problems prevent configuration of acquia-drupal6:acquia-drupal6 depends on apache2 | httpd; however:Package apache2 is not installed.Package httpd is not installed.acquia-drupal6 depends on dbconfig-common; however:Package dbconfig-common is not installed.acquia-drupal6 depends on exim4 | mail-transport-agent; however:Package exim4 is not installed.Package mail-transport-agent is not installed.dpkg: error processing acquia-drupal6 (--install):dependency problems - leaving unconfiguredErrors were encountered while processing:acquia-drupal6
These error messages mean that one or more dependencies (other software that Acquia Drupal needs to be able to run) for installing and running acquia Drupal have not been met on your system.
Run the following command to install the dependencies:
sudo apt-get -f install
Then rerun the Acquia Drupal installation package:
sudo dpkg -i acquia-drupal[version number]all.deb
Install Acquia Drupal
To complete the installation of Acquia Drupal, you need to visit the installation page in your browser by adding the required site details like the site administrator's username, the name of the site and contact e-mail on the Drupal installation screen.
Visit your site in the browser at http://localhost/acquia-drupal6 and fill in the required installation details.
Test drupal
Test apache
To make sure everything installed correctly we will now test Apache to ensure it is working properly.
Open up any web browser and then enter the following into the web address:
http://localhost/
You should see a message saying "It works!"
Test PHP
To ensure there are no issues with PHP let's give it a quick test run.
Step 1. In the terminal copy/paste the following line:
sudo gedit /var/www/testphp.php
This will open up a file called phptest.php.
Step 2. Copy/Paste this line into the phptest file:
<?php phpinfo(); ?>
Step 3. Save and close the file.
Step 4. Now open you're web browser and type the following into the web address:
http://localhost/testphp.php
The page should show all the info about the PHP server.
- drupal 环境搭建
- WAMP+Drupal 环境搭建痛苦回忆录!
- 搭建一个纯linux的Drupal开发环境
- 如何在Linux 上搭建PHP和Drupal开发环境和调试环境?
- drupal搭建多站点
- 搭建Drupal 7
- 使用Drupal搭建多站点
- Quickstart Drupal预装开发环境
- drupal
- drupal
- drupal
- Drupal
- Drupal
- drupal
- 建立aiCache的drupal测试环境
- xampp环境下drupal安装心得
- 在WampServer环境下安装Drupal框架
- 你的网站适合用Drupal搭建吗
- 如何反编译apk?
- 我的第一篇博客
- python windows钩子
- php文件上传功能
- 浅谈HTTP中Get与Post的区别
- drupal 环境搭建
- 我眼中的云--什么是云
- 读书时间 2011/10/25
- ASCII码排序
- Binary String Matching
- 会场安排问题
- 排序各种方法汇总!
- 会场安排问题
- 喷水装置(一)