阿里云默认是没有安装iptables 安装 yum install -t iptables yum install iptables-services 检查iptables服务的状态 service iptables status 如果出现“iptables: Firewall is not running”,说明没有启动或没有规则启动iptables服务 service iptables start 编辑iptables配置文件 vi /etc/sysconfig/iptables 保存重起
安装Xorg cd /usr/ports/x11/xorg-minimal make install clean 或 pkg install xorg-minimal 如果最小化安装xorg-server,startx启动测试X,需要安装twm.xclock.xterm等. 配置Xorg 快速启动测试X By default, Xorg usesHAL to autodetect keyboards and mice. The sysutils/hal and devel/dbus ports