摘要: 查了一下,ssh login 之后, 会执行 .bash_profile于是新建一个.bash_profile , 内容如下if [ -f ~/.bashrc ]; then . ~/.bashrcfi 阅读全文
posted @ 2015-08-25 23:58 johnsonshu 阅读(1463) 评论(0) 推荐(0) 编辑
摘要: 安装好了dropbear, root 怎么也登录不进去。看 /var/log/messages , 发觉有很多下面的消息, 网上查了一下,发觉建个 /etc/shells 文件,然后把 /bin/bash 写进去, 系统就认为 bash是个合法的shell ,问题就解决了。User 'root' h... 阅读全文
posted @ 2015-08-25 23:55 johnsonshu 阅读(3197) 评论(0) 推荐(0) 编辑
摘要: 这个版本的httpd 已经自带 apr apr-util pcre , 不用额外下载源代码1) 编写环境变量脚本,并执行cross-env.sh :export ARMROOTFS=/h1rootexport CPP="/usr/bin/arm-linux-gnueabi-cpp-4.4"expor... 阅读全文
posted @ 2015-08-25 00:17 johnsonshu 阅读(787) 评论(0) 推荐(0) 编辑