0% found this document useful (0 votes)
8 views3 pages

Getting Started with Drupal 10

Chapter 2 provides an overview of getting started with Drupal, an open-source project under the GPLv3 license, which requires understanding its implications for development projects. It outlines the system requirements for running Drupal, including the need for a LAMP environment, and details the installation process, including setting up a MySQL database. The chapter also mentions options for testing Drupal without a server using XAMPP or MAMP for Windows and Mac users, respectively.

Uploaded by

William Ko
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Getting Started with Drupal 10

Chapter 2 provides an overview of getting started with Drupal, an open-source project under the GPLv3 license, which requires understanding its implications for development projects. It outlines the system requirements for running Drupal, including the need for a LAMP environment, and details the installation process, including setting up a MySQL database. The chapter also mentions options for testing Drupal without a server using XAMPP or MAMP for Windows and Mac users, respectively.

Uploaded by

William Ko
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Chapter 2

Getting Started
With Drupa

D
rupal is an open-source project released under the cannot use Microsoft's SQL database, so Windows users
GNU General Public License Version 3, or GPLv3. would still need to install MySQL and PHP.
A detailed overview of the licensing can be found The school library system of Genesee Valley BQCES
in the Drupal installation archive or on the GNU General is running Fish4Info for over 30 libraries, along with
Public License page. This license requires that any proj- quite a few additional Drupal sites, on a single server. The
ects developed using Drupal also be released under the server is, as servers run, about average. It has dual proces-
same GPL. It is important that anyone considering the sors and 4GB of memory and uses a RAID setup for faster
use of Drupal read and understand the requirements of hard drive access. We expect this $8,000 server to scale
the GPLv3 and how it interacts with any institutional poli- up to meet our Drupal needs for the next few years as we
cies or expectations for development projects. add more libraries to Fish4Info. For smaller sites, a basic
Web server will run about $3,000 for a decent amount
of memory and RAIDed hard drives. Libraries without
GNU General Public License page the technical support or infrastructure to run their own
[Link]/copyleft/[Link] server can easily purchase Web hosting services for their
Drupal site.

System Requirements Installation


Ol
o Drupal is designed to run under what is commonly referred Drupal installation is actually very easy once the required
to as a LAMP environment. This refers to the Linux operat- support systems of Apache, MySQL, and PHP are set up.
ing system, the Apache Web server, the MySQL database, To start using Drupal, download the latest stable version
and the PHP language. This environment is built from from the [Link] Web site and copy the files from the
open-source software, which means the only startup cost downloaded archive to your Web documents directory.
for Drupal is the hardware for a Web server. Most com- When you download Drupal, it will come in a compressed
mercial Web hosting companies provide these services . t a r . g z file. You need to extract this file to add it to
as a default package, though you may need to confirm your site. If you are using Linux or Mac QS X, this is no
oa that all of Drupal's specific requirements for settings in problem. In Windows, you may find that your regular zip-
a
Apache and PHP are met. The core Drupal software will centric compression utility does not know how to handle
run under Microsoft's Server software using the IIS Web . t a r . g z files. You can use the free software Extract Now
server, but user-contributed add-ons and advanced func- at to access the files.
tionality may not be fully supported. At this time, Drupal
[Link] Website Testing Drupal: No Server Required
[Link]
If you want to take a look at Drupal and work through some
Extract Now ot the intormation provided here, there is a way to install
[Link] a test site that does not require a Web server. It must be
stressed, however, that the method discussed here is for
testing purposes only and is not intended for use as a live
After downloading and extracting the installation
server. To try Drupal on a Windows computer, you can
files, the first thing you will need to do is create a data-
base within MySQL to hold the information from Drupal. download and install XAMPP, a single Windows program
Qnce you have a database created, you can run the Drupal that provides an easy-to-use package of Apache, MySQL,
installation program by pointing your browser to the root and PHP XAMPP is a free download. There is also a Mac
of the directory into which you installed Drupal. The OS X version available for XAMPP, but we had better luck
installation dialog will ask for the name of your MySQL with MAMP, a Mac-only free download. Once you set
database as well as the database username and password
up one of these packages, follow the regular installation
(see figure 1). Assuming there are no problems, Drupal
will then proceed to install itself with a default set of con- instructions.
figurations. If you do encounter problems, you can find
additional help in the handbooks on [Link].
When everything is installed, you will be taken to
XAMPP download
your new Drupal Web site. The next thing you must do
http ://www,apachefriends,org/en/xampp,htnni

