|
|
ubuntu系统卸载ufw防火墙服务查看状态:- t: q+ i! ~% r1 J
ufw status
( x# \, M* P; W5 n/ y$ F( _Status: inactive
* n# k/ o8 a2 N5 S5 H0 W. ]! t! M" O0 Z' c" E+ \9 ^0 V1 ~
$ N" M+ U; Z8 V2 o5 B
关闭ufw' y0 b$ A U6 F2 k
ufw disable 0 d9 @5 b% Q7 C! _) B
Firewall stopped and disabled on system startup
7 X! H; Y( F, k( l* k8 i
. M" F: f @4 Y1 d" a* k$ `5 x0 N3 |% |6 a) T, E# k
卸载5 N% L/ {5 R" T7 @& `: B2 y
- o% i& z! d7 o7 {8 Q
apt-get remove ufw -y
: X0 H, Z Q$ s3 E1 `1 C" Z
7 _8 j. G8 g' ]+ j: ~卸载时连同依赖包一起:
# e' R7 S: k" _- V+ u$ p9 c. c8 X4 X1 `1 x, h
apt-get purge ufw -y
- o; ^0 f0 n) I. R/ r- c
" x1 e. O- Q3 d; K: G# d/ L* c+ F* ~$ ?( X; y1 i" `) E( ?
% y7 J8 @7 P. s3 D9 x/ t
8 r- I$ Y2 B: e$ p0 \/ o
5 D( @4 X2 n: j$ k
+ N' i V% Y2 s( R% O0 a6 V, [ |
|