Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:installation:drupal_installation [2017/09/07 12:59]
Lisa Clarke [Download and Extract Drupal]
litespeed_wiki:installation:drupal_installation [2017/09/07 13:30]
Ron Saad [Install PHP modules]
Line 5: Line 5:
 ===== Install PHP modules ===== ===== Install PHP modules =====
 The easiest way to install PHP for LiteSpeed is through our CentOS repository. If the LiteSpeed Repository was not installed and enabled during the web server installation,​ follow [[http://​www.litespeedtech.com/​support/​wiki/​doku.php?​id=litespeed_wiki:​php:​rpm | this guide]] to install and enable the LiteSpeed Repository. The easiest way to install PHP for LiteSpeed is through our CentOS repository. If the LiteSpeed Repository was not installed and enabled during the web server installation,​ follow [[http://​www.litespeedtech.com/​support/​wiki/​doku.php?​id=litespeed_wiki:​php:​rpm | this guide]] to install and enable the LiteSpeed Repository.
-===Step 1.Install PHP===+===Step 1. Install PHP===
 You can install some of the most commonly-used PHP 7.1 packages and modules for LiteSpeed. Use the following command: You can install some of the most commonly-used PHP 7.1 packages and modules for LiteSpeed. Use the following command:
  
 <​code>​sudo yum install lsphp71 lsphp71-mysqlnd lsphp71-common lsphp71-gd lsphp71-pdo lsphp71-process lsphp71-mbstring lsphp71-mcrypt lsphp71-opcache lsphp71-bcmath lsphp71-xml lsphp71-soap lsphp71-json -y </​code>​ <​code>​sudo yum install lsphp71 lsphp71-mysqlnd lsphp71-common lsphp71-gd lsphp71-pdo lsphp71-process lsphp71-mbstring lsphp71-mcrypt lsphp71-opcache lsphp71-bcmath lsphp71-xml lsphp71-soap lsphp71-json -y </​code>​
-===Step 2.Setup PHP===+===Step 2. Setup PHP===
 Visit ''<​nowiki>​http://​your_server_IP:​7080</​nowiki>''​. Navigate to **Server Configuration > External app**, then click the second icon **Edit** on the right hand side in order to edit this application.\\ Visit ''<​nowiki>​http://​your_server_IP:​7080</​nowiki>''​. Navigate to **Server Configuration > External app**, then click the second icon **Edit** on the right hand side in order to edit this application.\\
 Modify: Modify:
   * **Name**: lsphp -> ''​lsphp71''​   * **Name**: lsphp -> ''​lsphp71''​
   * **Command**:​ $SERVER_ROOT/​fcgi-bin/​lsphp5 -> ''​$SERVER_ROOT/​lsphp71/​bin/​lsphp''​   * **Command**:​ $SERVER_ROOT/​fcgi-bin/​lsphp5 -> ''​$SERVER_ROOT/​lsphp71/​bin/​lsphp''​
-===Step 3.Restart LSWS===+===Step 3. Restart LSWS===
 When you are finished, click the **Save** icon to save your changes, then click the **Graceful Restart** button. When you are finished, click the **Save** icon to save your changes, then click the **Graceful Restart** button.
 ===Step 4. PHP Verification=== ===Step 4. PHP Verification===
Line 62: Line 62:
 ===== Drupal Installation ===== ===== Drupal Installation =====
  
-Open browser with URL http://​server_IP:​8088/​+Open the browser with URL ''<​nowiki>​http://​server_IP:​8088/​</​nowiki>''​
  
-This will start Drupal web installer and it will look something like this:+==== Choose language ==== 
 + 
 +This will start the Drupal web installer and it will look something like this:
  
 {{ :​litespeed_wiki:​installation:​drupal-1.png?​600 |}} {{ :​litespeed_wiki:​installation:​drupal-1.png?​600 |}}
  
-Select your preferred language and click "Save and Continue".+Select your preferred language and click **Save and Continue**.
  
-** Select an installation ​profile ​**+==== Choose ​profile ​====
  
 {{ :​undefined:​installation-profile.png?​600 |}} {{ :​undefined:​installation-profile.png?​600 |}}
  
-Next step is to choose ​installation profile, you have two options here:+Select your installation profile. You have two options here:
  
   * Standard.   * Standard.
   * Minimal.   * Minimal.
  
-Standard would be fine for most users, ​with minimal ​you will have the options ​to install all required functionalities ​manually, for now, you should select Standard.+Standard would be fine for most users. With Minimal, you will have the option ​to manually ​choose which functions to install. For now, you should select Standard. 
 + 
 +==== Verify requirements ====
  
-** Requirements **+On the next step, Drupal checks if all of the requirements are met on the server side. First, make sure to create a settings file using the following command: ​
  
-On next step, Drupal check if all the requirements are met on the server side. First make sure to create following file ''​sites/​default/​settings.php'',​ you can do that using ''​cp sites/​default/​default.settings.php sites/​default/​settings.php''​.+  ​cp sites/​default/​default.settings.php sites/​default/​settings.php
  
-Second, ​you need to make sure that the folder which contains Drupal (and all folders/​files inside it) must be owned by the user under which web server runs, in this case user ''​nobody''​.+Second, make sure that the folder which contains Drupal (and all folders/​files inside ​of it) is owned by the user under which the web server runs, in this case user ''​nobody''​.
  
-Once the requirements are met you will be redirected ​to enter database information.+Once the requirements are met you will be directed ​to enter database information.
  
-**Database Configuration**+==== Set up database ====
  
 {{ :​litespeed_wiki:​installation:​drupal-db.png?​600 |}} {{ :​litespeed_wiki:​installation:​drupal-db.png?​600 |}}
  
  
-We've created database above, just enter the database details and click "Save and continue". If Drupal installer is successfully able to connect to the database, it will start the installation process.+We've created ​the database above. Just enter the database details and click **Save and continue**. If the Drupal installer is successfully able to connect to the database, it will start the installation process.
  
-** Configure site **+==== Configure site ====
  
-On this step installer will let you configure settings for your site, example ​settings are:+On this step, the installer will let you configure settings for your site. Example ​settings are:
  
-  * **Site name:** Litespeedtech +  * **Site name:​** ​''​Litespeedtech''​ 
-  * **Site email address:** drupal@example.com +  * **Site email address:​** ​''​drupal@example.com''​ 
-  * **Username:​** litespeedtech +  * **Username:​** ​''​litespeedtech''​ 
-  * **Password:​** litespeedtech+  * **Password:​** ​''​litespeedtech''​
  
-Once you are satisfied, you can finally click "Save and continue" ​and your installation is successfully completed, you will now be redirected to Drupal homepage, which looks something like:+Once you are satisfied, you can finally click **Save and continue** and your installation is successfully completed. You will now be redirected to the Drupal homepage, which looks something like:
  
  
 {{ :​litespeed_wiki:​installation:​drupal-installed.png?​600 |}} {{ :​litespeed_wiki:​installation:​drupal-installed.png?​600 |}}
  
  • Admin
  • Last modified: 2017/09/07 13:30
  • by Ron Saad