没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
root@Server01:~# apt -y install mariadb-server apache2 libapache2-mod-php 1
root@Server01:~# systemctl restart mariadb.service2
3
root@Server01:~# mysql_secure_installation 4
5
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB 6
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! 7
8
In order to log into MariaDB to secure it, we'll need the current 9
password for the root user. If you've just installed MariaDB, and 10
you haven't set the root password yet, the password will be blank, 11
so you should just press enter here. 12
13
Enter current password for root (enter for none): 14
OK, successfully used password, moving on... 15
16
Setting the root password ensures that nobody can log into the MariaDB 17
root user without the proper authorisation. 18
19
Set root password? [Y/n] y 20
New password: 21
Re-enter new password: 22
Password updated successfully! 23
Reloading privilege tables.. 24
... Success! 25
26
27
By default, a MariaDB installation has an anonymous user, allowing anyone 28
to log into MariaDB without having to have a user account created for 29
them. This is intended only for testing, and to make the installation 30
go a bit smoother. You should remove them before moving into a 31
production environment. 32
33
Remove anonymous users? [Y/n] y 34
... Success! 35
36
Normally, root should only be allowed to connect from 'localhost'. This 37
资源评论
网工LAB
- 粉丝: 28
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功