Use EC2, VPC detailed steps to build blog system -1

  • 1搭建 Amazon Virtual Private Cloud (Amazon VPC)
    • 1.1 build steps:
      • 1.1.1 Creating VPC
      • 1.1.2 Subnet
      • 1.1.3 Routing Table
      • 1.1.4Internet Gateway
      • 1.1.5DHCP set of options
      • 1.1.6NAT Gateway
      • 1.1.7ACL and security groups
  • 2 Start EC2 instance, select the appropriate AMI and the like.
  • 3 Install LAMP Web servers on the Amazon Linux 2
    • 3.1 Installation steps:
      • 3.1.1 Remote (CRT use * .pub)
      • 3.1.2 and PHP install Amazon Linux Extras
      • 3.1.3 install Apache Web, MariaDB 
      • 3.1.4 start, set the boot from the start apache and so on. And tested.
        • 3.1.4.1 Test apache
      • 3.1.5 Set file permissions
      • 3.1.6 acquire CA, enable SSL / TLS
        • 3.1.6.1 Creating a Key
        • 3.1.6.2 Modify key permissions
        • 3.1.6.3 generate a certificate request file (Certificate Signing Request).
        • 3.1.6.4 signed certificate is generated. The three parties signed. And modify the key permissions.
        • 3.1.6.5 Configuration ssl.conf
        • 3.1.6.6 enhanced security configuration
      • 3.1.7 ensure the security of the database server
      • 3.1.8 install phpMyAdmin
  • 4 Install WordPress
    • Step 4.1
      • 4.1.1 create a database user and the database to install WordPress
      • 4.1.2 Creating and editing wp-config.php file
      • 4.1.3 will install WordPress files to the Apache document root
      • WordPress 4.1.4 allows the use of permalink
      • Apache Web Server 4.1.5 fix file permissions, run the install script WordPress
  • 5 achievement to build WordPress blog

Guess you like

Origin www.cnblogs.com/gunxiaoshi/p/11735949.html