Mr. Teo En Ming's Guide to Deploying CentOS Web Panel (CWP) Web Hosting Control Panel on Amazon AWS Cloud
Turritopsis Dohrnii Teo En Ming <[email protected]> Sun, 23 Feb 2020 13:44:30 +0000
| Newsgroups | gmane.linux.lfs.general |
|---|---|
| Message-ID | <SG2PR01MB2141C59AF27A2E9B61A6CC6787EF0@SG2PR01MB2141.apcprd01.prod.exchangelabs.com> |
--===============2016605005987819635== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_SG2PR01MB2141C59AF27A2E9B61A6CC6787EF0SG2PR01MB2141apcp_" --_000_SG2PR01MB2141C59AF27A2E9B61A6CC6787EF0SG2PR01MB2141apcp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Mr. Teo En Ming's Guide to Deploying CentOS Web Panel (CWP) Web Ho= sting Control Panel on Amazon AWS Cloud =3D=3D=3DFIRST DRAFT=3D=3D=3D PUBLISHED 23 FEB 2020 SUNDAY, SINGAPORE, SINGAPORE, SINGAPORE I chose CentOS Web Panel because the graphical user interface is a bit like= cPanel and it is free/open source. EXTREMELY DETAILED INSTRUCTIONS OF TEO EN MING'S GUIDE =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D REFERENCE =3D=3D=3D=3D=3D=3D=3D=3D=3D Guide: Part 1: How I Built a cPanel Hosting Environment on Amazon AWS Link: https://wiredgorilla.com/part-1-built-cpanel-hosting-environment-amaz= on-aws/ Setup the Amazon AWS VPC (Virtual Private Cloud) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Go to https://us-east-2.console.aws.amazon.com/vpc/home?region=3Dus-east-2#= dashboard: Click Launch VPC Wizard. Select VPC with a Single Public Subnet. IPv4 CIDR block: 10.0.0.0/16 VPC Name: Teo En Ming VPC Public subnet's IPv4 CIDR: 10.0.0.0/24 Availability Zone: No Preference Subnet name: Public subnet Click Create VPC. Create Security Groups in Amazon AWS Cloud =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Click Security Groups in the VPC Dashboard. Sub-Part 1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Click Create Security Group. Security Group Name: NameServers Description: Allows access to DNS servers VPC: Teo En Ming VPC Click Create. Sub-Part 2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Click Create Security Group. Security Group Name: CentOSWebPanel Description: Allows access to CentOS Web Panel VPC: Teo En Ming VPC Click Create. Sub-Part 3 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Select the NameServers Security Group. On the Inbound tab, click Edit. Under Type, select All Traffic. Protocol: All Port Range: 0 - 65535 Source: Anywhere Click Save. Sub-Part 4 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Select the CentOSWebPanel Security Group. On the Inbound tab, click Edit. Under Type, select All Traffic. Protocol: All Port Range: 0 - 65535 Source: Anywhere Click Save. Provisioning the Primary DNS Server =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On the EC2 Dashboard, click Instances. Click Launch Instance. Search for centos in the AWS Markpetplace. Select CentOS 7 (x86_64) - with Updates HVM (free tier eligible). Click Continue. Select t2.micro (free tier eligible). Click Next: Configure Instance Details. Network: Teo En Ming VPC Subnet: Public subnet | us-east-2a Click Protect against accidental termination. Click Next: Add Storage Size (GiB): 8 Click Next: Add Tags Key =3D Name Value =3D ns1 Click Next: Configure Security Group Click Select an existing security group Select NameServers Click Review and Launch. Click Launch. Select Create a new key pair. Key pair name: cwp Click Download key pair. Click Launch Instances. Click Instances. Select ns1, right click and select Networking > Manage IP Addresses. Click Allocate an elastic IP to this instance. Click Allocate. Click Associate this Elastic IP Address. Instance: ns1 Click Associate. IPv4 address of Primary DNS server is 13.58.253.162 Provisioning the Secondary DNS Server =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On the EC2 Dashboard, click Instances. Click Launch Instance. Search for centos in the AWS Markpetplace. Select CentOS 7 (x86_64) - with Updates HVM (free tier eligible). Click Continue. Select t2.micro (free tier eligible). Click Next: Configure Instance Details. Network: Teo En Ming VPC Subnet: Public subnet | us-east-2a Click Protect against accidental termination. Click Next: Add Storage Size (GiB): 8 Click Next: Add Tags Key =3D Name Value =3D ns2 Click Next: Configure Security Group Click Select an existing security group Select NameServers Click Review and Launch. Click Launch. Select Choose an existing key pair. Key pair name: cwp Click Launch Instances. Click Instances. Select ns2, right click and select Networking > Manage IP Addresses. Click Allocate an elastic IP to this instance. Click Allocate. Click Associate this Elastic IP Address. Instance: ns2 Click Associate. IPv4 address of Secondary DNS server is 3.20.186.205 Provisioning CentOS 7 to Install CentOS Web Panel Later =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D On the EC2 Dashboard, click Instances. Click Launch Instance. Search for centos in the AWS Markpetplace. Select CentOS 7 (x86_64) - with Updates HVM (free tier eligible). Click Continue. Select t2.micro (free tier eligible). Click Next: Configure Instance Details. Network: Teo En Ming VPC Subnet: Public subnet | us-east-2a Click Protect against accidental termination. Click Next: Add Storage Size (GiB): 30 Click Next: Add Tags Key =3D Name Value =3D CentOSWebPanel Click Next: Configure Security Group Click Select an existing security group Select CentOSWebPanel Click Review and Launch. Click Launch. Select Choose an existing key pair. Key pair name: cwp Click Launch Instances. Click Instances. Select CentOSWebPanel, right click and select Networking > Manage IP Addres= ses. Click Allocate an elastic IP to this instance. Click Allocate. Click Associate this Elastic IP Address. Instance: CentOSWebPanel Click Associate. IPv4 address of CentOS Web Panel is 3.21.30.127 RFERENCE =3D=3D=3D=3D=3D=3D=3D=3D Guide: Connecting to Your Linux Instance Using SSH Link: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstance= sLinux.html How to SSH into Linux Instances in Amazon AWS Cloud =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D $ chmod 600 cwp.pem For Primary DNS Server: $ ssh -i cwp.pem [email protected] For Secondary DNS Server: $ ssh -i cwp.pem [email protected] For CentOS Web Panel: $ ssh -i cwp.pem [email protected] REFERENCE =3D=3D=3D=3D=3D=3D=3D=3D=3D Guide: How To Configure BIND as a Private Network DNS Server on CentOS 7 Link: https://www.digitalocean.com/community/tutorials/how-to-configure-bin= d-as-a-private-network-dns-server-on-centos-7 Configuring the Primary DNS Server =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D $ sudo passwd $ su - # yum install bind bind-utils # yum install nano # nano /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // // See the BIND Administrator's Reference Manual (ARM) for details about th= e // configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html options { listen-on port 53 { 127.0.0.1; 10.0.0.99; }; // listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; recursing-file "/var/named/data/named.recursing"; secroots-file "/var/named/data/named.secroots"; allow-transfer { 3.20.186.205; }; allow-query { any; }; /* - If you are building an AUTHORITATIVE DNS server, do NOT enable recursion. - If you are building a RECURSIVE (caching) DNS server, you need to enable recursion. - If your recursive DNS server has a public IP address, you MUST enable acc= ess control to limit queries to your legitimate users. Failing to do so will cause your server to become part of large scale DNS amplification attacks. Implementing BCP38 within your network would greatly reduce such attack surface */ recursion yes; dnssec-enable yes; dnssec-validation yes; /* Path to ISC DLV key */ bindkeys-file "/etc/named.root.key"; managed-keys-directory "/var/named/dynamic"; pid-file "/run/named/named.pid"; session-keyfile "/run/named/session.key"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; zone "." IN { type hint; file "named.ca"; }; include "/etc/named.rfc1912.zones"; include "/etc/named.root.key"; include "/etc/named/named.conf.local"; # nano /etc/named/named.conf.local zone "teo-en-ming.com" { type master; file "/etc/named/zones/db.teo-en-ming.com"; # zone file path }; # chmod 755 /etc/named # mkdir /etc/named/zones # nano /etc/named/zones/db.teo-en-ming.com $TTL 604800 @ IN SOA ns1.teo-en-ming.com. ceo.teo-en-ming.com. ( 2020022301 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; ; name servers - NS records IN NS ns1.teo-en-ming.com. IN NS ns2.teo-en-ming.com. ; name servers - A records ns1.teo-en-ming.com. IN A 13.58.253.162 ns2.teo-en-ming.com. IN A 3.20.186.205 ; Additional A records www.teo-en-ming.com. IN A 3.21.30.127 # named-checkconf # systemctl start named # systemctl enable named Testing the Primary DNS Server =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D $ dig @13.58.253.162 teo-en-ming.com Configuring the Secondary DNS Server =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ sudo passwd $ su - # yum install nano # yum install bind bind-utils # nano /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // // See the BIND Administrator's Reference Manual (ARM) for details about th= e // configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html options { listen-on port 53 { 127.0.0.1; 10.0.0.76; }; // listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; recursing-file "/var/named/data/named.recursing"; secroots-file "/var/named/data/named.secroots"; allow-query { any; }; /* - If you are building an AUTHORITATIVE DNS server, do NOT enable recursion. - If you are building a RECURSIVE (caching) DNS server, you need to enable recursion. - If your recursive DNS server has a public IP address, you MUST enable acc= ess control to limit queries to your legitimate users. Failing to do so will cause your server to become part of large scale DNS amplification attacks. Implementing BCP38 within your network would greatly reduce such attack surface */ recursion yes; dnssec-enable yes; dnssec-validation yes; /* Path to ISC DLV key */ bindkeys-file "/etc/named.root.key"; managed-keys-directory "/var/named/dynamic"; pid-file "/run/named/named.pid"; session-keyfile "/run/named/session.key"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; zone "." IN { type hint; file "named.ca"; }; include "/etc/named.rfc1912.zones"; include "/etc/named.root.key"; include "/etc/named/named.conf.local"; # chmod 755 /etc/named # nano /etc/named/named.conf.local zone "teo-en-ming.com" { type slave; file "slaves/db.teo-en-ming.com"; masters { 13.58.253.162; }; # ns1 private IP }; # named-checkconf # systemctl start named # systemctl enable named Testing the Secondary DNS Server =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D $ dig @3.20.186.205 teo-en-ming.com Configuring Custom Name Servers At Your Domain Registrar =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Go to DNS management. Under host names, Set ns1 to 13.58.253.162 Set ns2 to 3.20.186.205 Set custom name servers to: ns1.teo-en-ming.com ns2.teo-en-ming.com REFERENCE =3D=3D=3D=3D=3D=3D=3D=3D=3D Guide: How to Set up a CentOS Web Panel Link: https://www.alibabacloud.com/blog/how-to-set-up-a-centos-web-panel_59= 5183 Setting Up CentOS Web Panel =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D $ sudo passwd $ su - # yum -y update && yum -y install wget # hostnamectl set-hostname www.teo-en-ming.com # cd /usr/local/src && wget http://centos-webpanel.com/cwp-el7-latest && sh= cwp-el7-latest Started installing CentOS Web Panel at 6.24 PM on 23 Feb 2020 Sunday. Completed installing CentOS Web Panel at 6.30 PM on 23 Feb 2020 Sunday. Total duration: 6 mins ############################# # CWP Installed # ############################# Go to CentOS WebPanel Admin GUI at http://SERVER_IP:2030/ http://3.21.30.127:2030 SSL: https://3.21.30.127:2031 --------------------- Username: root Password: ssh server root password MySQL root Password: ######################################################### CentOS Web Panel MailServer Installer ######################################################### SSL Cert name (hostname): www.teo-en-ming.com SSL Cert file location /etc/pki/tls/ private|certs ######################################################### Visit for help: www.centos-webpanel.com Write down login details and press ENTER for server reboot! Please reboot the server! Reboot command: shutdown -r now # shutdown -r now Configuring CentOS Web Panel Web Hosting Control Panel =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Go to https://3.21.30.127:2031 From the left menu, click on CWP Settings, then select Edit Settings. Admin Email: [email protected] Check Activate NAT-ed network configuration. Click Save Changes. From the left menu, click DNS Functions, then select Edit Nameservers IPs. Name Server 1: ns1.teo-en-ming.com 13.58.253.162 Name Server 2: ns2.teo-en-ming.com 3.20.186.205 Click Save Changes. That's all. In future, go to https://www.teo-en-ming.com:2031 It works! AUTHOR: MR. TURRITOPSIS DOHRNII TEO EN MING, SINGAPORE 20200223 -----BEGIN EMAIL SIGNATURE----- The Gospel for all Targeted Individuals (TIs): [The New York Times] Microwave Weapons Are Prime Suspect in Ills of U.S. Embassy Workers Link: https://www.nytimes.com/2018/09/01/science/sonic-attack-cuba-microwav= e.html ***************************************************************************= ***************** Singaporean Mr. Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 14 Feb 2019 and refugee seeking attempts at the United= Nations Refugee Agency Bangkok (21 Mar 2017), in Taiwan (5 Aug 2019) and A= ustralia (25 Dec 2019 to 9 Jan 2020): [1] https://tdtemcerts.wordpress.com/ [2] https://tdtemcerts.blogspot.sg/ [3] https://www.scribd.com/user/270125049/Teo-En-Ming -----END EMAIL SIGNATURE----- --_000_SG2PR01MB2141C59AF27A2E9B61A6CC6787EF0SG2PR01MB2141apcp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <span>Subject: Mr. Teo En Ming's Guide to Deploying CentOS Web Panel (CWP) = Web Hosting Control Panel on Amazon AWS Cloud<br> </span> <div><br> </div> <div>=3D=3D=3DFIRST DRAFT=3D=3D=3D<br> </div> <div><br> </div> <div>PUBLISHED 23 FEB 2020 SUNDAY, SINGAPORE, SINGAPORE, SINGAPORE<br> </div> <div><br> </div> <div>I chose CentOS Web Panel because the graphical user interface is a bit= like cPanel and it is free/open source.<br> </div> <div><br> </div> <div>EXTREMELY DETAILED INSTRUCTIONS OF TEO EN MING'S GUIDE<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>REFERENCE<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Guide: Part 1: How I Built a cPanel Hosting Environment on Amazon AWS<= br> </div> <div><br> </div> <div>Link: https://wiredgorilla.com/part-1-built-cpanel-hosting-environment= -amazon-aws/<br> </div> <div><br> </div> <div>Setup the Amazon AWS VPC (Virtual Private Cloud)<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= <br> </div> <div><br> </div> <div>Go to https://us-east-2.console.aws.amazon.com/vpc/home?region=3Dus-ea= st-2#dashboard:<br> </div> <div><br> </div> <div>Click Launch VPC Wizard.<br> </div> <div><br> </div> <div>Select VPC with a Single Public Subnet.<br> </div> <div><br> </div> <div>IPv4 CIDR block: 10.0.0.0/16<br> </div> <div><br> </div> <div>VPC Name: Teo En Ming VPC<br> </div> <div><br> </div> <div>Public subnet's IPv4 CIDR: 10.0.0.0/24<br> </div> <div><br> </div> <div>Availability Zone: No Preference<br> </div> <div><br> </div> <div>Subnet name: Public subnet<br> </div> <div><br> </div> <div>Click Create VPC.<br> </div> <div><br> </div> <div>Create Security Groups in Amazon AWS Cloud<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Click Security Groups in the VPC Dashboard.<br> </div> <div><br> </div> <div>Sub-Part 1<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Click Create Security Group.<br> </div> <div><br> </div> <div>Security Group Name: NameServers<br> </div> <div><br> </div> <div>Description: Allows access to DNS servers<br> </div> <div><br> </div> <div>VPC: Teo En Ming VPC<br> </div> <div><br> </div> <div>Click Create.<br> </div> <div><br> </div> <div>Sub-Part 2<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Click Create Security Group.<br> </div> <div><br> </div> <div>Security Group Name: CentOSWebPanel<br> </div> <div><br> </div> <div>Description: Allows access to CentOS Web Panel<br> </div> <div><br> </div> <div>VPC: Teo En Ming VPC<br> </div> <div><br> </div> <div>Click Create.<br> </div> <div><br> </div> <div>Sub-Part 3<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Select the NameServers Security Group.<br> </div> <div><br> </div> <div>On the Inbound tab, click Edit.<br> </div> <div><br> </div> <div>Under Type, select All Traffic.<br> </div> <div><br> </div> <div>Protocol: All<br> </div> <div><br> </div> <div>Port Range: 0 - 65535<br> </div> <div><br> </div> <div>Source: Anywhere<br> </div> <div><br> </div> <div>Click Save.<br> </div> <div><br> </div> <div>Sub-Part 4<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Select the CentOSWebPanel Security Group.<br> </div> <div><br> </div> <div>On the Inbound tab, click Edit.<br> </div> <div><br> </div> <div>Under Type, select All Traffic.<br> </div> <div><br> </div> <div>Protocol: All<br> </div> <div><br> </div> <div>Port Range: 0 - 65535<br> </div> <div><br> </div> <div>Source: Anywhere<br> </div> <div><br> </div> <div>Click Save.<br> </div> <div><br> </div> <div>Provisioning the Primary DNS Server<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>On the EC2 Dashboard, click Instances.<br> </div> <div><br> </div> <div>Click Launch Instance.<br> </div> <div><br> </div> <div>Search for centos in the AWS Markpetplace.<br> </div> <div><br> </div> <div>Select CentOS 7 (x86_64) - with Updates HVM (free tier eligible).<br> </div> <div><br> </div> <div>Click Continue.<br> </div> <div><br> </div> <div>Select t2.micro (free tier eligible).<br> </div> <div><br> </div> <div>Click Next: Configure Instance Details.<br> </div> <div><br> </div> <div>Network: Teo En Ming VPC<br> </div> <div><br> </div> <div>Subnet: Public subnet | us-east-2a<br> </div> <div><br> </div> <div>Click Protect against accidental termination.<br> </div> <div><br> </div> <div>Click Next: Add Storage<br> </div> <div><br> </div> <div>Size (GiB): 8<br> </div> <div><br> </div> <div>Click Next: Add Tags<br> </div> <div><br> </div> <div>Key =3D Name<br> </div> <div><br> </div> <div>Value =3D ns1<br> </div> <div><br> </div> <div>Click Next: Configure Security Group<br> </div> <div><br> </div> <div>Click Select an existing security group<br> </div> <div><br> </div> <div>Select NameServers<br> </div> <div><br> </div> <div>Click Review and Launch.<br> </div> <div><br> </div> <div>Click Launch.<br> </div> <div><br> </div> <div>Select Create a new key pair.<br> </div> <div><br> </div> <div>Key pair name: cwp<br> </div> <div><br> </div> <div>Click Download key pair.<br> </div> <div><br> </div> <div>Click Launch Instances.<br> </div> <div><br> </div> <div>Click Instances.<br> </div> <div><br> </div> <div>Select ns1, right click and select Networking > Manage IP Addresses= .<br> </div> <div><br> </div> <div>Click Allocate an elastic IP to this instance.<br> </div> <div><br> </div> <div>Click Allocate.<br> </div> <div><br> </div> <div>Click Associate this Elastic IP Address.<br> </div> <div><br> </div> <div>Instance: ns1<br> </div> <div><br> </div> <div>Click Associate.<br> </div> <div><br> </div> <div>IPv4 address of Primary DNS server is 13.58.253.162<br> </div> <div><br> </div> <div><br> </div> <div>Provisioning the Secondary DNS Server<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>On the EC2 Dashboard, click Instances.<br> </div> <div><br> </div> <div>Click Launch Instance.<br> </div> <div><br> </div> <div>Search for centos in the AWS Markpetplace.<br> </div> <div><br> </div> <div>Select CentOS 7 (x86_64) - with Updates HVM (free tier eligible).<br> </div> <div><br> </div> <div>Click Continue.<br> </div> <div><br> </div> <div>Select t2.micro (free tier eligible).<br> </div> <div><br> </div> <div>Click Next: Configure Instance Details.<br> </div> <div><br> </div> <div>Network: Teo En Ming VPC<br> </div> <div><br> </div> <div>Subnet: Public subnet | us-east-2a<br> </div> <div><br> </div> <div>Click Protect against accidental termination.<br> </div> <div><br> </div> <div>Click Next: Add Storage<br> </div> <div><br> </div> <div>Size (GiB): 8<br> </div> <div><br> </div> <div>Click Next: Add Tags<br> </div> <div><br> </div> <div>Key =3D Name<br> </div> <div><br> </div> <div>Value =3D ns2<br> </div> <div><br> </div> <div>Click Next: Configure Security Group<br> </div> <div><br> </div> <div>Click Select an existing security group<br> </div> <div><br> </div> <div>Select NameServers<br> </div> <div><br> </div> <div>Click Review and Launch.<br> </div> <div><br> </div> <div>Click Launch.<br> </div> <div><br> </div> <div>Select Choose an existing key pair.<br> </div> <div><br> </div> <div>Key pair name: cwp<br> </div> <div><br> </div> <div>Click Launch Instances.<br> </div> <div><br> </div> <div>Click Instances.<br> </div> <div><br> </div> <div>Select ns2, right click and select Networking > Manage IP Addresses= .<br> </div> <div><br> </div> <div>Click Allocate an elastic IP to this instance.<br> </div> <div><br> </div> <div>Click Allocate.<br> </div> <div><br> </div> <div>Click Associate this Elastic IP Address.<br> </div> <div><br> </div> <div>Instance: ns2<br> </div> <div><br> </div> <div>Click Associate.<br> </div> <div><br> </div> <div>IPv4 address of Secondary DNS server is 3.20.186.205<br> </div> <div><br> </div> <div>Provisioning CentOS 7 to Install CentOS Web Panel Later<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>On the EC2 Dashboard, click Instances.<br> </div> <div><br> </div> <div>Click Launch Instance.<br> </div> <div><br> </div> <div>Search for centos in the AWS Markpetplace.<br> </div> <div><br> </div> <div>Select CentOS 7 (x86_64) - with Updates HVM (free tier eligible).<br> </div> <div><br> </div> <div>Click Continue.<br> </div> <div><br> </div> <div>Select t2.micro (free tier eligible).<br> </div> <div><br> </div> <div>Click Next: Configure Instance Details.<br> </div> <div><br> </div> <div>Network: Teo En Ming VPC<br> </div> <div><br> </div> <div>Subnet: Public subnet | us-east-2a<br> </div> <div><br> </div> <div>Click Protect against accidental termination.<br> </div> <div><br> </div> <div>Click Next: Add Storage<br> </div> <div><br> </div> <div>Size (GiB): 30 <br> </div> <div><br> </div> <div>Click Next: Add Tags<br> </div> <div><br> </div> <div>Key =3D Name<br> </div> <div><br> </div> <div>Value =3D CentOSWebPanel<br> </div> <div><br> </div> <div>Click Next: Configure Security Group<br> </div> <div><br> </div> <div>Click Select an existing security group<br> </div> <div><br> </div> <div>Select CentOSWebPanel<br> </div> <div><br> </div> <div>Click Review and Launch.<br> </div> <div><br> </div> <div>Click Launch.<br> </div> <div><br> </div> <div>Select Choose an existing key pair.<br> </div> <div><br> </div> <div>Key pair name: cwp<br> </div> <div><br> </div> <div>Click Launch Instances.<br> </div> <div><br> </div> <div>Click Instances.<br> </div> <div><br> </div> <div>Select CentOSWebPanel, right click and select Networking > Manage I= P Addresses.<br> </div> <div><br> </div> <div>Click Allocate an elastic IP to this instance.<br> </div> <div><br> </div> <div>Click Allocate.<br> </div> <div><br> </div> <div>Click Associate this Elastic IP Address.<br> </div> <div><br> </div> <div>Instance: CentOSWebPanel<br> </div> <div><br> </div> <div>Click Associate.<br> </div> <div><br> </div> <div>IPv4 address of CentOS Web Panel is 3.21.30.127<br> </div> <div><br> </div> <div>RFERENCE<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Guide: Connecting to Your Linux Instance Using SSH<br> </div> <div><br> </div> <div>Link: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingIns= tancesLinux.html<br> </div> <div><br> </div> <div>How to SSH into Linux Instances in Amazon AWS Cloud<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D<br> </div> <div><br> </div> <div>$ chmod 600 cwp.pem<br> </div> <div><br> </div> <div>For Primary DNS Server:<br> </div> <div><br> </div> <div>$ ssh -i cwp.pem [email protected]<br> </div> <div><br> </div> <div>For Secondary DNS Server:<br> </div> <div><br> </div> <div>$ ssh -i cwp.pem [email protected]<br> </div> <div><br> </div> <div>For CentOS Web Panel:<br> </div> <div><br> </div> <div>$ ssh -i cwp.pem [email protected]<br> </div> <div><br> </div> <div>REFERENCE<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Guide: How To Configure BIND as a Private Network DNS Server on CentOS= 7<br> </div> <div><br> </div> <div>Link: https://www.digitalocean.com/community/tutorials/how-to-configur= e-bind-as-a-private-network-dns-server-on-centos-7<br> </div> <div><br> </div> <div>Configuring the Primary DNS Server<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>$ sudo passwd<br> </div> <div><br> </div> <div>$ su -<br> </div> <div><br> </div> <div># yum install bind bind-utils<br> </div> <div><br> </div> <div># yum install nano<br> </div> <div><br> </div> <div># nano /etc/named.conf<br> </div> <div><br> </div> <div>//<br> </div> <div>// named.conf<br> </div> <div>//<br> </div> <div>// Provided by Red Hat bind package to configure the ISC BIND named(8)= DNS<br> </div> <div>// server as a caching only nameserver (as a localhost DNS resolver on= ly).<br> </div> <div>//<br> </div> <div>// See /usr/share/doc/bind*/sample/ for example named configuration fi= les.<br> </div> <div>//<br> </div> <div>// See the BIND Administrator's Reference Manual (ARM) for details abo= ut the<br> </div> <div>// configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html<= br> </div> <div><br> </div> <div>options {<br> </div> <div>listen-on port 53 { 127.0.0.1; 10.0.0.99; };<br> </div> <div>// listen-on-v6 port 53 { ::1; };<br> </div> <div>directory "/var/named";<br> </div> <div>dump-file "/var/named/data/cache_dump.db";<br> </div> <div>statistics-file "/var/named/data/named_stats.txt";<br> </div> <div>memstatistics-file "/var/named/data/named_mem_stats.txt";<br= > </div> <div>recursing-file "/var/named/data/named.recursing";<br> </div> <div>secroots-file "/var/named/data/named.secroots";<br> </div> <div>allow-transfer { 3.20.186.205; };<br> </div> <div>allow-query { any; };<br> </div> <div><br> </div> <div>/* <br> </div> <div>- If you are building an AUTHORITATIVE DNS server, do NOT enable recur= sion.<br> </div> <div>- If you are building a RECURSIVE (caching) DNS server, you need to en= able <br> </div> <div> recursion. <br> </div> <div>- If your recursive DNS server has a public IP address, you MUST enabl= e access <br> </div> <div> control to limit queries to your legitimate users. Failing to d= o so will<br> </div> <div> cause your server to become part of large scale DNS amplificati= on <br> </div> <div> attacks. Implementing BCP38 within your network would greatly<b= r> </div> <div> reduce such attack surface <br> </div> <div>*/<br> </div> <div>recursion yes;<br> </div> <div><br> </div> <div>dnssec-enable yes;<br> </div> <div>dnssec-validation yes;<br> </div> <div><br> </div> <div>/* Path to ISC DLV key */<br> </div> <div>bindkeys-file "/etc/named.root.key";<br> </div> <div><br> </div> <div>managed-keys-directory "/var/named/dynamic";<br> </div> <div><br> </div> <div>pid-file "/run/named/named.pid";<br> </div> <div>session-keyfile "/run/named/session.key";<br> </div> <div>};<br> </div> <div><br> </div> <div>logging {<br> </div> <div> channel default_debug {<br> </div> <div> file "dat= a/named.run";<br> </div> <div> severity dynam= ic;<br> </div> <div> };<br> </div> <div>};<br> </div> <div><br> </div> <div>zone "." IN {<br> </div> <div>type hint;<br> </div> <div>file "named.ca";<br> </div> <div>};<br> </div> <div><br> </div> <div>include "/etc/named.rfc1912.zones";<br> </div> <div>include "/etc/named.root.key";<br> </div> <div><br> </div> <div>include "/etc/named/named.conf.local";<br> </div> <div><br> </div> <div># nano /etc/named/named.conf.local<br> </div> <div><br> </div> <div>zone "teo-en-ming.com" {<br> </div> <div> type master;<br> </div> <div> file "/etc/named/zones/db.teo-en-ming.com"; # = zone file path<br> </div> <div>};<br> </div> <div><br> </div> <div># chmod 755 /etc/named<br> </div> <div><br> </div> <div># mkdir /etc/named/zones<br> </div> <div><br> </div> <div># nano /etc/named/zones/db.teo-en-ming.com<br> </div> <div><br> </div> <div>$TTL 604800<br> </div> <div>@ IN SOA ns1.teo-en-ming.com. ceo.teo-en-m= ing.com. (<br> </div> <div> 2020022301 ; Serial<br= > </div> <div> 604800 ;= Refresh<br> </div> <div> 86400 ;= Retry<br> </div> <div> 2419200 ; Expi= re<br> </div> <div> 604800 ) ; Nega= tive Cache TTL<br> </div> <div>;<br> </div> <div>; name servers - NS records<br> </div> <div> IN NS ns1.= teo-en-ming.com.<br> </div> <div> IN NS ns2.= teo-en-ming.com.<br> </div> <div><br> </div> <div>; name servers - A records<br> </div> <div>ns1.teo-en-ming.com. IN  = ; A 13.58.253.162<br> </div> <div>ns2.teo-en-ming.com. IN  = ; A 3.20.186.205<br> </div> <div><br> </div> <div>; Additional A records<br> </div> <div>www.teo-en-ming.com. IN  = ; A 3.21.30.127 <br> </div> <div><br> </div> <div># named-checkconf<br> </div> <div><br> </div> <div># systemctl start named<br> </div> <div><br> </div> <div># systemctl enable named<br> </div> <div><br> </div> <div>Testing the Primary DNS Server<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>$ dig @13.58.253.162 teo-en-ming.com<br> </div> <div><br> </div> <div>Configuring the Secondary DNS Server<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>$ sudo passwd<br> </div> <div><br> </div> <div>$ su -<br> </div> <div><br> </div> <div># yum install nano<br> </div> <div><br> </div> <div># yum install bind bind-utils<br> </div> <div><br> </div> <div># nano /etc/named.conf<br> </div> <div><br> </div> <div>//<br> </div> <div>// named.conf<br> </div> <div>//<br> </div> <div>// Provided by Red Hat bind package to configure the ISC BIND named(8)= DNS<br> </div> <div>// server as a caching only nameserver (as a localhost DNS resolver on= ly).<br> </div> <div>//<br> </div> <div>// See /usr/share/doc/bind*/sample/ for example named configuration fi= les.<br> </div> <div>//<br> </div> <div>// See the BIND Administrator's Reference Manual (ARM) for details abo= ut the<br> </div> <div>// configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html<= br> </div> <div><br> </div> <div>options {<br> </div> <div>listen-on port 53 { 127.0.0.1; 10.0.0.76; };<br> </div> <div>// listen-on-v6 port 53 { ::1; };<br> </div> <div>directory "/var/named";<br> </div> <div>dump-file "/var/named/data/cache_dump.db";<br> </div> <div>statistics-file "/var/named/data/named_stats.txt";<br> </div> <div>memstatistics-file "/var/named/data/named_mem_stats.txt";<br= > </div> <div>recursing-file "/var/named/data/named.recursing";<br> </div> <div>secroots-file "/var/named/data/named.secroots";<br> </div> <div>allow-query { any; };<br> </div> <div><br> </div> <div>/* <br> </div> <div>- If you are building an AUTHORITATIVE DNS server, do NOT enable recur= sion.<br> </div> <div>- If you are building a RECURSIVE (caching) DNS server, you need to en= able <br> </div> <div> recursion. <br> </div> <div>- If your recursive DNS server has a public IP address, you MUST enabl= e access <br> </div> <div> control to limit queries to your legitimate users. Failing to d= o so will<br> </div> <div> cause your server to become part of large scale DNS amplificati= on <br> </div> <div> attacks. Implementing BCP38 within your network would greatly<b= r> </div> <div> reduce such attack surface <br> </div> <div>*/<br> </div> <div>recursion yes;<br> </div> <div><br> </div> <div>dnssec-enable yes;<br> </div> <div>dnssec-validation yes;<br> </div> <div><br> </div> <div>/* Path to ISC DLV key */<br> </div> <div>bindkeys-file "/etc/named.root.key";<br> </div> <div><br> </div> <div>managed-keys-directory "/var/named/dynamic";<br> </div> <div><br> </div> <div>pid-file "/run/named/named.pid";<br> </div> <div>session-keyfile "/run/named/session.key";<br> </div> <div>};<br> </div> <div><br> </div> <div>logging {<br> </div> <div> channel default_debug {<br> </div> <div> file "dat= a/named.run";<br> </div> <div> severity dynam= ic;<br> </div> <div> };<br> </div> <div>};<br> </div> <div><br> </div> <div>zone "." IN {<br> </div> <div>type hint;<br> </div> <div>file "named.ca";<br> </div> <div>};<br> </div> <div><br> </div> <div>include "/etc/named.rfc1912.zones";<br> </div> <div>include "/etc/named.root.key";<br> </div> <div><br> </div> <div>include "/etc/named/named.conf.local";<br> </div> <div><br> </div> <div># chmod 755 /etc/named<br> </div> <div><br> </div> <div># nano /etc/named/named.conf.local<br> </div> <div><br> </div> <div>zone "teo-en-ming.com" {<br> </div> <div> type slave;<br> </div> <div> file "slaves/db.teo-en-ming.com";<br> </div> <div> masters { 13.58.253.162; }; # ns1 private IP<br> </div> <div>};<br> </div> <div><br> </div> <div><br> </div> <div># named-checkconf<br> </div> <div><br> </div> <div># systemctl start named<br> </div> <div><br> </div> <div># systemctl enable named<br> </div> <div><br> </div> <div>Testing the Secondary DNS Server<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>$ dig @3.20.186.205 teo-en-ming.com<br> </div> <div><br> </div> <div>Configuring Custom Name Servers At Your Domain Registrar<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Go to DNS management.<br> </div> <div><br> </div> <div>Under host names,<br> </div> <div><br> </div> <div>Set ns1 to 13.58.253.162<br> </div> <div><br> </div> <div>Set ns2 to 3.20.186.205<br> </div> <div><br> </div> <div>Set custom name servers to:<br> </div> <div><br> </div> <div>ns1.teo-en-ming.com<br> </div> <div><br> </div> <div>ns2.teo-en-ming.com<br> </div> <div><br> </div> <div>REFERENCE<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Guide: How to Set up a CentOS Web Panel<br> </div> <div><br> </div> <div>Link: https://www.alibabacloud.com/blog/how-to-set-up-a-centos-web-pan= el_595183<br> </div> <div><br> </div> <div>Setting Up CentOS Web Panel<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D<br> </div> <div><br> </div> <div>$ sudo passwd<br> </div> <div><br> </div> <div>$ su -<br> </div> <div><br> </div> <div># yum -y update && yum -y install wget<br> </div> <div><br> </div> <div># hostnamectl set-hostname www.teo-en-ming.com<br> </div> <div><br> </div> <div># cd /usr/local/src && wget http://centos-webpanel.com/cwp-el7= -latest && sh cwp-el7-latest<br> </div> <div><br> </div> <div>Started installing CentOS Web Panel at 6.24 PM on 23 Feb 2020 Sunday.<= br> </div> <div><br> </div> <div>Completed installing CentOS Web Panel at 6.30 PM on 23 Feb 2020 Sunday= .<br> </div> <div><br> </div> <div>Total duration: 6 mins<br> </div> <div><br> </div> <div>#############################<br> </div> <div># CWP Installed #<br> </div> <div>#############################<br> </div> <div><br> </div> <div>Go to CentOS WebPanel Admin GUI at http://SERVER_IP:2030/<br> </div> <div><br> </div> <div>http://3.21.30.127:2030<br> </div> <div>SSL: https://3.21.30.127:2031<br> </div> <div>---------------------<br> </div> <div>Username: root<br> </div> <div>Password: ssh server root password<br> </div> <div>MySQL root Password: <br> </div> <div><br> </div> <div>#########################################################<br> </div> <div> CentOS Web Panel MailServer Install= er <br> </div> <div>#########################################################<br> </div> <div>SSL Cert name (hostname): www.teo-en-ming.com<br> </div> <div>SSL Cert file location /etc/pki/tls/ private|certs<br> </div> <div>#########################################################<br> </div> <div><br> </div> <div>Visit for help: www.centos-webpanel.com<br> </div> <div>Write down login details and press ENTER for server reboot!<br> </div> <div>Please reboot the server!<br> </div> <div>Reboot command: shutdown -r now<br> </div> <div><br> </div> <div># shutdown -r now<br> </div> <div><br> </div> <div>Configuring CentOS Web Panel Web Hosting Control Panel<br> </div> <div>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D<br> </div> <div><br> </div> <div>Go to https://3.21.30.127:2031<br> </div> <div><br> </div> <div>From the left menu, click on CWP Settings, then select Edit Settings.<= br> </div> <div><br> </div> <div>Admin Email: [email protected]<br> </div> <div><br> </div> <div>Check Activate NAT-ed network configuration.<br> </div> <div><br> </div> <div>Click Save Changes.<br> </div> <div><br> </div> <div>From the left menu, click DNS Functions, then select Edit Nameservers = IPs.<br> </div> <div><br> </div> <div>Name Server 1: ns1.teo-en-ming.com = 13.58.253.162<br> </div> <div><br> </div> <div>Name Server 2: ns2.teo-en-ming.com = 3.20.186.205<br> </div> <div><br> </div> <div>Click Save Changes.<br> </div> <div><br> </div> <div>That's all.<br> </div> <div><br> </div> <div>In future, go to https://www.teo-en-ming.com:2031<br> </div> <div><br> </div> <div>It works!<br> </div> <div><br> </div> <div>AUTHOR: MR. TURRITOPSIS DOHRNII TEO EN MING, SINGAPORE<br> </div> <div><br> </div> <span>20200223</span><br> </div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <span><br> </span></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <span><br> </span></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <span><br> </span></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <span><br> </span></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <span><br> </span></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <span><br> </span></div> <div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size= : 12pt; color: rgb(0, 0, 0);"> <br> </div> <div id=3D"Signature"> <div></div> <div></div> <div id=3D"divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; color= :#000000; font-family:Calibri,Helvetica,sans-serif"> <p style=3D"margin-top:0px; margin-bottom:0px; margin-top:0; margin-bottom:= 0"></p> <pre style=3D"font-family:"courier new",courier,monospace; font-s= ize:16px"><b><span id=3D"ms-rterangepaste-start"></span></b><div style=3D""= ><span style=3D"font-family:Arial,Helvetica,sans-serif; font-size:12pt"><b>= -----BEGIN EMAIL SIGNATURE-----</b></span></div><div style=3D""><b><br></b>= </div><div style=3D""><span style=3D"font-family:Arial,Helvetica,sans-serif= ; font-size:12pt"><b>The Gospel for all Targeted Individuals (TIs):</b></sp= an></div><div style=3D""><b><br></b></div><div style=3D""><span style=3D"fo= nt-family:Arial,Helvetica,sans-serif; font-size:12pt"><b>[The New York Time= s] Microwave Weapons Are Prime Suspect in Ills of</b></span></div><div styl= e=3D""><span style=3D"font-family:Arial,Helvetica,sans-serif; font-size:12p= t"><b>U.S. Embassy Workers</b></span></div><div style=3D""><b><br></b></div= ><div style=3D""><span style=3D"font-family:Arial,Helvetica,sans-serif; fon= t-size:12pt"><b>Link: https://www.nytimes.com/2018/09/01/science/sonic-atta= ck-cuba-microwave.html</b></span></div><div style=3D""><b><br></b></div><di= v style=3D""><span style=3D"font-family:Arial,Helvetica,sans-serif; font-si= ze:12pt"><b>***************************************************************= *****************************</b></span></div><div style=3D""><b><br></b></= div><div style=3D""><b><br></b></div><div style=3D""><span style=3D"font-fa= mily:Arial,Helvetica,sans-serif; font-size:12pt"><b></b></span></div><b><sp= an style=3D"font-family:Arial,Helvetica,sans-serif">Singaporean Mr. Turrito= psis Dohrnii Teo En Ming's Academic</span><span><br></span><span style=3D"f= ont-family:Arial,Helvetica,sans-serif">Qualifications as at 14 Feb 2019 and= refugee seeking attempts at the United Nations Refugee Agency Bangkok (21 = Mar 2017), in Taiwan (5 Aug 2019) and Australia (25 Dec 2019 to 9 Jan 2020)= :</span></b><div style=3D""><b><span style=3D"font-size:12pt; font-family:A= rial,Helvetica,sans-serif"></span></b></div><div style=3D""><b><br></b></di= v><div style=3D""><span style=3D"font-family:Arial,Helvetica,sans-serif; fo= nt-size:12pt"><b>[1] https://tdtemcerts.wordpress.com/</b></span></div><div= style=3D""><b><br></b></div><div style=3D""><span style=3D"font-family:Ari= al,Helvetica,sans-serif; font-size:12pt"><b>[2] https://tdtemcerts.blogspot= .sg/</b></span></div><div style=3D""><b><br></b></div><div style=3D""><span= style=3D"font-family:Arial,Helvetica,sans-serif; font-size:12pt"><b>[3] ht= tps://www.scribd.com/user/270125049/Teo-En-Ming</b></span></div><div style= =3D""><b><br></b></div><div style=3D""><span style=3D"font-family:Arial,Hel= vetica,sans-serif; font-size:12pt"><b>-----END EMAIL SIGNATURE-----</b></sp= an></div><b><span id=3D"ms-rterangepaste-end"></span><br></b></pre> <p style=3D"margin-top:0px; margin-bottom:0px"></p> </div> </div> </body> </html> --_000_SG2PR01MB2141C59AF27A2E9B61A6CC6787EF0SG2PR01MB2141apcp_-- --===============2016605005987819635== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCmh0dHA6Ly9saXN0cy5saW51eGZyb21zY3JhdGNoLm9yZy9saXN0aW5mby9sZnMtY2hhdApG QVE6IGh0dHA6Ly93d3cubGludXhmcm9tc2NyYXRjaC5vcmcvYmxmcy9mYXEuaHRtbApVbnN1YnNj cmliZTogU2VlIHRoZSBhYm92ZSBpbmZvcm1hdGlvbiBwYWdlCg== --===============2016605005987819635==--