随笔分类 - Linux
摘要:安装步骤省略... 启动:cd至sbin目录下,使用./nginx启动 cd /usr/local/nginx/sbin ./nginx 检查配置命令: [root@localhost sbin]# ./nginx -t 重启: ./nginx -s reload 停止nginx所有进程: pkil
阅读全文
摘要:1.下载后解压,并移动至/usr/local/ 目录下,重命名文件名为redis 2.安装gcc环境 由于redis是由C语言编写的,它的运行需要C环境,因此我们需要先安装gcc。安装命令如下: yum install gcc-c++ 3.进入/usr/local/redis目录,使用make进行编
阅读全文
摘要:创建文件:/etc/systemd/system/netcoreapi.service 以下是应用的一个示例服务文件: [Unit] Description=MyWebAPI [Service] WorkingDirectory=/netcore/api ExecStart=/usr/bin/dot
阅读全文
摘要:1、开启防火墙 systemctl start firewalld 2、开放指定端口 firewall-cmd --zone=public --add-port=1935/tcp --permanent 3、重启防火墙 firewall-cmd --reload 4、查看端口号 netstat -n
阅读全文
摘要:1.检查是否已经安装过mysql,执行命令 rpm -qa | grep mysql 2.执行删除命令 rpm -e --nodeps mysql-libs-5.1.73-5.el6_6.x86_64 查询所有Mysql对应的文件夹 whereis mysql find / -name mysql
阅读全文
摘要:1.安装netcore环境 参考文章:https://docs.microsoft.com/zh-cn/dotnet/core/install/linux-centos 安装 .NET 之前,请运行以下命令,将 Microsoft 包签名密钥添加到受信任密钥列表,并添加 Microsoft 包存储库
阅读全文

浙公网安备 33010602011771号