摘要: 安装步骤省略... 启动:cd至sbin目录下,使用./nginx启动 cd /usr/local/nginx/sbin ./nginx 检查配置命令: [root@localhost sbin]# ./nginx -t 重启: ./nginx -s reload 停止nginx所有进程: pkil 阅读全文
posted @ 2020-12-02 17:32 金卧古梁 阅读(61) 评论(0) 推荐(0)
摘要: 1.下载后解压,并移动至/usr/local/ 目录下,重命名文件名为redis 2.安装gcc环境 由于redis是由C语言编写的,它的运行需要C环境,因此我们需要先安装gcc。安装命令如下: yum install gcc-c++ 3.进入/usr/local/redis目录,使用make进行编 阅读全文
posted @ 2020-12-02 17:28 金卧古梁 阅读(82) 评论(0) 推荐(0)
摘要: 创建文件:/etc/systemd/system/netcoreapi.service 以下是应用的一个示例服务文件: [Unit] Description=MyWebAPI [Service] WorkingDirectory=/netcore/api ExecStart=/usr/bin/dot 阅读全文
posted @ 2020-12-02 17:09 金卧古梁 阅读(268) 评论(0) 推荐(0)