curl -O ftp://192.168.0.196/primary/project3/CentOS-7-aarch64-Everything-1810.iso
[root@samba-server share]# history
1 2020-06-06 14:06:25 root mkdir /opt/aarch
2 2020-06-06 14:06:59 root curl -O ftp://192.168.0.196/primary/project3/CentOS-7-aarch64-Everything-1810.iso
3 2020-06-06 14:08:16 root mount CentOS-7-aarch64-Everything-1810.iso /opt/aarch/
4 2020-06-06 14:08:46 root mv /etc/yum.repos.d/* /media/
5 2020-06-06 14:09:13 root vim /etc/yum.repos.d/local.repo
6 2020-06-06 14:09:41 root cat /etc/yum.repos.d/local.repo
7 2020-06-06 14:09:55 root yum clean all
8 2020-06-06 14:10:12 root yum repolist
9 2020-06-06 14:10:33 root yum install -y samba
10 2020-06-06 14:17:03 root vim /etc/samba/smb.conf
11 2020-06-06 14:20:00 root mkdir /opt/share
12 2020-06-06 14:20:13 root chmod 777 /opt/share/
13 2020-06-06 14:20:31 root systemctl start smb
14 2020-06-06 14:20:44 root systemctl start nmb
15 2020-06-06 14:21:06 root systemctl status smb
16 2020-06-06 14:21:39 root smbpasswd -a root
17 2020-06-06 14:22:55 root service smb restart
18 2020-06-06 14:29:08 root touch test.txt
19 2020-06-06 14:29:21 root mkdir xcloud
20 2020-06-06 14:29:22 root ll
21 2020-06-06 14:31:31 root cd /opt/share/
22 2020-06-06 14:31:48 root touch test.txt
23 2020-06-06 14:31:55 root mkdir xcloud
24 2020-06-06 14:31:58 root ll
25 2020-06-06 14:35:38 root ll /opt/share/
26 2020-06-06 14:37:37 root history
[root@samba-client mnt]# history
1 2020-06-06 14:07:18 root curl -O ftp://192.168.0.196/primary/project3/CentOS-7-aarch64-Everything-1810.iso
2 2020-06-06 14:11:11 root mkdir /opt/aarch
3 2020-06-06 14:12:11 root mount CentOS-7-aarch64-Everything-1810.iso /opt/aarch/
4 2020-06-06 14:12:35 root mv /etc/yum.repos.d/* /media/
5 2020-06-06 14:13:05 root vim /etc/yum.repos.d/local.repo
6 2020-06-06 14:13:34 root cat /etc/yum.repos.d/local.repo
7 2020-06-06 14:13:47 root yum clean all
8 2020-06-06 14:14:06 root yum repolist
9 2020-06-06 14:14:49 root yum install samba-client cifs-utils -y
10 2020-06-06 14:28:06 root smbclient //192.168.0.240/share -U root
11 2020-06-06 14:32:48 root ll
12 2020-06-06 14:34:04 root mount -t cifs //192.168.0.240/share /mnt/ -o username=root
13 2020-06-06 14:34:18 root df -h
14 2020-06-06 14:34:39 root cd /mnt/
15 2020-06-06 14:34:41 root ll
16 2020-06-06 14:35:15 root touch client.txt
17 2020-06-06 14:35:18 root ll
18 2020-06-06 14:39:37 root history