甲骨文云开放所有端口

甲骨文云开放所有端口

Ubuntu系统下:

1
2
3
4
5
6
7
8
9
10
11
开放所有端口
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F

Ubuntu镜像默认设置了Iptable规则,关闭它
apt-get purge netfilter-persistent
reboot
或者强制删除
rm -rf /etc/iptables && reboot

Centos系统下:

1
2
3
4
5
6
7
8
9
10
删除多余附件
systemctl stop oracle-cloud-agent
systemctl disable oracle-cloud-agent
systemctl stop oracle-cloud-agent-updater
systemctl disable oracle-cloud-agent-updater

停止firewall
systemctl stop firewalld.service
禁止firewall开机启动
systemctl disable firewalld.service

国际版宝塔安装命令

1
URL=https://www.aapanel.com/script/install_7.0_en.sh && if [ -f /usr/bin/curl ];then curl -ksSO "$URL" ;else wget --no-check-certificate -O install_7.0_en.sh "$URL";fi;bash install_7.0_en.sh aapanel

alist

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Alist 安装成功!

访问地址:http://YOUR_IP:5244/

配置文件路径:/opt/alist/data/config.json
---------如何获取密码?--------
先cd到alist所在目录:
cd /opt/alist
随机设置新密码:
./alist admin random
或者手动设置新密码:
./alist admin set NEW_PASSWORD
----------------------------
启动服务中

查看状态:systemctl status alist
启动服务:systemctl start alist
重启服务:systemctl restart alist
停止服务:systemctl stop alist