User Tools

Site Tools


sysadmin:dokuwiki:dokuwiki_install_aws_ec2

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
sysadmin:dokuwiki:dokuwiki_install_aws_ec2 [2020/10/07 20:06]
vidyasb
sysadmin:dokuwiki:dokuwiki_install_aws_ec2 [2020/10/07 20:09] (current)
vidyasb
Line 52: Line 52:
 sudo chmod -R 0700 vendor sudo chmod -R 0700 vendor
 </code> </code>
-  - From web browser on your PC, go to ''http:%%//%%<<Elastic IP>>/install.php''+  - Update DNS host record with your Domain Registrar or Domain Management Service 
 +  - From web browser on your PC, go to ''https:%%//%%<<domain name>>/install.php''
   - Fill all the required details   - Fill all the required details
   - Generate CloudFlare Origin Certificate   - Generate CloudFlare Origin Certificate
Line 63: Line 64:
 Replace //<<Paste Private Key>>// with Private Key for Origin Certificate generated in your CloudFlare account  Replace //<<Paste Private Key>>// with Private Key for Origin Certificate generated in your CloudFlare account 
 </WRAP><code> </WRAP><code>
-mkdir /usr/local/ssl +sudo mkdir /usr/local/ssl 
-vi /usr/local/ssl/<<domain name>>.crt+sudo vi /usr/local/ssl/<<domain name>>.crt
 <<Paste Origin Certificate>> <<Paste Origin Certificate>>
-vi /usr/local/ssl/<<domain name>>.crt+sudo vi /usr/local/ssl/<<domain name>>.crt
 <<Paste Private Key>> <<Paste Private Key>>
-vi /usr/local/ssl/cloudflare.crt+sudo vi /usr/local/ssl/cloudflare.crt 
 +<<Paste CloudFlare certificate from below>>
 </code>[[https://support.cloudflare.com/hc/article_attachments/360037885371/origin_ca_rsa_root.pem]]<file txt cloudflare.crt> </code>[[https://support.cloudflare.com/hc/article_attachments/360037885371/origin_ca_rsa_root.pem]]<file txt cloudflare.crt>
 -----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
Line 105: Line 107:
 sudo systemctl restart httpd sudo systemctl restart httpd
 </code> </code>
-  - Update DNS host record with your Domain Registrar or Domain Management Service 
   - Test security of your website by accessing ''https:%%//%%<<domain name>>/data/pages/wiki/dokuwiki.txt''. Refer to [[doku>security#web_access_security]] for detailed instructions on how to properly secure important directories in your DokuWiki installation.   - Test security of your website by accessing ''https:%%//%%<<domain name>>/data/pages/wiki/dokuwiki.txt''. Refer to [[doku>security#web_access_security]] for detailed instructions on how to properly secure important directories in your DokuWiki installation.
sysadmin/dokuwiki/dokuwiki_install_aws_ec2.1602101194.txt.gz · Last modified: 2020/10/07 20:06 by vidyasb