LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: hmglll

LFS的总是烦人的BASH-2.05#

[复制链接]
发表于 2002-12-3 19:45:41 | 显示全部楼层
你把你的export PS1也让我们看一看吧,是不是有什么问题。
 楼主| 发表于 2002-12-4 19:12:26 | 显示全部楼层

TRAM兄弟

我没有设置什么,就是把你给的export PS1=[\u@\w]\$给贴上了,怎么设置W和S的变量?
发表于 2002-12-4 19:33:58 | 显示全部楼层
我们就是想看看你在文件里是怎么写的啊,因为我们都是用差不多的方法设置的,所以想看看你的问题出在哪里。你就是贴上以后的文件再给我们看一看吧!
 楼主| 发表于 2002-12-4 20:04:31 | 显示全部楼层

当时就是这们:

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATHHOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"

export USERNAME BASH_ENV PATH
export PS1=[\u@\w]\$

[root@LWJ root]#
另外,在BLFS中ZSH的四个文件怎么配置:/etc/zshenv, /etc/zprofile, /etc/zshrc, /etc/zlogin and /etc/zlogout
发表于 2002-12-4 23:44:02 | 显示全部楼层
export PS1='[\u@\w]\$ '
要加引号的说,呵呵。zshell我从来没用过,也就没配置,它安装zshell是为了满足一些依赖性,我也没打算用。
 楼主| 发表于 2002-12-5 00:11:42 | 显示全部楼层

多谢,这两问题总算解决了!!!

我安装FAM-2.6.9 时出错了,下面的英文何解:
    Note: You will get warnings about make install being unable to merge entries in /etc/rpc. These can be ignored, along with any IMON or inetd.conf warnings, as we will be configuring these files after installation.
下面是出错的部分:
make[3]: Entering directory `/cvs/fam-2.6.9'

**********************************************************************
Configuration changes to rpc have not been made
automatically because there appears to be a conflict between the
file's current contents and the lines which would have been added.

Original file: /etc/rpc
New file:      /etc/rpc.N

Please compare these two files and update the original file as needed.
**********************************************************************

Couldn't find inetd.conf in /etc /usr/etc /usr/local/etc
make[3]: [install-exec-hook] Error 2 (ignored)
Restarting inetd...
inetd: no process killed
make[3]: [install-exec-hook] Error 1 (ignored)
make[3]: Leaving directory `/cvs/fam-2.6.9'
这可能与我安装tcpwrappers-7.6时没有完成相关配置(则/etc/inetd.conf的配置)有关吧?
发表于 2002-12-5 00:15:36 | 显示全部楼层
Couldn't find inetd.conf in /etc /usr/etc /usr/local/etc
make[3]: [install-exec-hook] Error 2 (ignored)
Restarting inetd...
inetd: no process killed
make[3]: [install-exec-hook] Error 1 (ignored)
make[3]: Leaving directory `/cvs/fam-2.6.9'
没事没事,能用的,它是要inetd.conf,不过我也没配,一样用,我看它安装程序 ignored 了那个错误,就没管它了。这些安全的问题,仔细做起来又是一本书,呵呵,太麻烦,先不管。
 楼主| 发表于 2002-12-5 00:23:32 | 显示全部楼层

呵呵

前两天我在LFS下连续两次不正常的重启,整个LINUX系统全不能启动了(在检查LFS所在的分区时不能动了),只好重装RH,LFS,苦啊!
现在是按你的BLFS的来装的,且比上次要仔细些了。。。
发表于 2002-12-5 00:34:18 | 显示全部楼层
一定要备份啊,呵呵。你现在的干劲真大,佩服!
 楼主| 发表于 2002-12-5 00:53:33 | 显示全部楼层

这要多谢你

说实话,没有你在我真的没有信心,除非叫人将BLFS 给翻译了。。
我想拥有自己想要的程序,上次的XFREE安装是成功的,配置方面没有做好,想想自己安装的KDE,真叫人兴奋。。。到时我再在LFS上学你的二笔,如何?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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