Linux oneinstack开发环境.精华
程序员文章站
2022-07-12 10:01:56
...
url:云主机安全组端口开放教程
云 of 阿里.腾讯.华为
(2020-1-10 23:52:22)
ok(2020-1-10 23:58:26)
url:学习oneinstack镜像开发环境
浏览器访问公网ip,成功进入页面.
(2020-1-11 0:00:42)
数据库操作.修改密码
[aaa@qq.com ~]# cd /root/oneinstack
[aaa@qq.com oneinstack]# ls
addons.sh config move_auto_fdisk.sh src vhost.sh
backup_setup.sh include optimize.sh tools
backup.sh init.d options.conf uninstall.sh
change_jdk_version.sh install.log pureftpd_vhost.sh upgrade.sh
change_php_version.sh install.sh reset_db_root_password.sh versions.txt
[aaa@qq.com oneinstack]# grep dbrootpwd options.conf
dbrootpwd='1EORgeJl'
[aaa@qq.com oneinstack]# ./reset_db_root_password.sh
[aaa@qq.com oneinstack]# mysql -uroot -p
MySQL [(none)]> create database gwdsss;
Query OK, 1 row affected (0.00 sec)
MySQL [(none)]> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| gwdsss |
| mysql |
| performance_schema |
+--------------------+
4 rows in set (0.00 sec)
MySQL [(none)]> exit
Bye
虚拟主机?
(2020-1-11 0:18:30)