Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build Web Server under openSUSE 12.1

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to build a Web server under openSUSE 12.1. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

1. Commentary

The IP address used in this tutorial is 192.168.0.100 and the host name is Server1.example.com. These settings may vary and you will need to modify them accordingly.

Installing MySQL5 under openSUSE 12.1

2. Install MySQL5

First we need to install MySQL5 with the following command:

yast2 -i mysql mysql-client mysql-community-server

Then we need to create a MySQL system startup key link to start MySQL server, so that MySQL starts automatically when the system starts,

systemctl enable mysql.servicesystemctl start mysql.service

To ensure MySQL installation is complete, run:

mysql_secure_installation

The following prompt questions will be encountered below;

server1:~ # mysql_secure_installationNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQLSERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MySQL to secure it, we'll need the currentpassword for the root user. If you've just installed MySQL, andyou haven't set the root password yet, the password will be blank,so you should just press enter here.Enter current password for root (enter for none):

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report