查看服务的当前状态 (flaskApi) [root@67 goTest]# systemctl status nginx.service ● nginx.service - The nginx HTTP and reverse proxy server Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled) Active: active (running) since 一
租了一个阿里云服务器,然后需要一个nginx来处理一下静态文件的访问和动态文件的转发,头一天没有什么问题,第二次打开,各种问题就出来了!解决方法记录一下.... Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock 表示无法通过/var/run/mysql/mysqld.sock来连接MySQL. 先来看看mysqld.sock这个文件,mysqld.sock是链接MySQL服务器的文件,虽
1.redis加入系统启动命令 vim /etc/init.d/redis #!/bin/sh #chkconfig: 2345 80 90 # Simple Redis init.d script conceived to work on Linux systems # as it does use of the /proc filesystem. REDISPORT=6379 EXEC=/usr/local/redis/bin/redis-server CLIEXEC=/usr/local/
Command-line parameters 命令行参数 nginx supports the following command-line parameters: nginx支持以下命令行参数 -? | -h - print help for command-line parameters. -? | -h -打印命令行参数的帮助 -c file - use an alternative configuration file instead of a default file. -c fil