android开发 ubuntu 的安装以及环境的配置
1.ubuntu安装完成后
修改sudo vi /etc/apt/sources.list
添加:
deb hardy-updates main multiverse
2.安装软件
sudo apt-get update
sudo apt-get install ssh
sudo apt-get install flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essentia0l zip curl libncurses5-dev
zlib1g-dev python valgrind git-core ctags mingw32 vim keychain ia32-libs* gnupg sun-java5-jdk sun-java6-jdk gcc-multilib
g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev samba
3.将主机名加到hosts里面去 否则会报 错
ssh: Could not resolve hostname ABserver: Name or service not known
4.安装ssh-agent和keychain
5.远程copy其他服务器上的.ssh文件到本服务器上
6.在.bashrc文件中添加
keychain ~/.ssh/id_rsa
source ~/.keychain/$HOSTNAME-sh
PATH=.:$PATH:/sbin/
再执行source ~/.bashrc使之生效
8.配置smb服务
查看etc/samba/smb.conf文件
yangfeng@sbuild:~$ sudo smbpasswd -a yangfeng
查看共享文件的执行权限
阅读(1430) | 评论(0) | 转发(0) |