linux
七胜文状元兼参谋将军
这个作者很懒,什么都没留下…
展开
-
unbantu安装jdk1.8
unbantu安装jdk1.8原创 2023-02-14 10:10:22 · 147 阅读 · 0 评论 -
centos或者unbantu搭建minio
centos搭建minio原创 2022-07-28 16:52:51 · 529 阅读 · 0 评论 -
linux 同步时间
linux 同步时间同步阿里时间 后面也可以跟ip地址ntpdate ntp1.aliyun.com定时同步时间0 12 * * * * /usr/sbin/ntpdate ntp1.aliyun.com原创 2021-12-29 10:30:11 · 662 阅读 · 0 评论 -
nginx代理静态页面
server { listen8991; server_name localhost; location / { root /home/opendata/web/dist; index index.html index.htm; } }原创 2021-12-20 11:02:38 · 3091 阅读 · 0 评论 -
scp和rsync命令
SCP命令(1)scp 定义scp 可以实现服务器与服务器之间的数据拷贝。(from server1 to server2) (2)基本语法scp -r $pdir/$fname $user@$host:$pdir/$fname命令 递归 要拷贝的文件路径/名称 目的地用户@主机:目的地路径/名称(3)基本示例scp -r jdk1.8.0_291/ root@hadoop103:opt/modulescp -r root@hadoop102:/opt/module/* root@h原创 2021-07-16 10:27:39 · 371 阅读 · 0 评论 -
centOS7 查看防火墙状态
centOS7 查看防火墙状态一、防火墙的开启、关闭、禁用命令(1)设置开机启用防火墙: systemctl enable firewalld.service(2)设置开机禁用防火墙: systemctl disable firewalld.service(3)启动防火墙: systemctl start firewalld(4)关闭防火墙: systemctl stop firewalld(5)检查防火墙状态: systemctl status firewalld ...原创 2021-06-21 09:42:25 · 404 阅读 · 0 评论 -
linux上nginx部署
cd /usr/locallocal下新建文件夹nginx :mkdir nginx(文件夹名)进入 nginx目录中:cd nginx第一步:下载nginx压缩包 wget -c https://nginx.org/download/nginx-1.21.0.tar.gz第二步:配置nginx安装所需的环境yum install gcc-c++yum install -y pcre pcre-develyum install -y zlib zlib-develyum insta原创 2021-06-11 10:47:15 · 267 阅读 · 1 评论 -
Linux基本操作命令
查看某端口号占用情况netstat -an|grep 端口号原创 2020-04-06 17:36:37 · 25125 阅读 · 0 评论