云瀚
[root@izj6c568nnw638q5xwlkwzz /]# mysql -V
mysql Ver 14.14 Distrib 5.6.40, for Linux (x86_64) using EditLine wrapper
[root@izj6c568nnw638q5xwlkwzz /]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Oct 19 2017 20:39:16
[root@izj6c568nnw638q5xwlkwzz /]# nginx -v
nginx version: nginx/1.14.0
[root@izj6c568nnw638q5xwlkwzz /]# php -v
PHP 5.2.17 (cli) (built: May 29 2018 09:01:36)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
服务器
[root@localhost /]# mysql -V
mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapper
[root@localhost /]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Nov 5 2018 01:47:09
[root@localhost /]# nginx -v
-bash: nginx: command not found
[root@localhost /]# php -v
PHP 5.4.16 (cli) (built: Oct 30 2018 19:30:51)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
云瀚
listen 80;
server_name www.vast-data.com;
location / {
root /usr/share/nginx/html/vast-data;
index index.php index.html index.htm;
}
1.查看数据库,选中使用数据库,并查看数据库表,具体操作命令如下:
show databases;
use student;
show tables;