Using KUSANAGI on Alibaba Cloud Business Edition
This guide assumes that you have an Alibaba Cloud account, and that you can log in to the Alibaba Cloud console https://account.alibabacloud.com/login/login.htm
(below, the “console”) from the Alibaba Cloud portal site.
1.Choose an instance
Click Elastic Compute Service under Virtual Server “Products and Services” in the console.
You will see a list of currently active instances. Click the Create Instance button in the middle of the screen.
On the following instance creation screen, choose the Billing Method, Region, and Instance Type.
*The available instance types may change according to the region you select.
2.Choose KUSANAGI
Choose Marketplace Image from the image selection column beneath Instance Type, and click Select from image market (including operating system)
On the following Marketplace screen, search for kusanagi. This will show KUSANAGI on Alibaba Cloud. Click Continue.
Confirm that KUSANAGI on Alibaba Cloud has been selected. After choosing a storage option, click Next: Network.
3.Other Settings
Choose the Network, Network Billing Method, and Security Group, then click Next: System Configuration
*Be sure to check the open port in your security group.
Choose a Key Pair. To create a new key pair, click Create Key Pair.
After clicking Create Key Pair, you will be brought to the following screen, where you will input a key pair name and click OK.
*Clicking OK will download the key file, so be sure to save it in a safe place.
You will then be brought back to the previous screen, so click Next: Grouping.
Click Next: Preview.
4.Create the instance
On the following page, confirm that all of the information for your instance is correct, and click Create Instance.
Please wait while your instance is being created.
5.Confirm the new instance
Return to the console, and check that a new instance has been added to the Virtual Server > Elastic Compute Service screen in Products and Services.
Click Instances in the menu on the left to show the instance we just created. Clicking the Instance ID will show the instance details.
Here, we can confirm the instance details.
6.Configure WordPress launch settings on initialization
6-1 Find the Public IP on the information page for the instance you created. Access it by pasting it in your browser’s address bar.
6-2 Paste the public IP address that you copied into the address bar of our browser, and press enter. You will see the initialization page. (e.g. http://publicIP)
6-3 After initialization, you will be brought to the start screen, where you need to click the Let’s Get Started! button. This will bring you to the Instance ID input page.
6-4. Return to the Alibaba instance page and copy the Instance ID.
6-5. Paste the Instance ID you copied into the input field in your browser. Then click Send.
6-6. On the next screen, enter the FQDN information, and click Send.
6-7. Start the KUSANAGI setup, and after the “Congratulations!” screen appears, click the Let’s start WordPress button.
6-8. WordPress installation starts.
7. Next, we will explain how to log in to the VM and prepare initialization settings
7-1. Log in to the VM
Log in to the VM via SSH using Poderosa or other SSH client/terminal software.
After logging in successfully, the following page will be displayed.
7-2. Switch to the root user
Switch to the root user using the input below.
$ sudo su -
次のようにパスワードを要求されます。SSHのログインに使用したユーザーのパスワードを入力します。
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for <ユーザー名>:【ユーザーパスワード入力】
rootユーザーに切り替えができていることを確認します。
[root@<ホスト名> ~]#
のように末尾が#となっていればrootユーザーへ切り替わっています。
For instructions on initialization please see the following guide.