分类目录

Fedora 10 配置服务

Transfered from my journal.

http://trech.blogspot.com/2007/05/basics-cn.html Fedora里面有两种管理服务的方式, 一是使用图形化工具, 另一个就是仅仅使用命令行. 如果你不在图形化的环境中, 就需要用命令行方式. #> ntsysv #> service servicename status/start/stop http://blog.csdn.net/InnerSea/archive/2009/01/09/3742168.aspx Fed…… http://trech.blogspot.com/2007/05/basics-cn.html Fedora里面有两种管理服务的方式, 一是使用图形化工具, 另一个就是仅仅使用命令行. 如果你不在图形化的环境中, 就需要用命令行方式. #> ntsysv #> service servicename status/start/stop http://blog.csdn.net/InnerSea/archive/2009/01/09/3742168.aspx Fedora 10 配置服务 ConsoleKit(除非使用gdm和gnome) NetworkManager, NetworkManagerDispathcer(ADSL用户和需要切换网络的用户不要关闭此服务) avahi-daemon(除非使用ZeroConf) autofs(除非不使用U盘,不可能吧?) bluetooth(除非拥有蓝牙模块) capi(除非拥有ISDN设备) cups(打印服务) dund(蓝牙拨号软件) firstboot(只在首次启动时有用) gpm(终端下的鼠标支持) httpd(web服务) ip6tables(IPv6防火墙) irda(除非拥有红外线设备) isdn(除非拥有蓝牙模块) kudzu(检测硬件设备更新) lisa(类似网上邻居,使用samba或NFS时可以关闭) mdmonitor(除非使用RAID或LVM) netconsole(初始化网络控制台登录) netfs(自动挂载网络上的文件系统,不使用samba或NFS时可以关闭) nfs, [...]

Linux gateway configuration (Fedora 10)

Transfered from my journal.

http://www.laxjyj.com/www/web/4718544.html

http://bbs.linuxpk.com/thread-4016-2-1.html

/etc/sysconfig/network -> /etc/sysconfig/networking/devices/ifcfg-eth0 -> /etc/sysconfig/networking/devices/ifcfg-eth1 -> /etc/sysconfig/network-scripts/ifcfg-eth0 -> /etc/sysconfig/network-scripts/ifcfg-eth1

cat network NETWORKING=yes HOSTNAME=frontend GATEWAY=10.4.3.1

cat /etc/rc.d/rc.local route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.100.254 eth1 route add default gw 10.4.3.1 eth0

#>ip r #>route -n

Google blocked in China, bypass

Maybe Google was blocked by DNS, you could use the OPENDNS to resolve it.

Or add the following lines into the file “hosts”: # Google 66.249.89.99 google.com 66.249.89.99 docs.google.com 66.249.89.99 www.google.com 66.249.89.99 mail.google.com