网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 手机学院 | 邮件系统 | 网络安全 | 认证考试
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > Shell教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
本月文章推荐
.shell实现Unix进程间信息交换的几.
.Linux程式设计-11.ShellScript(b.
.我要如何将csh的stdout与stderr导.
.Linux程式设计-11.ShellScript(b.
.Linux程式设计-11.ShellScript(b.
.Linux程式设计-11.ShellScript(b.
.shell技巧.
.Linux程式设计-11.ShellScript(b.
.Bash中的特殊字符.
.Shell递归程序设计-目录列表.
.Linux程式设计-11.ShellScript(b.
.Shell递归程序设计-批量转换大写.
.Linux内核模块和驱动的编写.
.Linux程式设计-11.ShellScript(b.
.Bash最常见的激活模式.
.shell编程例子--一个.login例子.
.Linux程式设计-11.ShellScript(b.
.两个很详细的shell实例.
.利用ip_conntrack表实现封ip的sh.
.赶走一些你不希望进入的用户.

HowtoCreatingandBootingaNewKernelWithautoconfig

发表日期:2006-3-5

IwillpostsometechtipaboutIrix,hopeitwillbeusefultoeveryone.

Tobuildanewkernelafterreconfiguringthesystem,followthesesteps:
1.Becomethesuperuserbygivingthecommand:
su
2.Makeacopyofyourcurrentkernelwiththecommand:
cp/unix/unix.save
3.Givethecommand:
/etc/autoconfig-f
Thiscommandcreatesanewkernelandplacesitinthefile/unix.install.
4.Rebootyoursystemwiththecommand:
reboot
Caution:Whenyouissuetherebootcommand,thesystemoverwritesthecurrentkernel
(/unix)withthekernelyouhavejustcreated(/unix.install).Thisiswhyyoushouldalways
copythecurrentkerneltoasafeplacebeforerebooting.

RecoveringFromanUnbootableKernel

1.Ifthesystemfailstoreboot,trytorebootitagain.Ifitstillfails,interrupttheboot
processanddirectthebootPROMtobootfromyouroldsavedkernel(unix.save).
2.PresstheResetbutton.YouseetheSystemMaintenanceMenu:
SystemMaintenanceMenu
1)StartSystem.
2)InstallSystemSoftware.
3)RunDiagnostics.
4)RecoverSystem.
5)EnterCommandMonitor.
3.Chooseoption5toentertheCommandMonitor.Yousee:
CommandMonitor.Type"exit"toreturntothemenu.
>>
4.Nowatthe>>prompt,tellthePROMtobootyouroldsavedkernel.Thecommand
is:
bootunix.save
Thesystembootstheoldsavedkernel.
5.Oncethesystemisrunning,usethefollowingcommandtomoveyouroldsaved
kerneltothedefault/unixname.Thismethodalsokeepsacopyofyouroldsaved
kernelinunix.save:
cp/unix.save/unix
Thenyoucannormallybootthesystemwhileyouinvestigatetheproblemwiththenew
kernel.Trytofigureoutwhatwentwrong.Whatwaschangedthatstoppedthekernel
frombooting?Reviewthechangesthatyoumade.
?Didyouincrease/decreaseaparameterbyalargeamount?Ifso,makethechange
lessdrastic.
?Didyouchangemorethanoneparameter?Ifso,makeachangetoonlyone
parameteratatime.

购买网站空间(支持ASP/.NET/PHP):送域名、送邮箱、更送1G U盘
上一篇:利用ip_conntrack表实现封ip的shell脚本,并有简单的web发布 人气:9784
下一篇:批量添加用户 人气:9596
浏览全部shell的内容 Dreamweaver插件下载 网页广告代码 2009年新年快乐