• 1+X Samba


      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

  • 相关阅读:
    信号量整理
    Linux下串口配置初步探寻
    Vmware启动ubuntu 出现错误。
    软件工程结课作业
    第四次博客作业-结对项目
    20194731 软件工程第三次作业——博文软件质量保障初探
    20194731 第一次作业-博客初体验
    20194731 自动生成四则运算题第一版报告
    误删除 mySQL 用户解决办法
    mySQL的安装过程---二进制和源码安装
  • 原文地址:https://www.cnblogs.com/Gmh617/p/13053709.html
Copyright © 2020-2023  润新知