apt-get -y --force-yes install tftpd tftp openbsd-inetd
mv /etc/inetd.conf /etc/inetd.conf.bak
echo "tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /opt/tftp">/etc/inetd.conf
/etc/init.d/openbsd-inetd restart
root@Embubuntu:$ apt-get install nfs-kernel-server nfs-common portmap
root@Embubuntu:$ cd /etc/default/
root@Embubuntu:$ rm -f portmap
root@Embubuntu:$ mv portmap-temp portmap
root@Embubuntu:$ cd /etc/
root@Embubuntu:$ sed 's/# \/srv\/nfs4\/homes gss\/krb5i(rw,sync)/\/opt\/nfs *(rw,sync)/'
exports >exports-temp
root@Embubuntu:$ rm -f exports
root@Embubuntu:$ mv exports-temp exports
root@Embubuntu:$ exportfs -r
root@Embubuntu:$ /etc/init.d/nfs-kernel-server restart
sudo apt-get install openssh-server
启动 SSH
sudo /etc/init.d/ssh restart
如果出错,运行下面的解决
sudo ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
1)先在设备 -》共享文件 设置共享文件夹
sudo mkdir /mnt/shared
sudo mount -t vboxsf winshare /mnt/shared
sudo /etc/init.d/ssh restart
sudo mkdir /usr/local/src/EMobile
sudo chmod 777 /usr/local/src/EMobile
sudo mkdir /usr/local/src/EMobile/EMBV210
sudo chmod 777 /usr/local/src/EMobile/EMBV210
cd /usr/local/src/EMobile/EMBV210