官术网_书友最值得收藏!

Assumptions

To get Drupal up and running, you will need all of the following:

  • A domain
  • A web host
  • FTP access to your web host

OR

  • A local testing environment

For building sites, either a web host or a local testing environment will meet your needs. A site built on a web-accessible domain can be shared via the internet, whereas sites built on local test machines will need to be moved to a web host before they can be used for your course. The process of backing up and moving sites is covered in Chapter 15: Backup, Maintenance, and Upgrades.

Note

In these instructions, we are assuming the use of phpMyAdmin, an open-source, browser-based tool, for administering your database. A broad range of similar tools exist, and these general instructions can be used with most of these other tools. Information on phpMyAdmin is available at http://www.phpmyadmin.net; information on other browser-based database administration tools can be found at http://dev.mysql.com/downloads/gui-tools/.

The Domain

The domain is the address on the Web at which people can access your site. If you are building this site as part of your work, you will probably be using the domain associated with your school or organization. If you are hosting this on your own server, you can buy a domain for under US $10.00 a year. Enter purchase domain name into Google, and you will have a plethora of options.

The Web Host

Your web host provides you with the server space on which to run your site. Within many schools, your website will be hosted by your school. In other environments, you might need to arrange for your own web host by using a hosting company. In selecting a web host, you need to be sure that they run software that meets or exceeds the recommended software versions.

Web Server

Drupal is developed and tested extensively in an Apache environment. Drupal also runs on other web servers, including Microsoft IIS.

PHP version

Drupal 6 will run on PHP 4.3.5; however, many contributed modules require PHP 5.2. For this reason, PHP 5.2 is recommended. The Drupal 7 release will require PHP 5.2.

MySQL version

Drupal 6 will run on MySQL 4.1 or higher; 5 is recommended. The Drupal 7 release will require MySQL 5.0.

FTP and Shell Access to Your Web Host

Your web host should also offer FTP access to your web server. You will need FTP (or SFTP) access in order to upload the Drupal codebase to your web space. Shell access, or SSH access is not essential for basic site maintenance. However, SSH access can simplify maintaining your site, so contracting with a web host that provides SSH access is recommended.

A Local Testing Environment

Alternatively, you can set up a local testing environment for your site. This allows you to set up Drupal and other applications on your computer. A local testing environment can be a great tool for learning a piece of software. Fortunately, open-source tools can automate the process of setting up your testing environment.

PC users can use XAMPP (http://www.apachefriends.org) to set up a local testing environment; Mac users can use MAMP (http://www.mamp.info).

If you are working in a local testing environment set up via XAMPP or MAMP, you have all the pieces you need to start working with Drupal: your domain, your web host, the ability to move files into your web directory, and PHPMyAdmin.

主站蜘蛛池模板: 咸阳市| 泸溪县| 乳源| 安福县| 凭祥市| 松江区| 咸宁市| 岐山县| 巨野县| 长武县| 乌苏市| 乌苏市| 申扎县| 盈江县| 马尔康县| 满洲里市| 宜宾县| 韩城市| 庆城县| 沧州市| 新龙县| 彭山县| 西安市| 黑山县| 罗城| 嘉黎县| 县级市| 昌邑市| 中阳县| 山丹县| 天长市| 新绛县| 会宁县| 那坡县| 衢州市| 花莲县| 岑巩县| 浦江县| 得荣县| 承德市| 呼玛县|