title: 有用的ubuntu命令
date: 2021-07-07 10:46:02
description: “整了个ubuntu的Oracle服务器 在此整理下自己用到的命令用法”
categories: 学习笔记
tags:
- 学习
- 学习笔记
- Ubuntu
命令行
iptables
service iptables stop 关闭iptables 服务 (仅仅是关闭服务 限制依然在)
service iptables start 启动iptables 服务
iptables -P INPUT ACCEPT 入站全部接受
iptables -P OUTPUT ACCEPT 出站全部接受
网络配置位置
sudo vim /etc/network/interfaces
网络优先使用ipv4
cd /etc | sudo vim gai.conf
取消注释 For sites which prefer IPv4 connections change the last line to 下面一行的
precedence ::ffff:0……
更多
百度 bing
不断填充中~