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.
Download the package from http://network.acquia.com/downloads.
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 unconfigured Errors 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
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.
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!"
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.