Linux (7)

Source: Internet
Author: User

Unit 17th Samba Services



"Content of this section"
1. Mastering the functionality of Samba: Samba is a Web server for sharing files between Linux and Windows.
2. Mastering the start, stop, and restart of samba services
Service SMB Start|stop|restart
3. Master Samba's main configuration file is:/etc/samba/smb.conf
4. Mastering the Provisioning Samba service

Attention:

1 If the client wants to have permission to the directory, Samba software decentralization + system decentralization is required

2 Each user's access is: \ \ server ip\ user name, default access to their home directory (the user has W permissions to the directory, and Samba on the user's home directory has writeable=yes permissions)

3 for a shared directory, everyone opens the directory for operation, not a printer, so printable must set the No

4 Writeable=yes Delegate has released write permission for all users, write List=user1,user2 is invalid because all users released already contain User1 and User2

5 Writeable=no,write List=user1,user2 on behalf of all without write permission, except User1 and User2 have

Comment = ... Set up shared annotation
Path = Set the physical path of the shared directory
Valid users = @ Group name, user name setting allows which legitimate groups or users to access
Public = Yes|no Set whether the shared resource can be accessed by the visitor account
browseable = Yes|no Set the share as a hidden share
writable = Yes|no Set whether the client is allowed to write data
Hosts allow = sets a legitimate segment or IP that allows access to the share
There are two types of samba security certifications: Share (anonymous access) User: username password
Add SMB User and Setup password: Smbpasswd–a user
Useradd u
5. Mastering how Windows clients are accessed

6. Learn how to access Linux clients

7. After-school assignments (spents 50 minutes)

1) Install Samba service software on Linux server
2) resource sharing settings for Samba's master configuration file
3) Set User login account on Samba server
4) connection testing on Linux and Windows clients, respectively

Unit 18th Nginx Service

SOURCE Installation:

Yum install gcc-* glibc-* OpenSSL openssl-devel pcre pcre-devel zlib zlib-devel-y
Ls
Tar xvf nginx-1.10.3.tar.gz
CD nginx-1.10.3
Ls
./configure
./configure--sbin-path=/usr/local/nginx/nginx--conf-path=/usr/local/nginx/nginx.conf--pid-path=/usr/local/ Nginx/nginx.pid--with-http_ssl_module--without-http_rewrite_module #--without-http_rewrite_module representative does not use the override function, That is, the Pcre library is not referenced, and you can specify this parameter if there are pcre related issues during installation
Make
Make install

Description

Pcre: The function used for address rewriting.

Zlib:nginx's gzip module, which transmits data packaging, saves traffic (but consumes resources).

OpenSSL: Provides SSL encryption protocol.

Installation: http://www.cnblogs.com/crazyacking/p/5138146.html

Related parameters: http://blog.csdn.net/xifeijian/article/details/20956605

Location:http://www.tuicool.com/articles/jr63qy

Forward proxy, reverse proxy, transparent proxy: http://blog.csdn.net/u012572955/article/details/49357219

Agent: A access b,a put his own request to C agent, C go to access B

Forward Proxy: A explicitly know the existence of their agent C, a explicitly specify their proxy address is C, let C go to access B, get results to a, usually used to FQ

Reverse proxy: The user request to Nginx, by the nginx load to the agent of the machine, to get the results, and then returned by Nginx to the client (so, Nginx will be a bunch of their agents to hide the machine to the back end, the external access is Nginx)

Transparent proxy: The user does not know the existence of the agent, the user---the switch--and the router--proxy server, the proxy server can control the user's Internet behavior, such as restricting users can access and can not access the site, more for user behavior management

Lb:http://nginx.org/en/docs/http/load_balancing.html

Linux (7)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.