![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
环境搭建
杨幂的咪
读书使我快乐
展开
-
ppc qemu
qemu-img create -f raw disk-img.raw 2.5G sudo losetup /dev/loop7 disk-img.raw sudo losetup -o $((2048*512)) /dev/loop6 /dev/loop7 sudo mkfs.ext3 /dev/loop6 sudo qemu-system-ppc -cpu G4 -nographic -k...原创 2020-02-02 09:52:16 · 610 阅读 · 1 评论 -
linux添加网桥
sudo ip link add brtest0 type bridge; ip tuntap add tap0 mode tap user wrsadmin ; ip link set tap0 up ; ip link set tap0 master brtest0 ; ip link set brtest0 up原创 2020-02-01 20:46:16 · 930 阅读 · 0 评论 -
NFS4 mount
sudo mount -o vers=4,tcp -t nfs4 128.224.166.113:/ tmp /buildarea1 *(async,rw,insecure,insecure_locks,no_root_squash,fsid=1) 这里的fsid=1在nfs文件系统里再mount nfs是必须要的 /nfs *(rw,sync,no_root_squash,no_subt...原创 2018-12-17 15:17:00 · 1989 阅读 · 0 评论 -
SSH 免秘钥登录
假设要登录的机器为192.168.1.100,当前登录的机器为192.168.1.101。 首先在101的机器上生成密钥(如果已经生成可以跳过): $ ssh-keygen -t rsa 一路回车。 然后在将生成的公钥复制到机器100上的~/.ssh/authorized_keys中,使用如下命令: $ ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1...转载 2018-12-17 00:41:25 · 197 阅读 · 0 评论 -
ubuntu tftp服务器
1 sudo apt-get install tftpd-hpa tftp-hpa 2.配置TFTP服务器 sudo vim /etc/default/tftpd-hpa mkdir ~/tftp chmod 777 ~/tftp cp test.c ~/tftp ifconfig eth0 Link encap:以太网 硬件地址 8c:73原创 2015-01-24 17:49:26 · 580 阅读 · 0 评论 -
ubuntu nfs服务器
cd ~ mkdir nfs mkdir tmp chmod 777 nfs sudo apt-get install nfs-kernel-server nfs-common portmap sudo vi /etc/exports //加一行 ~/nfs *(rw,sync,no_root_squash) sudo /etc/init.d/nfs-kerne...原创 2015-01-24 18:03:42 · 628 阅读 · 0 评论