MAMP download
[Link]

Database contiguration
Sssicosttons
^ [Link] reqi/lrcntcnw

• SMU|.i)«»la«,

RnisnetJ

Dstsbas« UMtmttma: *
cr.
1
Dstabat« passwtmli

1
3
Figure 1 O
><
Drupal installation dialog. 7)
IS
•D
O
is create your first user. Click on the link Create the First
Account under Step 1. This first account is a super-user
account that has complete access to the entire Web site.
Protect this account password! After logging in with your
new user, you can click on the Administer link in the left 9-
sidebar. This will take you to the administration section,
which will show a message about some problems with
your installation. Click on the Status Report link to see
any issues that Drupal may have found. After this, you are
ready to begin working with your site.

Common questions

Powered by AI

The recommended tool for handling compressed files during Drupal installation on Windows is Extract Now. This free software is necessary because standard Windows utilities centered around ZIP files may not handle .tar.gz files used by Drupal, making it imperative to have a compatible tool to extract these files correctly .

Installing Drupal involves several key steps: downloading the latest version from Drupal.org, extracting the files to a web directory, and creating a MySQL database to store Drupal's data. You then run the installation program via a web browser, entering database credentials when prompted. Some challenges include handling compressed .tar.gz files on Windows and ensuring that the MySQL server and PHP are correctly configured to meet Drupal's requirements. If issues arise, users can refer to the handbooks available on Drupal.org .

A user can test Drupal without a web server by installing XAMPP on Windows or MAMP on Mac OS X, which provide an all-in-one package of Apache, MySQL, and PHP. This allows for a local testing environment. However, this setup is solely for development purposes and is not suitable for a live application, mainly because it lacks the security and scalability features needed for production .

The requirement to use MySQL as the database system poses a challenge for Windows users because Drupal cannot utilize Microsoft's SQL database. Thus, Windows users must install MySQL and configure it alongside PHP to properly run Drupal. This stipulation ensures compatibility and performance but requires additional setup steps .

The Status Report in a newly installed Drupal site provides critical insights into configuration issues or errors that may affect the site’s performance and security. It is important because it helps administrators identify potential problems early, ensuring the site is properly optimized and all components are functioning correctly, which is crucial for maintaining site health and performance .

The first user account created during Drupal installation becomes the super-user, which holds complete administrative privileges over the site. This account is crucial because it has unfettered access to all site functionalities, configurations, and security settings. Protecting this account with a strong password is essential to safeguard the site from unauthorized access and maintain overall security integrity .

Smaller institutions or libraries might choose web hosting services for their Drupal sites because they may lack the technical expertise or infrastructure to manage their own servers. Web hosting services can offer a more straightforward and cost-effective solution for these organizations by providing managed hosting environments that are configured to meet Drupal’s requirements without the need for in-house IT management .

A typical Drupal site is designed to run in a LAMP environment, which includes the Linux operating system, the Apache web server, the MySQL database, and the PHP programming language. This setup is recommended because it is composed entirely of open-source software, which aligns well with Drupal’s GPLv3 licensing. A LAMP stack provides an efficient and cost-effective solution for running Drupal sites as it eliminates any software costs beyond the hardware itself .

Drupal being released under the GNU General Public License Version 3 (GPLv3) means that any projects developed using Drupal must also be released under GPLv3. This open-source license requires developers to share their modifications and projects under the same license, ensuring that the software remains free and open for public use and contribution. Developers must understand how GPLv3 interacts with institutional policies or expectations, particularly concerning the sharing and modification of source code .

Institutions deploying Drupal across multiple library sites must consider server capacity and management. An average server with dual processors, 4GB of memory, and a RAID setup, costing about $8,000, is projected to meet expanding needs as additional libraries are added. For smaller operations, a basic web server costing around $3,000 may suffice. Moreover, institutions lacking technical support might opt for commercial web hosting services to offload server management and maintenance .

You might also like