VPS
-
-
宝塔面板自动挂载硬盘
Centos/Fedora系统: yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh Ubuntu…… -
-
zerotier搭建moon
安装 curl -s https://install.zerotier.com | sudo bash 进入zerotier目录 cd /var/lib/zerotier-one zerotier-idtool initmoon identity.public >>moon.json…… -
内网穿透之frp
github项目地址:https://github.com/fatedier/frp 服务端: 下载(根据平台、CPU架构选择对应版本) https://github.com/fatedier/frp/releases/download/v0.34…… -
ubuntu安装nginx
1、安装依赖保 yum install gcc-c++ yum install gcc yum install -y pcre pcre-devel zlib zlib-devel openssl openssl-devel 2、下载nginx wget http://n…… -
ubuntu查看防火墙命令
查看防火墙当前状态 sudo ufw status 开启防火墙 sudo ufw enable 关闭防火墙 sudo ufw disable 查看防火墙版本 sudo ufw version 默认允许外部访问本机 sudo …… -
E: Unable to locate package openjdk-8-jre-headless
在ubuntu上安装JDK时遇到问题: $ apt-get install openjdk-8-jre-headless Reading package lists... Done Building dependency tree Reading state informat…… -
centos遇到的一些问题
问题一 问题:运行netstat -ntlp 出现 -bash: netstat: command not found 解决方法:yum install net-tools -
CentOS7 关闭自带防火墙
systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 firewall-cmd --state #查看默认防火墙状态(……