Sie sind auf Seite 1von 10

8038

cPanel Drupal Exercise


The purpose of this exercise is to guide through a process of installing a CMS package. In this exercise you install the Drupal content management system in your cPanel account. Drupal is primarily blogging software, but it does have many plug-ins to extend the functionality. Mainly though, it is easy to install. More information about Drupal can be found at Drupal.org. Install the Files 1. Copy the installation folder from drupal-6.4from H:\Business\DISC\8038\ 2. Upload drupal-6.4 in public_html folder of your account. Rename the folder as drupal. You can do that via an ftp client. 3. Make sure that the folder has write permission. In WS_FTP LE client, select the folder and right click the folder name, choose chmod (UNIX) you should see the following dialog box, make sure that Write and Executable options are checked.

In FileZilla, select the folder and right click the folder name, choose File permissions you should see the following dialog box, make sure that Write and Executable options are checked. Remember the Number value (777) which could be used used to grant the same permission in the next a few steps.

ISCG8038 Website Management

cPanel Drupal Exercise

8038
Create the database 4. Login to your cPanel. (https://*.cpanel.unitec.ac.nz:2083/, where * is your username) 5. Click on the MySQL Databases icon. This will bring you to the MySQL Account Maintenance page. 6. Choose a name for your database. It can be anything you want. DrupalDB or the same name that you chose for the web folder is good choices. Enter your choice of name into the Database box and click the Create Database button. You should see a confirmation message.

7. You also need to create a database user. Go back to the MySQL Account Maintenance page, scroll down to the Users: form. Enter a username and password, again this can be anything you want. A good choice for the username might be duser. Write down the username and password that you chose and then click the Create User button.

8. You should see a confirmation message.

9. In this step you need to assign the user to the database. Go back to the MySQL Account Maintenance page; you can see the list of all databases created.

ISCG8038 Website Management

cPanel Drupal Exercise

8038
In the User and Database select menus, choose the username that you just created (in this case, username = *_duser, where * is your cpanel username, password = dpass, which is exactly what you have typed in) and the database you just created (in this case, *_DrupalDB). Then click the Add button to add the user to the database. 10. You should see the following message:

11. Tick on the ALL PRIVILEGES box, then click on the Make Changes button. You should see the following message again:

12. Inside the drupal-6.4/sites/default folder, find the file default.settings.php, make a down it and rename this file to settings.php and then upload it to /public_html/drupal/sites/default 13. Create a directory public_html/drupal/sites/default/files and grant writing permission. 14. From browser, type in http://*.cpanel.unitec.ac.nz/drupal/ (where * is your own username ) you should see

15.

Click on Install Drupal in English, you should see.

ISCG8038 Website Management

cPanel Drupal Exercise

8038

16.

Type in the database name and the user name you have created in step 6 - 9.

17. Type in the database name and the user name you have created in step 6 - 9, click Save and continue button you should see the following configure site options, type in the details as shown:

ISCG8038 Website Management

cPanel Drupal Exercise

8038

ISCG8038 Website Management

cPanel Drupal Exercise

8038

18. Type in the database name and the user name you have created in step 6 - 9, click Save and continue button you should see:

ISCG8038 Website Management

cPanel Drupal Exercise

8038
19. Change the permission for settings.php into read only. In WS_FTP LE client, select the file and right click the file, choose chmod (UNIX) you should see the following dialog box, make sure that only Read options are checked. .

In FileZilla, select the file and right click the file name, choose File permissions you should see the following dialog box, make sure that Write and Executable options are unchecked..

20. Request the page from http://*.cpanel.unitec.ac.nz/drupal/ (where * is your username) you should see the following:

ISCG8038 Website Management

cPanel Drupal Exercise

8038

21. Click logout from the above, you should see the following:

22. Well done! The installation procedure is finished.

ISCG8038 Website Management

cPanel Drupal Exercise

8038
23. Here is a Drupal website. http://temp1.cpanel.unitec.ac.nz/drupal/ The Druppal configuration Wizard 24. Go to http://*.cpanel.unitec.ac.nz/drupal/index.php from a browser (where * is your username). 25. Follow the steps on the above page to configure your Drupal. Take the username and the password you have created for the administer account in Step 17. 26. Logon on to the administer account. 27. Select Administer/Reports/Recent log entries, and see what information you can see. 28. Select Administer/Site building/Themes, choose a different theme for your Drupal. 29. Select Administer/User management/Users, create two more user accounts by using the following data: Username = user1 Password = password1 Email = user1@*.cpanel.unitec.ac.nz Username = user2 Password = password2 Email = user2@*.cpanel.unitec.ac.nz (where * is your cPanel username) 30. Select /Create Content/Page to create a page for yourself. Please make sure to set the comment settings so that people can post comments. 31. Logout administrator. Login to Drupal 32. Go to: http://*.cpanel.unitec.ac.nz/drupal/index.php (where * is your username). 33. Login as user1, post some comments, when you submit the comment, you need to click on the Preview comment button and then Post comment button, logout. 34. Login as user2, post some comments, when you submit the comment, you need to click on the Preview comment button and then Post comment button, logout. Do more management 35. Logon as an administrator again. 36. Go to Administrator/User management/ Roles

ISCG8038 Website Management

cPanel Drupal Exercise

8038
Edit Permissions for authenticated user, do some experiments here. For example, in the comment module, change the access comments option to anonymous user and authenticated user, and then click on the Save permissions button. Get into a pair with another student. 37. Visit their Drupal site and post a comment on their site.

ISCG8038 Website Management

cPanel Drupal Exercise

Das könnte Ihnen auch gefallen