Rhel 将光盘挂载动作
操作部分1 挂载光盘
https://jingyan.baidu.com/article/e52e3615a9c19440c60c5121.html
ls -l /dev | grep cdrom
mount /dev/cdrom /mnt
51 cd /tmp/
52 ls
53 mkdir yum
54 cd yum
55 pwd
56 cd /mnt/
57 ls
58 cp -r * /tmp/yum
case 2 修改主机名
[root@nodchen ~]# hostname oracle
[root@nodchen ~]# vi /etc/sysconfig/network
###增加swap部分
http://www.51testing.com/html/76/227476-98277.html
###热添加磁盘
echo '- - -' >/sys/class/scsi_host/host0/scan
echo '- - -' >/sys/class/scsi_host/host1/scan
echo '- - -' >/sys/class/scsi_host/host2/scan
### 挂载U盘
[root@oracledg ~]# mount /dev/sdc4 /home/usb/
将/home/usb 目录下的全部复制到/nod/usb下
[root@nbutest usb]# cp -r /home/usb/ /nod/usb/