Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Linux Samba server-side structures and the use of the client     - CentOS6.0 successful installation and configuration OpenCV (Linux)

- Use FFmpeg processing high quality GIF (Programming)

- Ubuntu and derivatives installation Atom 0.104.0 (Linux)

- Getting Started with Linux system to learn: how to check in a package is installed on Ubuntu (Linux)

- Java String type time compare the size (Programming)

- Three binary tree traversal (recursive, non-recursive traversal and Morris) (Programming)

- OpenGL Superb Learning Notes - Fragment Shader (Programming)

- Linux system Passwd file detailed analysis (Linux)

- DRBD-based installation and configuration of CentOS 6.5 (Server)

- Ubuntu to install systems Indicator Sticky Notes 0.4.4 (Linux)

- impdp error ORA-39001, ORA-39000, ORA-31619 (Database)

- Linux upgrade GCC 4.8.1 clear and concise tutorials (Ubuntu 12.04 64-bit version as an example) (Linux)

- MongoDB, Cassandra, HBase transaction design strategy (Database)

- Linux iptables: combat scenes (Linux)

- Installation CD audio file extraction tool Flacon (Linux)

- Using VMware vSphere Client Linux virtual machine installation CentOS6.4 system (Linux)

- Linux security settings Notes (Linux)

- iOS9 new feature - stacked view UIStackView (Programming)

- Ubuntu 14.04 build Android 5.1 development environment and compiler (Linux)

- Linux port mapping system (routing and forwarding) (Server)

  Linux Samba server-side structures and the use of the client
  Add Date : 2017-08-31      
  I am just a Linux beginner, in the process of configuring Samba encountered a lot of problems, the online tutorial is not all, so here to write a complete article to facilitate the use of everyone.

1, first delete the software library to find the relevant service procedures to find smb, installation, are generally automatically installed.

2, click on the application -----> system tools -------> terminal, (English: application -------> system ----> terminal), use su sue to root administrator.

[Root @ bogon morningsun] # # # root authority.

3, the smba configuration file to modify, enter cd / etc / samba into the directory, and then locate the configuration file.

4, with vim smb.conf open the configuration file, before you make sure to make a backup of the configuration file, just in case.

5, the configuration file to make the following changes: (This configuration is no need to enter the password, if you need to log on, you can search the Internet, a lot)

Specify location modification: [global]
  Security = share

Add the following at the end of the file:

Path = / var / www / html
Comment = fsd
Public = yes
Writable = yes
Browseable = yes

Path for the shared path, comment to open the content, free, the rest is not easy to understand not one one described.

Then Standalone Server Options under a line of security, changed to security = share

Save the file and exit.

6, back to the terminal, enter the service smb start start the service, and then service smb status check the operating status, no problem to continue.

7, the selinux to modify, generally terminate the service, the operation is as follows:

To view SELinux status:

1, / usr / sbin / sestatus -v ## If the SELinux status parameter is enabled it is turned on

SELinux status: enabled

2, getenforce # # You can also use this command to check

Close SELinux:

1, the temporary closure (without restarting the machine):

Setenforce 0 ## Set SELinux to permissive mode

                              ## setenforce 1 Set SELinux to enforcing mode

2, modify the configuration file need to restart the machine:

Modify the / etc / selinux / config file

Change SELINUX = enforcing to SELINUX = disabled

Restart the machine

8, in the window, ctrl + R open the Run box, enter \\ 192.168. *. * (Here for your virtual machine address, you can use the command: ifconfig view.) Virtual machine directory can be shared, , The entire installation process is complete.
- J2EE Example of Filter (Programming)
- Ubuntu batch scp to copy files without password (Linux)
- MySQL replication master and slave structure built (Database)
- Linux System Getting Started Tutorial: Installing Brother printer in Linux (Linux)
- Linux installation Jetty deployment under RedHat5 8 (Linux)
- KVM add virtual disks (Linux)
- Install GAMIT / GLOBK 10.50 software under Ubuntu 14.04 (Linux)
- CentOS 6.5 opens the Xmanager Remote Desktop login (Linux)
- How to monitor Nginx (Database)
- Use FirewallD build dynamic firewall (Linux)
- Java Foundation - The relationship between abstract classes and interfaces (Programming)
- Ubuntu 14.04 / 14.10 how to install FFmpeg 2.5.1 (Linux)
- Ubuntu 15.04 / CentOS 7.0 to set custom boot (Linux)
- Oracle creates split and splitstr functions (Database)
- Oracle DATABASE LINK (DBLINK) Create (Database)
- Install Ubuntu Software Center App Grid (Linux)
- 5 steps to help you become a good Docker contributors (Linux)
- RocketMQ Message Queuing simple deployment (Linux)
- VSFTPD Security (Linux)
- Rman Oracle database backup and recovery plan (Database)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.