Galaxy Kylin installs mysql database (mariadb)-Galaxy Kylin installs JDK-Galaxy Kylin installs nginx (with installation package)

Galaxy Kylin Offline Complete Installation Tutorial (hands-on tutorial)

1. Install the mysql database (mariadb) on the Galaxy Kylin server system
2. Install the mysql database (mariadb) on the Galaxy Kylin desktop system
3. Install JDK on Galaxy Kylin server system
4. Install JDK on Galaxy Kylin desktop system
5. Install nginx on the Galaxy Kylin server system
6. Install nginx on the Galaxy Kylin desktop system

Various offline full installation tutorials of Tongxin UOS: https://blog.csdn.net/ACCPluzhiqi/article/details/131989394

Check the CPU architecture first before installing

Before installation, check the CPU architecture first, and install according to different architecture packages (All architecture installation packages are attached at the bottom)

Check the architecture (amd64, arm64, mips64, loongarch) and download different architectures according to different architectures

 uname -a

As shown below:

Galaxy Kirin server system installs mysql database (mariadb)

To install MySQL offline on Galaxy Kylin, you need to follow the steps below:

1. Download the MySQL RPM package: (there is a version CPU package download at the bottom)

First, you need to download the MySQL RPM installation package on another computer connected to the Internet. You can go to the MySQL official website or other reliable software download websites to download the MySQL RPM installation package suitable for your operating system version.

2. Transfer the RPM package to Galaxy Kylin:

Transfer the downloaded MySQL RPM package to the Galaxy Kylin system. You can use a USB flash drive, a mobile hard disk, or transfer files over the network to copy files to Galaxy Kylin.

3. Install the MySQL RPM package:

Open a terminal window and install the MySQL RPM package with the following command:

