install:openlitespeed
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:openlitespeed [2017-05-25 14:04] – [Step4: Setup PHP7.1] 47.22.54.182 | install:openlitespeed [2017-05-25 17:37] (current) – 47.22.54.182 | ||
---|---|---|---|
Line 1: | Line 1: | ||
======DokuWiki with OpenLiteSpeed + PHP 7 on CentOS 7====== | ======DokuWiki with OpenLiteSpeed + PHP 7 on CentOS 7====== | ||
- | =====Step1: Install OpenLiteSpeed===== | + | =====Step 1: Install OpenLiteSpeed===== |
Add the CentOS7 Repository then install: | Add the CentOS7 Repository then install: | ||
< | < | ||
yum install openlitespeed -y</ | yum install openlitespeed -y</ | ||
- | =====Step2: Install PHP7===== | + | =====Step 2: Install PHP7===== |
- | You can list all packages starting with lsphp using the command below: | + | List all packages starting with lsphp using the command below: |
< | < | ||
- | Then you can install | + | Install |
< | < | ||
- | =====Step3: Setup admin credentials and firewall===== | + | =====Step 3: Setup admin credentials and firewall===== |
< | < | ||
Provide info as below: | Provide info as below: | ||
- | * User name [admin]: < | + | |
- | * Password: < | + | |
- | * Retype password: < | + | |
- | To allow ports 7080 and 8088 to gain web access to the Web-admin and default pages: | + | To allow ports 7080 and 80 to gain web access to the Web-admin and default pages: |
< | < | ||
- | firewall-cmd --zone=public --permanent --add-port=8088/tcp | + | firewall-cmd --zone=public --permanent --add-port=80/tcp |
firewall-cmd --reload</ | firewall-cmd --reload</ | ||
- | Now, go to '' | + | Visit '' |
- | =====Step4: Setup PHP7.1===== | + | Navigate to **Configuration > Listeners > View** and change OpenLiteSpeed' |
- | Click the '' | + | |
+ | =====Step 4: Setup PHP7.1===== | ||
+ | Navigate to **Server Configuration | ||
Modify: | Modify: | ||
- | - Name: lsphp5 -> **lsphp71** | + | - **Name**: '' |
- | - Command: $SERVER_ROOT/ | + | - **Command**: '' |
- | After the modification, | + | Click the **Save** icon to save your changes, then click the **Graceful Restart** |
- | ===Verification | + | ===Verification: |
- | Point your web browser | + | Go to '' |
- | =====Step5: Setup DokuWiki===== | + | =====Step 5: Setup DokuWiki===== |
- | INSTALL lates stable version of DOKUWIKI: | + | Install the latest |
- | < | + | < |
tar xvf / | tar xvf / | ||
chown -R nobody / | chown -R nobody / | ||
- | Point your web browser | + | Go to '' |
- | Once you complete the installer, you can safely remove | + | Once you complete the installer, you can safely remove |
< | < | ||
- | Now you can start DokuWiki on http:// | + | Now you can start DokuWiki on ''< |
===Tips=== | ===Tips=== | ||
* You may want to change '' | * You may want to change '' | ||
- | | + | * You can set up your domain on it, which will be easier |
- | | + | * You can set up a rewrite rule from **Web-Admin > Virtual Hosts > Rewrite** (i.e. shorten |
- | * You can setup rewrite rule from '' | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
install/openlitespeed.1495713885.txt.gz · Last modified: 2017-05-25 14:04 by 47.22.54.182