Tongxin UOS installs mysql database (mariadb) – Tongxin UOS installs JDK – Tongxin UOS installs nginx (with installation package)

Union UOS offline complete installation tutorial (hands-on tutorial)

Various offline complete installation tutorials of Galaxy Kylin: https://blog.csdn.net/ACCPluzhiqi/article/details/131988147

1. Install mysql (mariadb) on Tongxin UOS desktop system
2. Install JDK on UOS desktop system
3. Install nginx on UOS desktop system

Union UOS server operating system has not been seen to be used by any unit, basically it is the Galaxy Kirin server version
So I won’t introduce the Tongxin UOS server system here.
Anyway, I haven’t seen it so far, and I have run hundreds of units and none of them use it.

Check the CPU architecture first before installing

Before installation, check the CPU architecture first, and install it 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:

Union UOS desktop system installs mysql database (mariadb)

To install MySQL offline on the UOS desktop system, 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 Tongxin UOS desktop system:

Transfer the downloaded MySQL DEB package to the Tongxin UOS desktop system. You can use a U disk, a mobile hard disk or transfer the file to the Unicom UOS desktop system.

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 the MySQL DEB package offline in the Tongxin UOS desktop system. 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

What should I do if the installation is wrong or an old version already exists?
View the wrong installed version and dependencies:

dpkg --list|grep mysql

Then uninstall once

sudo apt-get --purge remove mysql-server

After the uninstallation is complete, continue with the installation. . .

Union UOS desktop system installs JDK

To install JDK offline on the Unicom UOS 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. Please make sure that you download the version suitable for Tongxin UOS desktop.

2. Transfer DEB package to Tongxin UOS desktop system:

Copy the downloaded JDK DEB package to the Tongxin UOS desktop 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 Tongxin UOS desktop system. You can run Java applications on the Tongxin UOS desktop system

Union UOS desktop system installs nginx

To install Nginx offline on the Tongxin UOS 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. Please make sure that you download the version suitable for Tongxin UOS desktop system.

2. Transfer DEB package to Tongxin UOS desktop system:

Copy the downloaded Nginx DEB package to the Tongxin UOS desktop system by 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 on the Tongxin UOS desktop system. You can host and manage websites and applications by configuring Nginx.

Offline installation package for all architectures of UOS desktop system
Click the link below to download according to your computer’s CPU:

Desktop system offline installation package:

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

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

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

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

Union UOS desktop system nginx offline deb installation package (Godson-loongarch)
https://download.csdn.net/download/ACCPluzhiqi/88083560

Union UOS desktop system JDK offline deb installation package (Godson-loongarch)
https://download.csdn.net/download/ACCPluzhiqi/88083554

Union UOS desktop system mariadb database offline deb installation package (Godson-loongarch)
https://download.csdn.net/download/ACCPluzhiqi/88083538

Union UOS desktop system nginx offline deb installation package (Feiteng-Kunpeng-arm64 architecture)
https://download.csdn.net/download/ACCPluzhiqi/88072575

Union UOS desktop system JDK offline deb installation package (Feiteng-Kunpeng-arm64 architecture)
https://download.csdn.net/download/ACCPluzhiqi/88072569

Union UOS desktop system mariadb database offline deb installation package (Feiteng-Kunpeng-arm64 architecture)
https://download.csdn.net/download/ACCPluzhiqi/88072511