[问题]不小心覆盖了/etc/sysctl.conf文件的内容!!!

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
tina_2007
帖子: 17
注册时间: 2007-10-29 10:19

[问题]不小心覆盖了/etc/sysctl.conf文件的内容!!!

#1

帖子 tina_2007 » 2007-12-20 18:36

:( 不小心覆盖了/etc/sysctl.conf文件的内容,应该怎么恢复??
系统为Ubuntu7.04 。
头像
yaoms
帖子: 4952
注册时间: 2007-10-19 14:51
来自: 深圳

#2

帖子 yaoms » 2007-12-20 18:50

让同样使用7.04的朋友给你一个,不知道行不行。
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
xjyzhenai
帖子: 38
注册时间: 2007-07-15 11:30

#3

帖子 xjyzhenai » 2007-12-20 18:59

这文件貌似没用。打开了里面全是注释掉的语句。如果UB启动时硬要检测这个文件是否存在,那就建个空文件试试。
tina_2007
帖子: 17
注册时间: 2007-10-29 10:19

#4

帖子 tina_2007 » 2007-12-20 19:00

公司就我一个装了这个系统。。。
这里有谁装了这个版本的,能帖上来吗?
先谢了!!
头像
windwiny
帖子: 2254
注册时间: 2007-03-13 17:26

#5

帖子 windwiny » 2007-12-20 20:09

代码: 全选

#
# /etc/sysctl.conf - Configuration file for setting system variables
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com
#net/ipv4/icmp_echo_ignore_broadcasts=1

# the following stops low-level messages on console
kernel.printk = 4 4 1 7

# enable /proc/$pid/maps privacy so that memory relocations are not
# visible to other users.
kernel.maps_protect = 1

# Increase inotify availability
fs.inotify.max_user_watches = 524288

##############################################################3
# Functions previously found in netbase
#

# Uncomment the next line to enable Spoof protection (reverse-path filter)
#net.ipv4.conf.default.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
#net.ipv4.tcp_syncookies=1

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.conf.default.forwarding=1

# Uncomment the next line to enable packet forwarding for IPv6
#net.ipv6.conf.default.forwarding=1
8.04 的
回复