【正文】
vi /etc/hosts最后保存退出其中導(dǎo)致我系統(tǒng)無法正常啟動(dòng)的原因找出來了,問題也解決了,就是主機(jī)名修改錯(cuò)誤以下是主機(jī)名正確的修改方法,請大家務(wù)必注意了主機(jī)名配置文件 /etc/hosts解說;Fedora/Redhat 或以Fedora/Redhat為基礎(chǔ)打包的發(fā)行版,主機(jī)名配置文件是 /etc/hostsDebian或以Debian為基礎(chǔ)打包的發(fā)行版,主機(jī)名配置文件是 /etc/hostname 和/etc/hostsSlackware的主機(jī)名配置文件是 /etc/hosts 那我們來讀讀 /etc/hosts的內(nèi)容,看這個(gè)文件是用來做什么的。/etc/hosts 的內(nèi)容一般有如下類似內(nèi)容: 第一部份:網(wǎng)絡(luò)IP地址;第二部份:,注意主機(jī)名和域名之間有個(gè)半角的點(diǎn),比如 第二部份:主機(jī)名(主機(jī)名別名) ,其實(shí)就是主機(jī)名;當(dāng)然每行也可以是兩部份,就是主機(jī)IP地址和主機(jī)名;比如 debian 是回環(huán)地址,比如我們不想讓局域網(wǎng)的其它機(jī)器看到我們測試的網(wǎng)絡(luò)程序,就可以用回環(huán)地址來測試。 localhost以下是修改后的操作 /etc/sysconfig/network2. hostname name3. vi /etc/hosts,之后修改成功了暫且不知道需要哪些包,等一下需要的時(shí)候再從安裝光盤里面獲取新增oinstall、dba用戶組,oracle用戶[rootoracle10g /] groupadd oinstall[rootoracle10g /] groupadd dba[rootoracle10g /] useradd g oinstall G dba d /home/oracle oracle[rootoracle10g /] passwd oracleChanging password for user oracle.New UNIX password: BAD PASSWORD: it is based on a dictionary wordRetype new UNIX password: passwd: all authentication tokens updated su