- 博客(6)
- 收藏
- 关注
原创 Yum安装nginx
安装:yum -y install nginx1创建目录,引用目录关系mkdir -p /etc/nginx/stream.d/;echo "include /etc/nginx/stream.d/*.conf;" >> /etc/nginx/nginx.conf2编写conf配置文件cat > /etc/nginx/stream.d/stream.conf ...
2019-01-21 16:51:25 281
原创 nginx基础配置文件+域名跳转服务器内部tomcat
user root;worker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_time...
2019-01-18 17:04:23 439
原创 脚本编写学习
1.if [ true ]; then echo "有值" else echo "没有值"fi 2.shell=$1xshell=$2if [ ${shell} ];then echo "${shell} ${xshell}" else echo "我走了" ...
2019-01-18 15:46:00 4145 1
原创 Liunx防火墙相关使用
执行以下命令后,恢复running:systemctl stop firewalld;pkill -f firewalld;systemctl start firewalld出错请打开systemctl start iptables.service1、firewalld的基本使用启动: systemctl start firewalld查看状态: systemctl stat...
2019-01-18 14:09:23 296
原创 liunx上EalsticSearch安装步骤,亲测可用
#安装javayum -y install java#安装wgetyum -y install wget#安装eswget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.3.tar.gz#解压至 /usr/localtar -zxvf elasticsearch-5.6.3....
2019-01-17 14:01:37 306
原创 VMWare虚拟机调试 桥接和NAT 网络
查看VM本机ip: ip a本文介绍 VMWare虚拟机调试 桥接和NAT 两种网络//若本机ip: 192.168.40.2381.设置虚拟机的方式:桥接 -->nmtui-->设置ipv4的ip (网段和本机一样,192.168.40.100/24) ...
2019-01-14 10:19:26 1086 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人