INSTALLING UFW (UNCOMPLICATED FIREWALL) IN DEBIAN
2016-02-03 00:00
567 查看
To install UFW in Debian 5.0 (Lenny) there are a couple gotchas that you will hit along the way.
UFW requires Python 2.5 or greater.
UFW requires make
UFW does NOT automatically start at boot even though it says it does.
Here are the commands I ran on a clean install (as root).
Update your package list: aptitude update
Upgrade your distribution: aptitude safe-upgrade
Install Python: aptitude install python
Install build utils: aptitude install build-essential
Move to a temp location: cd /tmp
Get the latest from UFW: wget http://launchpad.net/ufw/0.29/0.29.3/+download/ufw-0.29.3.tar.gz
Extract the source: tar xvf ufw-0.29.3.tar.gz
Go into the source: cd ufw-0.29.3
Install UFW: python setup.py install
Configure UFW to boot with tips from here: ln -fs /lib/ufw/ufw-init /etc/init.d/ufw
Configure rc.defaults: update-rc.d ufw defaults
Enable UFW: ufw enable
NOTE if you do NOT have make installed you will get a “No such file or directory” error. This actually took me a little while (and digging in setup.py) to figure out.
TAGGED AS: DEBIAN, FIREWALL, PRO-TIP, UBER-GEEK, UFW
Twitter
Pinterest
Facebook
Google+
ugw 如果你不能用wget,也可以到这里下载 https://launchpad.net/ufw/+download
UFW requires Python 2.5 or greater.
UFW requires make
UFW does NOT automatically start at boot even though it says it does.
Here are the commands I ran on a clean install (as root).
Update your package list: aptitude update
Upgrade your distribution: aptitude safe-upgrade
Install Python: aptitude install python
Install build utils: aptitude install build-essential
Move to a temp location: cd /tmp
Get the latest from UFW: wget http://launchpad.net/ufw/0.29/0.29.3/+download/ufw-0.29.3.tar.gz
Extract the source: tar xvf ufw-0.29.3.tar.gz
Go into the source: cd ufw-0.29.3
Install UFW: python setup.py install
Configure UFW to boot with tips from here: ln -fs /lib/ufw/ufw-init /etc/init.d/ufw
Configure rc.defaults: update-rc.d ufw defaults
Enable UFW: ufw enable
NOTE if you do NOT have make installed you will get a “No such file or directory” error. This actually took me a little while (and digging in setup.py) to figure out.
TAGGED AS: DEBIAN, FIREWALL, PRO-TIP, UBER-GEEK, UFW
Google+
ugw 如果你不能用wget,也可以到这里下载 https://launchpad.net/ufw/+download
相关文章推荐
- FTP主动模式和被动模式的区别
- 个人博客编写模板
- 用的是google 的swing ,二维码生成工具类
- 一个java 验证码的实现提供多种的实现
- spring boot 集成框架事例
- 位图和矢量图区别,PS和AI的区别
- IE 8 下面的垂直水平居中
- java quartz的使用,做时间轮询调用 CronTrigger
- java File 的相对路径
- java 的对象强制转换后的调用
- java 算法实现字符串的匹配
- java 正则表达式高级篇(四种常用的处理方式:匹配 分割 替代 获取)
- Zbrush中的Visibility和Polygroups命令
- Maple三维图命令介绍
- [Ng机器学习公开课2]单变量线性回归
- How to Disable System Integrity Protection
- 怎样设置iMindMap导图背景
- Python编码问题
- 【HTML5入门教程二】HTML5 视频属性的技巧分享
- C++