您的位置 首页 php

linux – 宝塔运维工具 LNMP Nginx Mysql Php

一、Mysql数据库

1.1安装

1.2查看系统版本信息

[root@localhost local]# cat /etc/redhat-release

CentOS Linux release 7.6.1810 (Core)

1.3查找mari

[root@localhost local]# rpm -qa|grep mari

mariadb-libs-5.5.68-1.el7.x86_64

1.4宝塔安装目录

[root@localhost /]# find -name mysql

./www/server/panel/pyenv/lib/python3.7/site-packages/sqlalchemy/dialects/mysql

./www/server/mysql

./www/server/mysql/bin/mysql

./www/server/mysql/include/mysql

./www/server/data/mysql

1.5登录mysql

[root@localhost www]# mysql -u root -p

1.6修改密码,密码登记

1.7查看存在数据库

mysql>use ***; //使用***数据库

二、Nginx

1.查看是否安装Nginx

[root@localhost www]# whereis nginx //本机已安装

nginx: /usr/bin/nginx

如需要安装

下载解压、安装

2.本机Nginx安装目录

3.Nginx配置文件

4.Nginx常用命令

[root@localhost www]# ls

backup disk.pl server wwwlogs wwwroot

文章来源:智云一二三科技

文章标题:linux – 宝塔运维工具 LNMP Nginx Mysql Php

文章地址:https://www.zhihuclub.com/150422.shtml

关于作者: 智云科技

热门文章

网站地图