xfdingustc / ubuntu_setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ubuntu_setup

setup ssh

sudo apt-get install openssh-server

setup samba

  1. install samba
sudo apt-get install samba
  1. make share dir
cd /opt
mkdir linuxsir
chmod 777 linuxsir
  1. modify smb.conf
sudo vi /etc/samba/smb.conf

Add in the tail:

[global]
workgroup = LinuxSir
netbios name = LinuxSir05
server string = Linux Samba Server TestServer
security = share

[linuxsir]
path = /opt/linuxsir
writeable = yes
browseable = yes
guest ok = yes
  1. restart samba service
sudo vi /etc/init.d/samba restart

About