{"id":424,"date":"2025-01-27T12:30:42","date_gmt":"2025-01-27T12:30:42","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2025\/01\/27\/10469876-how-to-use-the-kusanagi-vps-template-at-hostinger\/"},"modified":"2026-05-08T13:01:36","modified_gmt":"2026-05-08T13:01:36","slug":"10469876-how-to-use-the-kusanagi-vps-template-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/10469876-how-to-use-the-kusanagi-vps-template-at-hostinger\/","title":{"rendered":"How to Use the KUSANAGI VPS Template at Hostinger"},"content":{"rendered":"

KUSANAGI 9 is a high-performance virtual machine optimized for running WordPress and other CMS platforms with superior speed, security, and flexibility. Hostinger’s “AlmaLinux 9 with KUSANAGI 9” VPS template comes with the KUSANAGI environment preinstalled, allowing you to deploy and optimize your web applications quickly.<\/p>

\n<\/p>

This guide will walk you through accessing, configuring, and managing your KUSANAGI 9 installation on AlmaLinux 9.<\/p>

\n<\/p>

Accessing your VPS<\/h2>

Open Terminal <\/b>(Linux\/macOS) or Command Prompt\/PowerShell<\/b> (Windows) on your local computer and enter the following command:<\/p>

ssh root@vps_ip<\/code><\/pre>

Replace vps_ip<\/b> with your VPS IP address<\/a><\/b>. You might be prompted to enter your VPS password.<\/p>

\n<\/p>

Initial KUSANAGI setup<\/h2>

After logging in, perform the initial setup using the built-in “KUSANAGI Commands.” These commands assist in tasks like initial configuration, switching web servers, and managing cache. For a comprehensive list, see KUSANAGI 9 Commands<\/a>.<\/p>

\n<\/p>

Initialize KUSANAGI<\/p>

Set passwords for the Linux and database users, and choose the middleware you wish to use. Use the following command to replace placeholders with your desired passwords:<\/p>

kusanagi init --lang en --keyboard en --passwd \"your_password\" --nophrase --dbrootpass \"db_root_password\" --nginx127 --php81 --mariadb10.6<\/code><\/pre>

Required Options:<\/b><\/p>

• –passwd “your_password”: Sets the password for the “kusanagi” user.<\/p>

• –nophrase: Sets an empty passphrase for the SSH user key of the “kusanagi” user.<\/p>

• –dbrootpass “db_root_password”: Sets the MariaDB “root” password.<\/p>

\n<\/p>

Optional Options:<\/b><\/p>

• –nginx127: Starts NGINX version 1.27.<\/p>

• –php81: Uses PHP version 8.1.<\/p>

• –mariadb10.6: Starts MariaDB version 10.6.<\/p>

\n<\/p>

Refer to the init command documentation<\/a> for a detailed explanation of these options.<\/p>

\n<\/p>

Installing WordPress<\/b><\/h2>

After completing the initial configuration, you can set up WordPress using the “KUSANAGI Commands.” First, create a profile for your WordPress site:<\/p>

kusanagi provision --wp --wplang en_US --fqdn your_domain.com --email your_email@example.com --dbname your_db_name --dbuser your_db_user --dbpass \"your_db_password\" \"your_profile_name\"<\/code><\/pre>

Required Options:<\/b><\/p>

• –wp: Specifies that WordPress will be provisioned.<\/p>

• –fqdn your_domain.com: Sets the fully qualified domain name for your site.<\/p>

• –email your_email@example.com<\/a>: Requests a Let’s Encrypt SSL certificate for your domain.<\/p>

• –dbname your_db_name: Sets the name of the database.<\/p>

• –dbuser your_db_user: Sets the database username.<\/p>

• –dbpass “your_db_password”: Sets the password for the database user.<\/p>

• your_profile_name: Names the profile being created.<\/p>

\n<\/p>

For more details on provisioning, see the KUSANAGI Provisioning guide<\/a>.<\/p>

\n<\/p>

Finishing the WordPress installation<\/b><\/h2>

WordPress installation can be finished from your browser, so first launch your browser and access the domain (FQDN) that you specified during provisioning.<\/p>

\n<\/p>

After accessing the domain (FQDN), you will be prompted to the login screen, where you should enter “kusanagi” as a login name and kusanagi password from the initial setup step<\/a>.<\/p>

\n<\/p>

In the WordPress setup window, enter the basic information of your WordPress site, the site administrator’s user information, etc. And finish the installation.<\/p>

\"WordPress<\/div>

\n<\/p>

With Hostinger’s “AlmaLinux 9 with KUSANAGI 9” VPS template, you can quickly deploy a high-performance, secure web hosting environment. By following the steps outlined in this guide, you can easily set up, configure, and optimize your web application.<\/p>

\n<\/p>

For further details, refer to the official KUSANAGI documentation<\/a>.<\/p>

\n<\/p>

\n<\/p>

\n<\/p>

\n<\/p>

\n<\/p>

\n<\/p>

\n<\/p>

\n<\/p>

\n<\/p>\n","protected":false},"excerpt":{"rendered":"

Getting Started with KUSANAGI VPS template<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[206],"tags":[],"class_list":["post-424","post","type-post","status-publish","format-standard","hentry","category-vps-os-and-templates"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/10469876-how-to-use-the-kusanagi-vps-template-at-hostinger\/","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=424"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/424\/revisions"}],"predecessor-version":[{"id":2136,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/424\/revisions\/2136"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}