close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libtasn1.so.6: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Feb 25, 2011, 9:02:04 AM (15 years ago)
- Author:
-
shunfa
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v6
|
v7
|
|
| 284 | 284 | 開啟終端機並執行下列指令修改hostname |
| 285 | 285 | |
| 286 | | * 將下列檔案內容改為自己要的名字 |
| | 286 | * 將下列檔案內容改為自己要的名字 |
| 287 | 287 | |
| 288 | 288 | {{{ |
| … |
… |
|
| 290 | 290 | }}} |
| 291 | 291 | |
| 292 | | * 修改對應ip(localhost)的hostname |
| | 292 | * 修改對應ip(localhost)的hostname |
| 293 | 293 | {{{ |
| 294 | 294 | # sudo gedit /etc/hosts |
| 295 | 295 | }}} |
| 296 | 296 | |
| 297 | | * 重新啟動 |
| | 297 | * 重新啟動 |
| 298 | 298 | {{{ |
| 299 | 299 | # /etc/init.d/hostname.sh |
| 300 | 300 | }}} |
| 301 | 301 | |
| 302 | | * 驗證是否已經修改完畢 |
| | 302 | * 驗證是否已經修改完畢 |
| 303 | 303 | {{{ |
| 304 | 304 | # hostname |