ubuntu烧制usb启动盘链接:
点击打开链接https://help.ubuntu.com/community/Installation/FromUSBStick
ubuntu磁盘分区:
常用的有:
/ #必选项,minimum 8 GB, at least 15 GB recommended
swap #必选项,内存大小的1-2倍
/boot #可选项,当硬盘比较大(>100G)时,大小在250MB ~ 1GB之间即可,至于为什么要加这个,参考non-GPT / GPT 的区别。
/home #可选项,当你的硬盘足够大的时候,搞一个单独的home分区可以把用户数据和system分开,这样清晰一点。
Vsftpd install:
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
# You may restrict local users to their home directories. See the FAQ for
# the possible risks in this before using chroot_local_user or
# chroot_list_enable below.
chroot_local_user=NO
SSH install:
openssh是开源的SSH,用的比较普遍。
不管master还是slave,openssh-server & openssh-client都要装。
不管master还是slave,
#on master: ssh-keygen -t rsa -P ‘’ ssh-copy-id -i $HOME/.ssh/id_rsa.pub hadoop@slave #on slave: ssh-keygen -t rsa -P ‘’ ssh-copy-id -i $HOME/.ssh/id_rsa.pub hadoop@master #这是为了让不管是master to slave ,还是 slave to master ,无密码SSH登录都能工作