How to install a Free Hosting(Baota) in Google Cloud Platform

How to Install Baota in GCP



Create a VM by GCP

1. select "Create an instance"




2.  Select CPU Setting depending on your budget.



3. Select Boot Disk (Hard Disk) and Select CentOS 7.0 



4. Tick the "Allow HTTP traffic" and "Allow HTTPS traffic", then click on the "Create"



5. After Success and Click on "SSH"






6. Type the code below,

Type the code "sudo su" then enter

sudo su

Type the code "yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh" then enter

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh


7. After that, enter "y"(Yes to install).



8. Wait about 5 min to install the Baota OS, and you will finally get the domain address and username and password as below example.

==================================================================

Congratulations! Installed successfully!

==================================================================

Bt-Panel: http://35.240.181.101:8888/12345678/

username: ru8ivhfj

password: 666d5b4f

Warning:

If you cannot access the panel, 

release the following port (8888|888|80|443|20|21) in the security group

==================================================================



9. After That, you need to setup the firewall rules in order you can enter the login page of baota. Go to "VPC Network" ---> "Firewall rule details" ---> "Create Firewall Rule" and you can name it whatever you want for example "allow-bt-001"




10. Enter a target tag name as you want, eg "allow-bt-001"



11. enter the ipv4 range, eg : 0.0.0.0/0 (for all ip)


12. Then setup Protocols and ports as below, TCP port enter "8888,888,80,443,20,21" and click on "Create".



13.  Go to "VM instances" then click your VM Name, eg : bt-001



14. Then Click on Edit.


15. enter your Target Tag just now eg: "allow-bt-001". ps: my side is named "allow-bt". and click on "Save".




16. Lastly, You can go to your Baota server, eg : http://35.240.181.101:8888/12345678/




17. Completed.


Comments

Popular posts from this blog