Ubuntu的問題 - Linux

Table of Contents

想請問一下

我在Ubuntu下sudo vim /etc/hostname

並改自己想要的名字

編好之後 下hostname

還是原本的名字

請問是甚麼原因?(已解...我沒重開...)

另外我用root編~/conf/core-site.xml卻出現

Can't open file for writing

請問是為什麼

謝謝

因為找不到Ubuntu板 所以在這PO

ps我是用VMware
--

All Comments

Skylar Davis avatarSkylar Davis2010-04-12
改 hostname 的話同時改 /etc/hosts, /etc/hostname
Michael avatarMichael2010-04-13
然後重開機(我不知道有沒有比較聰明的方法,我是這樣做