tar -zxvf drupal-x.x.tar.gzThis will create a new directory drupal-x.x/ containing all Drupal filesand directories. Move the contents of that directory into a directory withinyour web server's document root or your public HTML directory:mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html2. CREATE THE DRUPAL DATABASEDrupal requires access to a database in order to be installed. Your databaseuser will need sufficient privileges to run Drupal. Additional informationabout privileges, and instructions to create a database using the commandline are available in INSTALL.mysql.txt (for MySQL) or INSTALL.pgsql.txt(for PostgreSQL).To create a database using PHPMyAdmin or a web-based control panel consultthe documentation or ask your webhost service provider.Take note of the username, password, database name and hostname as youcreate the database. You will enter these items in the install script.3. RUN THE INSTALL SCRIPTThe install script will set the base URL, connect Drupal to the database, andcreate tables in the database.To run the install script point your browser to the base url of your website(i.e. http://www.example.com). You will be presented with the "DatabaseConfiguration" page.The install script will attempt to write-protect the settings.php afterupdating it with the information you provide in the installation routine.If you make manual changes to that file later, be sure to protect it againafter making your modifications. Failure to remove write permissions tothat file is a security risk. The default location for the settings.phpfile is at sites/default/settings.php, but it may be in another locationif you use the multi-site setup, as explained below.4. CONFIGURE DRUPALWhen the install script succeeds, you will be directed to the "Welcome" page.In "step one" click "create the first account" which will become the mainadministrator account with total control. Login as the administrator andcomplete the initial configuration steps on the "Welcome" page.Consider creating a "files" subdirectory in your Drupal installationdirectory. This subdirectory stores files such as custom logos, user avatars,and other media associated with your new site. The sub-directory requires"read and write" permission by the Drupal server process. You can changethe name of this subdirectory at "administer > site configuration > filesystem".5. CRON TASKSMany Drupal modules (such as the search functionality) have periodic tasksthat must be triggered by a cron job. To activate these tasks, call the cronpage by visiting http://www.example.com/cron.php --this will pass control to
Leave a Comment