LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 923|回复: 2

[HELP] about changing hostname and install scim

[复制链接]
发表于 2008-5-17 10:46:27 | 显示全部楼层 |阅读模式
1. Change hostname
which file define the environment $HOSTNAME ?
i want change my hostname via altering file, not using command hostname or netconfig.
seems /etc/hosts is useless , i changed it  and reboot, but nothing was affected .
i search it in google , but most of them are bull shits.... they tell people change /etc/sysconfig/networks for slackware , but all we know that "there is no /etc/sysconfig in slackware".


2. install scim
i have downloaded scim-1.4.7.tar.gz yet, i make it install, switch to X and type /usr/local/bin/scim but it can't get start , my $LANG is zh_CN.utf8.


3. i can't open terminal under X !
发表于 2008-5-17 12:41:54 | 显示全部楼层
/etc/rc.d/rc.M

...
# Set the hostname.
if [ -r /etc/HOSTNAME ]; then
  /bin/hostname $(cat /etc/HOSTNAME | cut -f1 -d .)
...


因此应该是这个 /etc/HOSTNAME 的文件。
回复 支持 反对

使用道具 举报

发表于 2008-5-17 20:22:44 | 显示全部楼层
What version of Slackware are you using? Slackware 12.1 already has scim. Read its CHANGES_AND_HINTS.TXT to see how to get scim working.
If Slackware 12.0, you can refer to this blog article I wrote:
http://pumpump.blogspot.com/2007 ... n-slackware-12.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表