sudo rpm -ivh /your rpm package path/*.rpm

Replace /path/to/mysql.rpm with the file path of your downloaded MySQL RPM package. After executing this command, the system will start to install MySQL and display the installation progress.

4. Configure MySQL (generally not modified by default, unless you know these configurations very well)

After the installation is complete, you need to configure MySQL. You can modify the MySQL configuration file to suit your needs. MySQL configuration files are usually located in paths such as /etc/my.cnf or /etc/mysql/my.cnf.

5. Start MySQL:

Start the MySQL service with the following command in the terminal:

sudo service mysql start

If all is well, the MySQL service will be up and running.

Now you have successfully installed the MySQL RPM package offline in Galaxy Unicorn. You can use the MySQL client to connect and operate the MySQL database

6. Login to mysql


There is no password by default, if it is set, just enter the password

7. Change your password

mysql -u root -e "use mysql; update user set authentication_string = password('phOTy1PgA_oXGtmd'), password= password('the password you want to set'),password_expired = 'N' where user = 'root'; "
#Modify login
mysql -u root -e "use mysql; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'your password' WITH GRANT OPTION; FLUSH PRIVILEGES; "
#restart mysql
service mysql restart
#Set to autostart
systemctl enable mysql

8. Uninstall the old version

To uninstall a MySQL package installed via RPM, you can follow the steps below:

  1. Open Terminal: Open a terminal window in Galaxy Kylin to execute the uninstall command.

  2. Confirm the MySQL package name: List the installed MySQL packages and their versions using the following command:

    rpm -qa | grep mysql
    

    This will return a list of installed MySQL packages, note the name of the MySQL package.

  3. Uninstall the MySQL package: Use the following command to uninstall the MySQL package, replacing package-name with the name of the MySQL package you want to uninstall:

    sudo rpm -e package-name
    

    After executing this command, the system will start to uninstall the MySQL software package and display the progress of the uninstallation.

  4. Clean up residual files (optional): After uninstallation, you can choose to delete residual files of the MySQL package. Execute the following command to delete the residual files of the MySQL package:

    sudo rm -rf /var/lib/mysql
    

    This will delete all data and configuration files in the MySQL data directory. Please note that executing this command will not restore data, please make sure you have backed up important MySQL data.

Now you have successfully uninstalled the MySQL package via RPM

Install the mysql database (mariadb) on the Galaxy Kylin desktop system

To install MySQL offline on Galaxy Kylin, you need to follow the steps below:

1. Download the MySQL DEB package: (there is a version CPU package download at the bottom)

First, you need to download the MySQL DEB installation package on another computer connected to the Internet. You can go to the MySQL official website or other reliable software download websites to download the MySQL DEB installation package suitable for your operating system version.

2. Transfer DEB package to Galaxy Kylin:

Transfer the downloaded MySQL DEB package to the Galaxy Kylin system. You can use a USB flash drive, a mobile hard disk, or transfer files over the network to copy files to Galaxy Kylin.

3. Install the MySQL DEB package:

Open a terminal window and install the MySQL DEB package with the following command:

sudo dpkg -i /path/to/*.deb

Replace /path/to/ with the file path of your downloaded MySQL DEB package. After executing this command, the system will start to install MySQL and display the installation progress

4. Configure MySQL (generally not modified by default, unless you know these configurations very well)

After the installation is complete, you need to configure MySQL. You can modify the MySQL configuration file to suit your needs. MySQL configuration files are usually located in paths such as /etc/my.cnf or /etc/mysql/my.cnf.

5. Start MySQL:

Start the MySQL service with the following command in the terminal:

sudo service mysql start

If all is well, the MySQL service will be up and running.

Now you have successfully installed MySQL DEB package offline in Galaxy Unicorn. You can use the MySQL client to connect and operate the MySQL database

6. Login to mysql


There is no password by default, if it is set, just enter the password

Changing the password and uninstalling are the same as above, so I won’t introduce them any more.

Install JDK on Galaxy Kylin server system

To install JDK offline on the Galaxy Kylin server system, you can follow the steps below:

1. Download the JDK RPM package

: On another computer connected to the Internet, you can visit the official Oracle website or other trusted software download websites, and download the JDK RPM installation package for your operating system version. Make sure you download the correct version for Galaxy Unicorn.

2. Transfer the DEB package to the Galaxy Kylin server system:

Copy the downloaded JDK RPM package to the Galaxy Kylin server system using a USB flash drive, a mobile hard disk, or through network transmission.

3. Install the JDK RPM package:

Open a terminal and use the following command to install the JDK RPM package:

sudo rpm -ivh /path/to/*.rpm

Replace /path/to/ with the file path of the JDK RPM package you downloaded. After executing this command, the system will start to install JDK and display the installation progress.

4. Configure environment variables: (generally no need to configure, unless you have special path requirements)

After the installation is complete, you need to configure the JDK environment variables so that the system can find the JDK. Open the terminal, edit the ~/.bashrc file or the /etc/profile file, and add the following content:

export JAVA_HOME=/usr/java/jdk (your JDK installation path)
export PATH=$JAVA_HOME/bin:$PATH

After saving the file, execute the following command to make the environment variable take effect:

source ~/.bashrc

5. Verify installation:

Enter the following command in the terminal to check whether the JDK is successfully installed:

java -version

If the installation is successful, the JDK version information will be displayed.

Now you have successfully installed the JDK RPM package offline in the Galaxy Kylin server system. You can run Java applications on the Galaxy Kylin server system

Install JDK on Galaxy Kylin desktop system

To install JDK offline on the Galaxy Kylin desktop system, you can follow the steps below:

1. Download the JDK DEB package

: On another computer connected to the Internet, you can visit the Oracle official website or other trusted software download websites, and download the JDK DEB installation package for your operating system version. Make sure you download the correct version for Galaxy Unicorn.

2. Transfer the DEB package to the Galaxy Kylin server system:

Copy the downloaded JDK DEB package to the Galaxy Kylin server system using a USB flash drive, a mobile hard disk, or through network transmission.

3. Install the JDK DEB package:

Open a terminal and use the following command to install the JDK RPM package:

sudo dpkg -i /path/to/*.deb

Replace /path/to/ with the file path of the JDK DEB package you downloaded. After executing this command, the system will start to install JDK and display the installation progress.

4. Configure environment variables: (generally no need to configure, unless you have special path requirements)

After the installation is complete, you need to configure the JDK environment variables so that the system can find the JDK. Open the terminal, edit the ~/.bashrc file or the /etc/profile file, and add the following content:

export JAVA_HOME=/usr/java/jdk (your JDK installation path)
export PATH=$JAVA_HOME/bin:$PATH

After saving the file, execute the following command to make the environment variable take effect:

source ~/.bashrc

5. Verify installation:

Enter the following command in the terminal to check whether the JDK is successfully installed:

java -version

If the installation is successful, the JDK version information will be displayed.

Now you have successfully installed the JDK DEB package offline in the Galaxy Kylin server system. You can run Java applications on the Galaxy Kylin server system

Install nginx on Galaxy Kylin server system

To install Nginx offline on the Galaxy Kylin server system, you can follow the steps below:

1. Download Nginx RPM package

: On another computer connected to the Internet, you can visit the official Nginx website or other trusted software download sites and download the Nginx RPM installation package for your operating system version. Make sure you download the correct version for Galaxy Unicorn.

2. Transfer the RPM package to the Galaxy Kylin server system:

Copy the downloaded Nginx RPM package to the Galaxy Kylin server system using a USB flash drive, a mobile hard disk, or through network transmission.

3. Install Nginx RPM package:

Open a terminal and install the Nginx RPM package with the following command:

sudo rpm -ivh /path/to/*.rpm

Replace /path/to/ with the file path of the downloaded Nginx RPM package. After executing this command, the system will start to install Nginx and display the installation progress.

4. Start Nginx service:

After the installation is complete, start the Nginx service with the following command:

sudo systemctl start nginx

If all is well, the Nginx service will be up and running.

5. Verify installation:

Open a web browser and enter the server’s IP address (127.0.0.1) or domain name to see if you can access the Nginx welcome page. If you can see the welcome page of Nginx, the installation is successful.

Now you have successfully installed the Nginx RPM package offline on the Galaxy Kylin desktop system. You can host and manage websites and applications by configuring Nginx

Install nginx on Galaxy Kirin desktop system

To install Nginx offline on the Galaxy Kylin desktop system, you can follow the steps below:

1. Download Nginx DEB package

: On another computer connected to the Internet, you can visit the Nginx official website or other trusted software download sites, and download the Nginx DEB installation package for your operating system version. Make sure you download the correct version for Galaxy Unicorn.

2. Transfer the DEB package to the Galaxy Kylin desktop system:

Copy the downloaded Nginx DEB package to the Galaxy desktop system using a USB flash drive, a mobile hard disk, or through network transmission.

3. Install Nginx DEB package:

Open a terminal and install the Nginx DEB package with the following command:

sudo dpkg -i /path/to/*.deb

Replace /path/to/ with the file path of the Nginx DEB package you downloaded. After executing this command, the system will start to install Nginx and display the installation progress.

4. Start Nginx service:

After the installation is complete, start the Nginx service with the following command:

sudo systemctl start nginx

If all is well, the Nginx service will be up and running.

5. Verify installation:

Open a web browser and enter the server’s IP address (127.0.0.1) or domain name to see if you can access the Nginx welcome page. If you can see the welcome page of Nginx, the installation is successful.

Now you have successfully installed the Nginx RPM package offline in the Galaxy Kylin server system. You can host and manage websites and applications by configuring Nginx.

Galaxy Kylin offline installation package for all architectures
Click the link below to download according to your computer’s CPU:

Desktop system offline installation package

Galaxy Kirin desktop system mysql8.0 database offline deb installation package (Zhaoxin-Haiguang-intel-AMD-X86)
https://download.csdn.net/download/ACCPluzhiqi/88083729

Union UOS desktop system mysql5.7 database offline deb installation package (Zhaoxin-Haiguang-intel-AMD-X86)
https://download.csdn.net/download/ACCPluzhiqi/88083715

Galaxy Kirin desktop system mariadb database offline deb installation package (Zhaoxin-Haiguang-intel-AMD-X86)
https://download.csdn.net/download/ACCPluzhiqi/88083719

Galaxy Kirin desktop system nginx offline deb installation package (Zhaoxin-Haiguang-intel-AMD-X86)
https://download.csdn.net/download/ACCPluzhiqi/88083743

Galaxy Kirin desktop system JDK offline deb installation package (Zhaoxin-Haiguang-intel-AMD-X86)
https://download.csdn.net/download/ACCPluzhiqi/88083738>

Galaxy Kirin desktop system nginx offline deb installation package (Godson-loongarch)
https://download.csdn.net/download/ACCPluzhiqi/88083686

Galaxy Kirin desktop JDK offline deb installation package (Godson-loongarch)
https://download.csdn.net/download/ACCPluzhiqi/88083557

Galaxy Kirin desktop system mariadb database offline deb installation package (Godson-loongarch)
https://download.csdn.net/download/ACCPluzhiqi/88083546

Galaxy Kirin desktop system nginx offline deb installation package (Feiteng-Kunpeng-arm64 architecture)
https://download.csdn.net/download/ACCPluzhiqi/88072577

Galaxy Kirin desktop system JDK offline deb installation package (Phytium-Kunpeng-arm64 architecture)
https://download.csdn.net/download/ACCPluzhiqi/88072573

Galaxy Kirin desktop system mysql database offline deb installation package (Feiteng-Kunpeng-arm64 architecture)
https://download.csdn.net/download/ACCPluzhiqi/88072534

Galaxy Kylin desktop system mariadb database offline deb installation package (Feiteng-Kunpeng-arm64 architecture)
https://download.csdn.net/download/ACCPluzhiqi/88072520

Server system offline installation package

Galaxy Kirin server system nginx offline RPM installation package (Zhaoxin-Haiguang-intel-AMD-X86)
https://download.csdn.net/download/ACCPluzhiqi/88118548

Galaxy Kirin server system mariadb database offline RPM installation package (Zhaoxin-Haiguang-intel-AMD-X86)
https://download.csdn.net/download/ACCPluzhiqi/88118542

Galaxy Kirin server system JDK offline RPM installation package (Zhaoxin-Haiguang-intel-AMD-X86)
https://download.csdn.net/download/ACCPluzhiqi/88118532

Galaxy Kirin server system nginx offline RPM installation package (Godson-mips)
https://download.csdn.net/download/ACCPluzhiqi/88118520

Galaxy Kirin server system mairadb database offline RPM installation package (Godson-mips)
https://download.csdn.net/download/ACCPluzhiqi/88118515

Galaxy Kirin server system JDK offline RPM installation package (Godson-mips)
https://download.csdn.net/download/ACCPluzhiqi/88118505

Galaxy Kirin server system nginx offline RPM installation package (Feiteng-Kunpeng-arm64)
https://download.csdn.net/download/ACCPluzhiqi/88118502

Galaxy Kirin server system mariadb database offline RPM installation package (Feiteng-Kunpeng-arm64)
https://download.csdn.net/download/ACCPluzhiqi/88118500

Galaxy Kirin server system JDK offline RPM installation package (Feiteng-Kunpeng-arm64)
https://download.csdn.net/download/ACCPluzhiqi/88118495