Tags: IP address ddd mount point txt star file reload user rom1. Application scenario, build Sam shared directoryAvailable for Linux and between Windows
2. Server ip:192.168.56.11 (A)Client ip:192.168.56.133 (B)
View firewall status and close[[emailprotected] ~]#systemctl status firewalld[[emailprotected] ~]#systemctl disable firewalld[[emailprotected] ~]#systemctl stop firewalld[[emailprotected] ~]#setenforce 0
Install Sam First and set up the SAM user[[emailprotected] ~]# yum
BackgroundUnder the window7 virtual a CentOS6.3, in order to learn the command line there is no graphics package, so my centos is the kind of black screen, hehe, of course, VMware provides enhanced features I can not use (perhaps, I do not know how to set?) ), just to take this opportunity to force themselves to learn from Samba, said "forced" is not exaggerated, I from 6 o'clock in the afternoon yesterday to 8 o'clock now have not slept, of course, do not sleep and other reasons. Here are my re
application saves information to disk, the data can become corrupted because the save operation is only partially completed. To prevent this from happening, TxF opens the file in interactive mode, saving the file and then putting it into interaction. If an error occurs while the system is saving, it can restore the file to its pre-existing condition, which prevents data corruption.
Vista's file system also includes significant corrections to support for the
folder's share name is Share # This is because we're going to create an SMB user new and let XP users use this new to communicate with us. Of course, you can write your favorite name just to be consistent.Code:[Share]Comment = Shared Folder with username and passwordPath =/home/User name/sharePublic = yeswritable = yesValid users = newCreate mask = 0700Directory mask = 0700force user = NobodyForce Group = NogroupAvailable = yesbrowseable = yesThen ch
Samba
Samba is a free software that implements the SMB protocol on Linux and UNIX systems. It consists of servers and client programs. Server messages Block (SMB) is a communication protocol used to share files and printers on a LAN, it provides sharing services for files, printers, and other resources between different computers in the LAN. The SMB protocol is
configuration file! That is/etc/samba/smb. conf. The following is only a few lines of smb. conf, so samba can work for us! [Global] log file =/var/log/samba/log. % m [tmp] comment = Temporary file space path =/tmp read only = no public = yes 6 configure 6.1 Check current configuration our samba is running now, then, what services is it providing? If you open/etc/samba/
minutes per hour of execution3,15 * * * * mycommandExample 3: Execution at 3rd and 15 minutes from 8 o'clock in the morning to 11.3,15 8-11 * * * mycommandExample 4:3rd and 15 minutes of every two-day 8 o'clock in the morning to 11-point execution3,15 8-11 */2 * * mycommandExample 5:3rd and 15 minutes of every Monday 8 o'clock in the morning to 11 point of execution3,15 8-11 * * 1 mycommandExample 6:21:30 restart of SMB per night* * * * */ETC/INIT.
generally stored in the Packages directory on the system disk. First, run the mount command to check whether the disk is mounted to the system.
If no disk is attached, manually mount the disc to the mnt directory of the system.
Check whether the disc has been attached.
Find the samba service package in the Packages directory and install
B.View samba configuration files
After samba is installed, we need to modify the configuration file if we want the server to work as required.
You can use
the disc has been attached.
Find the samba service package in the Packages directory and install
B. view the samba configuration file
After samba is installed, we need to modify the configuration file if we want the server to work as required.
You can use rpm-qc to view the installation location of a document with installed software.
The conf configuration file is not displayed, but according to experience, the conf configuration file will be placed in the/etc directory, find the/etc/samba/
New Feature of oracle11g-SQLPlanManagement (SPM)
1. Introduction
Oracle Database11gR1 introduces SQL PlanManagement (SPM), a new tool that allows DBA to capture and maintain the optimal execution plan for any SQL statement. This restricts the refreshing of optimizer statistics and changes to existing applications, even the impact of database version upgrades. This article provides a basic understanding of SPM principles and briefly describes its performance optimization capabilities.
2. SPM prin
Install the Samba server-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Samba Server is a Windows File Server and printing server on Linux platform. It can be used by Windows users or Linux users and serves as a bridge between Linux and Windows. The installation command is as follows:
Debian ~ : # Apt-get install samba smbclient
Samba is a server software package, and smbclient is a client software package, which can be installed
1. installation of related components # apt-getinstallopenssh-client ----------------------- install the ssh service # apt-getinstallsambasamba-common ----------------------- install the samba Server # apt-getinstallsmbclien
1. installation of related components# Apt-get install openssh-client # Apt-get install samba-common # Apt-get install smbclient smbfs
2. enable/disable/restart the samba serviceDebian :~ #/Etc/init. d/sambastart/stop/restart To disable the Samba server, you can also use th
service control script. Executable programs used as service programs are generally stored in/usr/bin, and scripts used as control services are generally stored in/etc/rc. d/init. d, and the script format for controlling the service is relatively fixed. At least the start, stop, and status parameters are supported. For example, the smb service control script is:
#! /Bin/sh## Chkconfig:-91 35# Description: starts and stops the Samba smbd and nmbd dae
Just after installing the Linux operating system on a virtual machine, the idea was generated: "How can we interconnect Linux with windows? And how can users easily share data and printer devices with each other ?" Today, we can implement this function through the Samba server. It allows Windows users to access Shared Resources in Linux through familiar methods such as network neighbors, while Linux users access resources in windows through SMB client
directory.Alternatively, add the row chroot_local_user = No before # chroot_list_enable = yes to allow the user to leave the directory. If chroot_local_user = yes is added, the local user is locked in the local directory.3) Change userlist_enable = yes to userlist_enable = No. The user restriction function is disabled.4) Remove the user root in the/etc/vsftpd/ftpuser file to allow the root user to log on. Users in the ftpusers file list cannot log on to the FTP server.
(6) Disable seliunx, VI/e
service # service SMB start(/Etc/init. d/SMB start) Start the smb service # service nmb start (/etc/init. d/nmb start) to start the nmb service. Of course, you can also use chkconfig -- level SMB 35 on to set the startup level.Let's check whether two services are started normally. Run the command pstree | grep MB.If i
Under the window7 virtual a CentOS6.3, in order to learn the command line there is no graphics package, so my centos is the kind of black screen, hehe, of course, VMware provides enhanced features I can not use (perhaps, I do not know how to set?) ), just to take this opportunity to force themselves to learn from Samba, said "forced" is not exaggerated, I from 6 o'clock in the afternoon yesterday to 8 o'clock now have not slept, of course, do not sleep and other reasons. Here are my results of t
The software for implementing the SMB/CIFS protocol under FreeBSD is samba──, a well-known free software that can run on many UNIX systems, making UNIX a LAN Manager server that provides file and print services to Windows clients. The current version of Samba is 2.0 and can be installed by packages collection or ports collection under FreeBSD.
Samba's homepage is http://samba.org, including resources for a large number of samba.
Although the
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.