- 博客(7)
- 收藏
- 关注
原创 iscsi
首先在服务端操作yum -y install targetd targetclisystemctl start targetsystemctl enable targetsystemctl status target设置防火墙 firewall-cmd --add-port=3260/tcp --permanent firewall-cmd --reload firewall-cmd --list-portsClient端安装yum -y install iscs
2022-04-28 20:50:14
1706
原创 iscsi
一、服务器用Linux,客户端用Windows访问1、准备一个分区[root@localhost ~]# fdisk /dev/sdaWelcome to fdisk (util-linux 2.23.2).Changes will remain in memory only, until you decide to write them.Be careful before using the write command.Command (m for help): nParti...
2022-04-28 20:34:40
236
原创 riad配置
1.新添加一块磁盘2.进行强制扫描[root@localhost ~]# echo "- - -" >> /sys/class/scsi_host/host0/scan[root@localhost ~]# echo "- - -" >> /sys/class/scsi_host/host1/scan[root@localhost ~]# echo "- - -" >> /sys/class/scsi_host/host2/scan3.使用gd..
2022-04-21 20:14:11
927
原创 Linux压缩
首先生成一个大小800M的test.txt文件dd if=/dev/zero of=test.txt bs=100M count=8[root@localhost ~]# dd if=/dev/zero of=test.txt bs=100M count=8记录了8+0 的读入记录了8+0 的写出838860800字节(839 MB)已复制,3.9642 秒,212 MB/秒[root@localhost ~]# 我们现在使用zip命令进行压缩zip test.zip test.
2022-03-28 20:34:45
854
原创 Linux IP配置
1.打开虚拟机设置,配置网络适配器VMner1,勾选NAT模式2.打开虚拟机网络编辑器,勾选DHCP服务3.使用cd命令进入/etc/sysconfig/network-scripts/下。ls查看目录下文件使用vim编辑器编辑ifcfg -ens334.使用插入模式,把启用网卡改成yes,然后wq保存退出。4.使用service network restart命令重新启动网卡5.使用ipa命令查看ip地址6.使用pingwww.baid...
2022-03-21 19:52:42
3044
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人