Index/guide/ChangeComputerName:修订间差异
(未显示2个用户的2个中间版本) | |||
第6行: | 第6行: | ||
=== 如何更改你的主机名称 === | === 如何更改你的主机名称 === | ||
''第一步''' | '''第一步''': | ||
GUI(图形用户界面): | |||
*参阅[[../GeneralNotes|概要]] | *参阅[[../GeneralNotes|概要]] | ||
第13行: | 第16行: | ||
*进入“网络设置”界面 | *进入“网络设置”界面 | ||
"常规->主机设置->主机名" | *"常规->主机设置->主机名":在此设置你的主机名即可。 | ||
无GUI模式 | |||
*在终端中执行: | *在终端中执行: |
2009年11月30日 (一) 09:18的最新版本
文章出处: |
{{#if: | {{{2}}} | https://wiki.ubuntu.com/php5 }} |
翻译人员: |
yiding.he 小李刀刀 |
点击翻译: |
English {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/af | • {{#if: ChangeComputerName|Afrikaans| [[::Index/guide/ChangeComputerName/af|Afrikaans]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/ar | • {{#if: ChangeComputerName|العربية| [[::Index/guide/ChangeComputerName/ar|العربية]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/az | • {{#if: ChangeComputerName|azərbaycanca| [[::Index/guide/ChangeComputerName/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/bcc | • {{#if: ChangeComputerName|جهلسری بلوچی| [[::Index/guide/ChangeComputerName/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/bg | • {{#if: ChangeComputerName|български| [[::Index/guide/ChangeComputerName/bg|български]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/br | • {{#if: ChangeComputerName|brezhoneg| [[::Index/guide/ChangeComputerName/br|brezhoneg]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/ca | • {{#if: ChangeComputerName|català| [[::Index/guide/ChangeComputerName/ca|català]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/cs | • {{#if: ChangeComputerName|čeština| [[::Index/guide/ChangeComputerName/cs|čeština]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/de | • {{#if: ChangeComputerName|Deutsch| [[::Index/guide/ChangeComputerName/de|Deutsch]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/el | • {{#if: ChangeComputerName|Ελληνικά| [[::Index/guide/ChangeComputerName/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/es | • {{#if: ChangeComputerName|español| [[::Index/guide/ChangeComputerName/es|español]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/fa | • {{#if: ChangeComputerName|فارسی| [[::Index/guide/ChangeComputerName/fa|فارسی]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/fi | • {{#if: ChangeComputerName|suomi| [[::Index/guide/ChangeComputerName/fi|suomi]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/fr | • {{#if: ChangeComputerName|français| [[::Index/guide/ChangeComputerName/fr|français]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/gu | • {{#if: ChangeComputerName|ગુજરાતી| [[::Index/guide/ChangeComputerName/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/he | • {{#if: ChangeComputerName|עברית| [[::Index/guide/ChangeComputerName/he|עברית]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/hu | • {{#if: ChangeComputerName|magyar| [[::Index/guide/ChangeComputerName/hu|magyar]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/id | • {{#if: ChangeComputerName|Bahasa Indonesia| [[::Index/guide/ChangeComputerName/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/it | • {{#if: ChangeComputerName|italiano| [[::Index/guide/ChangeComputerName/it|italiano]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/ja | • {{#if: ChangeComputerName|日本語| [[::Index/guide/ChangeComputerName/ja|日本語]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/ko | • {{#if: ChangeComputerName|한국어| [[::Index/guide/ChangeComputerName/ko|한국어]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/ksh | • {{#if: ChangeComputerName|Ripoarisch| [[::Index/guide/ChangeComputerName/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/mr | • {{#if: ChangeComputerName|मराठी| [[::Index/guide/ChangeComputerName/mr|मराठी]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/ms | • {{#if: ChangeComputerName|Bahasa Melayu| [[::Index/guide/ChangeComputerName/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/nl | • {{#if: ChangeComputerName|Nederlands| [[::Index/guide/ChangeComputerName/nl|Nederlands]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/no | • {{#if: ChangeComputerName|norsk| [[::Index/guide/ChangeComputerName/no|norsk]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/oc | • {{#if: ChangeComputerName|occitan| [[::Index/guide/ChangeComputerName/oc|occitan]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/pl | • {{#if: ChangeComputerName|polski| [[::Index/guide/ChangeComputerName/pl|polski]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/pt | • {{#if: ChangeComputerName|português| [[::Index/guide/ChangeComputerName/pt|português]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/ro | • {{#if: ChangeComputerName|română| [[::Index/guide/ChangeComputerName/ro|română]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/ru | • {{#if: ChangeComputerName|русский| [[::Index/guide/ChangeComputerName/ru|русский]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/si | • {{#if: ChangeComputerName|සිංහල| [[::Index/guide/ChangeComputerName/si|සිංහල]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/sq | • {{#if: ChangeComputerName|shqip| [[::Index/guide/ChangeComputerName/sq|shqip]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/sr | • {{#if: ChangeComputerName|српски / srpski| [[::Index/guide/ChangeComputerName/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/sv | • {{#if: ChangeComputerName|svenska| [[::Index/guide/ChangeComputerName/sv|svenska]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/th | • {{#if: ChangeComputerName|ไทย| [[::Index/guide/ChangeComputerName/th|ไทย]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/tr | • {{#if: ChangeComputerName|Türkçe| [[::Index/guide/ChangeComputerName/tr|Türkçe]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/vi | • {{#if: ChangeComputerName|Tiếng Việt| [[::Index/guide/ChangeComputerName/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/yue | • {{#if: ChangeComputerName|粵語| [[::Index/guide/ChangeComputerName/yue|粵語]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/zh | • {{#if: ChangeComputerName|中文| [[::Index/guide/ChangeComputerName/zh|中文]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/zh-hans | • {{#if: ChangeComputerName|中文(简体)| [[::Index/guide/ChangeComputerName/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: ChangeComputerName | ChangeComputerName | {{#if: | :}}Index/guide/ChangeComputerName}}/zh-hant | • {{#if: ChangeComputerName|中文(繁體)| [[::Index/guide/ChangeComputerName/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:ChangeComputerName|:Index/guide/ChangeComputerName|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Index/guide/ChangeComputerName/zh | | {{#ifexist: Index/guide/ChangeComputerName/zh | | {{#ifeq: {{#titleparts:Index/guide/ChangeComputerName|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Index/guide/ChangeComputerName|1|-1|}} | zh | | }}
如何更改你的主机名称
第一步:
GUI(图形用户界面):
- 参阅[[../GeneralNotes|概要]]
- 点击 "系统->系统管理->网络"
- 进入“网络设置”界面
- "常规->主机设置->主机名":在此设置你的主机名即可。
无GUI模式
- 在终端中执行:
sudo vi /etc/hostname
- 编辑这些文本,然后保存,退出
第二步:关闭所有运行的程序,重启系统即可。