Home Page >  News List >> Tech >> Tech

A three-year contract for servers, let's talk about building personal websites from scratch (super detailed)

Tech 2023-05-24 16:09:01 Source: Network
AD

Time flies like an arrow, and the sun and moon fly like a shuttle. I didn't expect the three-year contract to arrive so soonHahaha, I took the wrong set

Time flies like an arrow, and the sun and moon fly like a shuttle. I didn't expect the three-year contract to arrive so soon

Hahaha, I took the wrong set. Alibaba Cloud servers, which have been in use for 3 years, are still quite popular for new users to get a 10% discount. However, considering the current renewal price, we can directly persuade them to withdraw

I am ready to embrace Tencent Cloud in the future. So I want to talk about how to build a personal website from scratch (without coding) on the expiring Alibaba Cloud server

What I have chosen here is Pagoda Panel+WordPress

1. Download Pagoda Panel

Address:
https://www.bt.cn/new/index.html

1.1 Selecting Installation Scripts

matters needing attention

1.1.1 Centos Installation Script

yuminstall-ywget&& amp; wget-Oinstall. shhttps://download.bt.cn/install/install_6.0.sh& ;& amp; shinstall.shed8484bec

1.1.2 Ubuntu/Desin Installation Script

wget-Oinstall. shhttps://download.bt.cn/install/install-ubuntu_6.0.sh& ;& amp; sudobashinstall.shed8484bec

1.1.3 Debian Installation Script

wget-Oinstall. shhttps://download.bt.cn/install/install-ubuntu_6.0.sh& ;& amp; bashinstall.shed8484bec

1.1.4 Universal Installation Script

if[-f/usr/bin/curl]; thencurl-sSO https://download.bt.cn/install/install_ panel.sh; elsewget-Oinstall_ panel. shhttps://download.bt.cn/install/install_ panel.sh; fi; bashinstall_ panel.shed8484bec

1.1.5 Installation Script for Domestic Godson Architecture (Do not use other CPUs)

wget-Oinstall_ panel. shhttps://download.bt.cn/install/0/loongarch64/loongarch64_install_panel.sh& ;& amp; bashinstall_ panel.shed8484bec

1.2 Enter our server

1.2.1 Execute the copied command above

My server is CentOS, so execute the commands in 1.1.1

1.2.2 When prompted, simply enter y and press Enter

At this point in 1.2.3, it's considered a success

Note that the content in the red box in the figure is the access address and account password of the deployed pagoda panel

If you directly access it and find that it cannot be accessed. So maybe you didn't pay attention to this sentence

At this point, you need to go to the Alibaba Cloud console, configure the security group, and release port 42552

Then you can access it again and log in using the previously saved account and password

2. Entering the Pagoda Panel

2.1 Choose the recommended installation

After entering the pagoda panel, the following content will automatically pop up. Simply select the recommended one click installation option

Then wait for the download to complete. During the download process, you can remove the installation software panel and go to see other menus

For example, changing the account and password for logging into the pagoda panel

Of course, if you want to check the installation progress just now, you can click on the icon in the upper left corner. The installation progress will pop up again

2.2 Modifying the Access Address of the Pagoda Panel

In panel settings, you can modify the port and request path bound to the pagoda panel

For example, after adjusting, it is the following type, and after adjusting, my access address is
https://47.xxx.xx.xx1:8888/baotam

If you just finished making changes and find that you don't remember your settings, you won't be able to access the system now.

Don't panic. At this point, you can remotely access your server and enter a command

/etc/init.d/btdefault

Access information will be displayed

If it is found that access is not possible at this time and the security group on the Alibaba Cloud console is also set, then port 8888 in the server's firewall needs to be released

##Release 8888 port from the firewall##- Zone Scope##- add port=8888/tcp Add a port in the format: port/communication protocol # Turn off to remove port##Permanent takes effect permanently, and will become invalid after restarting without this parameterfirewall-cmd--zone=public--add-port=8888/tcp--permanent##Reload firewall configurationfirewall-cmd--reload

3. Start creating website

3.1 Adding Sites

Click on Website - Add Site and enter the domain name (if there is no domain name, simply enter the external IP address)

After creation, the following will be done

The red box above shows our website access address. You can visit and try www.wokeyi.top

After accessing, it will appear

3.2 Download WordPress

Find WordPress in the app store, follow the order shown in the following figure, and directly click on the one click deployment button at the back

After clicking on the deployment button, enter the domain name information. If not, enter the external IP address

After success, the created message will pop up

Then visit the site in the above figure and set it up

After selecting the language yourself, the next step will be to enter the page for filling in the database

Here, I need to input the information generated when deploying WordPress with just one click. The information I filled in is as follows

After entering the next step, it is necessary to set the basic information of the blog

After completing the filling, continue to the next step and finally enter the login page

After logging in, this is our blog website

It looks quite ugly, but you can switch to the theme. Click on Appearance Theme to find your favorite and switch between them

Are the existing themes unattractive? You can click to add a new theme

There are many exquisite themes to choose from inside, of course, some require payment

After installing the theme, you can directly access it and give it a try. Do you remember the domain name we set when installing WordPress earlier? Just visit that directly. The result of the visit is our blog

Since the server is about to expire, the next step is to migrate the website from Alibaba Cloud to Tencent Cloud. In the next installment, I will summarize the content related to website migration

If you have an apple and I have an apple, after exchanging with each other, we still have only one apple;

If I have a thought, if you have a thought, and we exchange ideas with each other, we will have two thoughts, or even more


Disclaimer: The content of this article is sourced from the internet. The copyright of the text, images, and other materials belongs to the original author. The platform reprints the materials for the purpose of conveying more information. The content of the article is for reference and learning only, and should not be used for commercial purposes. If it infringes on your legitimate rights and interests, please contact us promptly and we will handle it as soon as possible! We respect copyright and are committed to protecting it. Thank you for sharing.(Email:[email protected])

Mobile advertising space rental

Tag: three-year contract for servers let talk about building personal

Unite directoryCopyright @ 2011-2024 All Rights Reserved. Copyright Webmaster Search Directory System