The environment is as follows: CENTOS4.5LINUXSAMBA shares with WINDOWS files-Linux Enterprise applications-Linux server applications. For details, refer to the following section. The environment is as follows:
CENTOS 1, 4.5
Linux samba and WINDOWS File Sharing
If SAMBA is set, user a can write but cannot delete a file currently, and user B can write or del
=" wkiom1urkg_ Xkok5aahs-lzeujc762.jpg "/>2) give the Ministry of information the right to Tian Tian,650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/65/B4/wKioL1UrK17RjiJvAAGy-94ZGGo961.jpg "style=" float: none; "title=" 18.png "alt=" Wkiol1urk17rjijvaagy-94zggo961.jpg "/>5, The financial department of the Private Sub-folder only Wen can access, and create files in it, any other user account is inaccessible;(1) Modify the permissions of the scratch folder, inherit the parent permissio
Win7 vmware ubuntu 11.10 implements file sharing through samba. In fact, it shares files with virtual machines. The simplest method is to create a USB flash disk. This is to configure samba (the installation won't go into the software center .. Directly), it seems that only virtual machines can be shared to the host's sub-Environment: win7 32-bit VMware 8 ubuntu 11.10 function: win7 access the ubuntu shared
Commands are often used. record the following again. Window access the Linux share folder.
1. Create the SMB account. Then you can use this username to access the Linux share folder.
Smbpasswd-A username
Share folder in Ubuntu, you need to install SMB.
Linux access the window share folder.
It has two steps to access the share folder.
1. Check which folder the Linux server provide to share.
Smbclient-L hostip--User='Domain/Username'
2. Mount the share folder to local disk.
Smbmoun
Quick deployment supports zbox-wiki file sharing sites in makedown and latex formats
Author: poechant
Blog: blog.csdn.net/poechant
Email: zhongchao.ustc@gmail.com
Date: February 23Th, 2012
0. What is zbox-wiki?
Zbox-wiki is a software written by shuge Lee, an open-source enthusiast. It is used to build simple and lightweight personal or team wiki sites. Zbox-wiki is written in Python and supports markd
1 Installation
sudo apt-get install Samba
2 Configuration
Open the Samba configuration file:
Vim/etc/samba/smb.conf
At the end of its add:
[Share]
Path =/home/liyihai/share
available = yes
browseable = yes public
= yes
writable = yes
3 Creating a shared directory
mkdir ~/share
chmod 777 ~/share
4 Creating a Samba user
sudo touch/etc/samba/smbpasswd
sudo smbpasswd-a LiyihaiEnter the user's password as prompted (require
Summary from the book "Linux O M path" by Ding yiming
Samba is a GPL-based Open-source software that interacts with Linux, UNIX, and windows. The required software includes Samba (server software package), samba-client (client software package), and samba-common (Samba public file software package ). Samba consists of two Daemon Processes: smbd and nmbd. the startup scripts of these two processes are independent.
The smbd service process provides
0x443e1821 "CentOS-4 key Key imported successfullyRunning transaction TestFinished transaction TestTransaction test succeededRunning transactionInstalling: Samba-common ######################### [1/2]Installing: Samba ####################### [2/2]Installed: Samba. i386. 0.10-1.4e.9Dependency installed: samba-common.i386. 0.10-1.4e.9Complete!
Configure samba
Then, configure Samba as needed by editing/etc/samba/smb. conf. Here, the principle of this article is to only apply
HTTP server by using the branching method.Save the code as forkhttpserver.py and move it to the Python library directory (my python2.7 is/usr/lib/python2.7;python3.4 to /library/frameworks/ Python.framework/versions/3.4/lib), use the following command to launch a concurrent version of the simple static file server:)[python2.7]Python-m Forkhttpserver [Port][python3.4]Python3-m Forkhttpserver [Port]This command is still too cumbersome for Linux or Mac
Explanation of Heartbeat v1 and NFS file sharing
High Availability Basics
I. Definition of high-availability clusters
High Availability Cluster (HACluster) is a group of computers that provide users with a set of network resources as a whole. These individual computer systems are cluster nodes ).
The emergence of highly available clusters is to make the overall services of the cluster as available as possib
The mechanism of the Python import package is that the import incoming and default system module is placed in the Sys.module dictionary.Multiple py file import again, will go to sys.module inside check whether already import, if already import, no longer repeat import, otherwise import come in===The namespaces for import Glovar and from Comon import Glovar are the same, and key is all GlovarFrom Common.glovar import x is different, so from import in t
/samba/lib/directory and back up the smb.conf to perform CP smb.conf./smb.conf.bak
If you want to start the service normally, you need to go to the/etc/directory, add/usr/local/samba/lib to the end of the ld.so.conf file, and then run the ldconfig command to update the system's library files. The entire process of configuring the Samba service can be completed.
2 "File
1. Installation:
Yum-y Install Samba2, add users (this user must be system users):A, add two virtual users to the system first:
Useradd cm-s/sbin/nologin-mUseradd choumei-s/sbin/nologin-mb, set the Samba user password
Smbpasswd-a cmSmbpasswd-a ChoumeiDescription: The SMBPASSWD command can be used to perform different account maintenance tasks in addition to the Samba user account that can be added using different command options.-H: Display SMBPASSWD command format help-A: Add specified user
Tags: NFS File shareFirst, configure NFS sharingNetwork File system--Purpose: To provide the client with shared folders--Protocol: NFS (TCP/UDP 2049) RPC (TCP/UDP 111)Required Packages: Nfs-utilsSystem Services: Nfs-serverBuilding basic read-only NFS services1. On the virtual machine Server0, detect if the nfs-utils is installed[Email protected]/]# rpm-q nfs-utils2. Modify the configuration
Reference: http://www.cnblogs.com/phinecos/archive/2009/06/06/1497717.htmlI. Installation of SAMBA:sudo apt-get Insall SambaTwo. Create a shared directory:Mkdir/home/shareSodu chmod 777/home/shareThree. Create a Samba configuration file:1. Save the existing configuration filesudo cp/etc/samba/smb.conf/etc/samba/smb.conf.bak2. Modify the current configuration filesudo gedit/etc/samba/smb.confLast added in smb.conf[Share]Path =/home/shareAvailable = yes
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.