yum info nginx(查看资源库中可以安装的 nginx 软件包信息)
yum install nginx -y(安装 nginx)
nginx -v(查看 nginx 安装版本)
nginx -t(查看 nginx 配置文件是否正确)
whereis nginx(查找出 nginx 相关目录)
systemctl start nginx.service(启动 nginx 服务)
systemctl stop nginx.service(关闭 nginx 服务)
systemctl status nginx(查看 nginx 状态)
systemctl restart nginx
启动:systemctl start shadowsocks.service
停止:systemctl stop shadowsocks.service
重启:systemctl restart shadowsocks.service
状态:systemctl status shadowsocks.service
1. 快速步骤分解
打开我们的项目,此时项目中是没有 .git 文件的
在你的项目文件夹里面【鼠标右击】弹出菜单
在【鼠标右击】弹出的菜单中,点击【Git Bash Here】
在命令窗口中输入:git init
在 Gitee 中 我们刚刚新建的仓库里,去复制仓库的地址
在命令窗口中输入:git remote add origin 你的仓库地址
在命令窗口中输入:git pull origin master
在命令窗口中输入:git add .
在命令窗口中输入:git commit -m “提交项目”
在命令窗口中输入:git push origin master
运维知识点
于 2024-04-09 09:42:09 首次发布