Chinaunix

标题: 机器改名 [打印本页]

作者: xiongshoufen    时间: 2003-06-16 12:17
标题: 机器改名
我把机器名改了,怎么我的机子提示出现大问题啊“big problem\",我用的是ultra-10
作者: jianxin0431    时间: 2003-06-16 12:39
标题: 机器改名
错误信息能不能细一些\r\n\r\n是不是有忘记改的文件了
作者: xiongshoufen    时间: 2003-06-16 15:03
标题: 机器改名
我就用hostname 205,改名为205,难道还要改其他的设置吗?能指点一下吗?
作者: tangrui    时间: 2003-06-16 15:22
标题: 机器改名
为什么不用sys-unconfig改呢?
作者: sunsun2003    时间: 2003-06-16 15:23
标题: 机器改名
vi /etc/hosts\r\nvi /etc/hostname.interface_name\r\n(for example vi /etc/hostname.pcn0)
作者: 双鱼之星    时间: 2003-06-16 17:44
提示: 作者被禁止或删除 内容自动屏蔽
作者: xiongshoufen    时间: 2003-06-17 13:53
标题: 机器改名
上面的东西断断续续,我看不懂,能告诉我具体的修改机器名全部过程吗?那些是必须要改的啊或要设置的啊?谢谢了!!!。
作者: wangfan    时间: 2003-06-17 14:39
标题: 机器改名
setuname -s 205\r\nsetuname -n 205\r\nvi /etc/hostname.*
作者: xiongshoufen    时间: 2003-06-17 14:48
标题: 机器改名
wangfan:你好:是不是在hostname.*文件里也要改成205啊?谢谢了
作者: jv9    时间: 2003-06-17 14:58
标题: 机器改名
改机器名字,要改10个文件吧.
作者: 明月清风    时间: 2003-06-17 15:01
标题: 机器改名
如何修改主机名(hostname)?\r\n\r\n1).需要修改如下文件\r\n/etc/hosts\r\n/etc/hostname.<interface>;\r\n/etc/nodename\r\n/etc/net/*/hosts (3 files, man -s 7D ticotsord)\r\n2).如果你运行在VxVM下,则应该\r\n\r\n# vxdctl hostid <new_name>;\r\n# vxdctl init <new_name>;
作者: jv9    时间: 2003-06-17 15:03
标题: 机器改名
Maintenance Commands                                 setuname(1M)\r\n\r\nNAME\r\n     setuname - change machine information\r\n\r\nSYNOPSIS\r\n     setuname [ -t ]  [ -n node ]  [ -s name ]\r\n\r\nDESCRIPTION\r\n     The setuname utility changes the  parameter  value  for  the\r\n     system  name  and  node  name. Each parameter can be changed\r\n     using setuname and the  appropriate option.\r\n\r\n     Either or both the -s and -n  options  must  be  given  when\r\n     invoking setuname.\r\n\r\n     The system architecture may place requirements on  the  size\r\n     of  the system and network node name. The command will issue\r\n     a fatal warning message and an error  message  if  the  name\r\n     entered is incompatible with the system requirements.\r\n\r\nOPTIONS\r\n The following options are supported:\r\n\r\n     -t    Temporary change. No attempt will be made to create  a\r\n           permanent change.\r\n\r\n     -n node\r\n           Changes the node name. node specifies the new  network\r\n           node  name  and can consist of alphanumeric characters\r\n           and the special characters dash, underbar, and  dollar\r\n           sign.\r\n\r\n     -s name\r\n           Changes the system name. name  specifies  new   system\r\n           name  and  can  consist of alphanumeric characters and\r\n           the special  characters  dash,  underbar,  and  dollar\r\n           sign.\r\n\r\nsetuname我没有用过  
作者: race    时间: 2003-06-17 15:04
标题: 机器改名
[quote]原帖由 \"tangrui\"]为什么不用sys-unconfig改呢?[/quote 发表:\n     \r\n\r\n同意
作者: jv9    时间: 2003-06-17 15:05
标题: 机器改名
sys-unconfig 什么意思?
作者: 明月清风    时间: 2003-06-17 15:06
标题: 机器改名
为什么不用sys-unconfig改呢? \r\n\r\n\r\n同意\r\n^^^^^^^^^^^^^^^^^^^^^^^\r\n大炮打蚊子
作者: wangfan    时间: 2003-06-17 15:13
标题: 机器改名
把hostname.*内容也改为205\r\n还有/etc/hosts也要把原先的修改为205
作者: llc107    时间: 2003-06-17 15:13
标题: 机器改名
终于不往沟里带了,嘿嘿……
作者: clay    时间: 2003-06-17 16:02
标题: 机器改名
vi /etc/nodename\r\nreboot\r\n\r\nonly these two steps
作者: xiongshoufen    时间: 2003-06-18 13:17
标题: 机器改名
sys-uncongfig是一个命令吗?我机子怎么没有这条命令啊,谁能告诉我怎么用sys-uncongfig怎么用啊,谢谢拉!!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2