installation and configuration of Samba under Ubuntu; second, the Linux shared directory is mapped to a network drive in Windows. I. install and configure Samba in Ubuntu 11.04 1) install the samba package # sudo apt-get install samba # sudo apt-get install smbclient 2) create a shared directory (the directory name can be customized) # mkdir/home/share # chmod-R 777/home/share # If you do not change the permission, you cannot write data in windows (applicable to read-only
This article mainly introduces the function code sharing for Python to obtain the remote file size. For more information, see the following code:
Def getRemoteFileSize (url, proxy = None ):"Get the remote file size through the content-length headerUrl-target file URLProxy-proxy """Opener = urllib2.build _ opener ()I
displayed after access (must be configured)browseable = yes--can be browsedpublic = no-open, yes no account password requiredValid users = @xxxx-allows access to the user (user added using Smbpasswd–a, Root does not need the @ symbol)writable = yes-writable (not configured by default is not writable)Create mode = 0664--Creating file permissionsDirectory mode = 0775--Catalog permissionsSpecific chestnuts:1. All users can access a common directory with
Ubuntu development server configuration (SSHserver, login to remote server for file sharing)
Server installation and configuration:
1. sudo apt-get install openssh-server
2./etc/ssh/sshd_config
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile % h/. ssh/authorized_keys
PasswordAuthentication yes
3. sudo/etc/init. d/ssh restart
4. ps-e | grepssh
If you see sshd, it indicates that th
configurationCat/var/lib/nfs/etabOther: Uninstalling network mounts# Force Unload UMOUNT-LF /mnt # L (lazy) f (Force)Client configuration [192.168.2.130]1. As with the client and server, install the NFS and RPM installation packages as well. (Configuration See server side)2. The client needs to start the RPC service and join the boot. You do not need to start the NFS service. (Configuration See server side)3. Client Configuration:First step: Test whether the server/client IP is in the s
In the Linux ' development process, it is often necessary to share files with Windows, and the Samba server can accomplish this task.Premise 1:windows can ping Linux systemPrerequisite 2: Turn off the Linux firewallI. First install the Samba server, install the package I have uploadedTwo. Then create the user, note that this user is behind the user to log on to the Samba server, I am here smb.Three. Set the password for the user to log in to the Samba server, note that the password is the passwo
To the users of cool dog software to detailed analysis to share the cool dog Remove OCX file method.
Tutorial Sharing:
If Kugoo is installed in the default directory, make sure that the computer does not have any windows open: Please type regsvr32 "c:\program Files\kugoo3\kugoo3downxcontrol.ocx" in the start--> run Then you can delete it casually.
Well, the above information is small weave
/folder, create a smbpasswd file with the following command:sudo touch/etc/samba/smbpasswdAdd a user named AAA to Samba: sudo smbpasswd-a AAAWill let you enter the password, you set one, set up will display: Added user AAATo get here, and then open the network next door, enter the user name and password just set, then go in, will find a TMP folder, you can freely read and write data in this folder, such as the film, test films, songs, songs, and so on
NFS was invented by Sun. Sun has invented many good things in years ...... This time, an NFS server is configured to allow windows and other FreeBSD users to access it.
1. After the installation is complete, create a directory to share files, such as 999. Then grant the 999 permission to the 777 directory.
2. Create or modify the/etc/exports configuration file. The content of this file is very simple. Eac
Samba is a freeware software that implements the SMB protocol on Linux and UNIX systems, consisting of servers and client programs.Experimental environment:According to the requirements of the company's information construction, it is necessary to set up a file server in the LAN to facilitate the centralized and management of the data and backup, taking into account the security of the file and the running
, but they cannot be accessed with another account.
2. solution:
1) choose Resource Manager> Tools> Folder Options> View> remove the check box before "use simple file sharing.
2) Right-click the folder where the recovery DOC file is located and the security project is displayed. This project is intentionally hidden by XP, which is displayed.
3) Click the Security
1,linux in the details of samba installationTo achieve resource sharing between Windows hosts and Linux servers, the Linux operating system provides samba services, and Samba services bridge two different operating systems to enable communication between Linux systems and Windows systems. Provides great convenience for a wide range of Linux enthusiasts. This article briefly describes how to build a Samba server and a simple configuration on a Linux op
First, the use of a network cable to connect two routers, network cable inserted in the router's LAN port;
Two, two routers to set two different LAN segment IP: Set a router LAN to 192.168.1.1, the subnet mask is: 255.255.0.0; The B router LAN is set to 192.168.2.1, and the subnet mask is: 255.255.0.0. and set the router's DHCP server to not start. 3. The IP and gateway of the computer should be set as the network segment and gateway of a router. such as the use of a router broadband, a compute
qimage object from the specified data. It can be loaded from the file system or embedded resources of the QT application.Save () can save the qimage object. Qimagereader: supportedimageformats () andQimagewriter: supportedimageformats () to obtain the list of all file formats supported by qimage. ------------------------------------------Qimage FunctionCertificate ------------------------------------------
my centos 6 Yes livecd installed with very few items by default, except perl , python , Lua and bash nothing else, even join make , GCC must be installed on your own. To enable samba the procedure is as follows:
1Preferred InstallationSambaThe command is as follows:
YumInstall samba
2, Modify the configuration file
File:/etc/samba/smb. conf
Add a row or locateSecu
, passwordTFTP and NFS Server ConfigurationTFTP Server
Installing the TFTP Server
rpm–ivh/mnt/packages/tftp-server-0.49-7.el6.i686.rpm
Configuring the tftp server
Vim/etc/xinetd.d/tftpSet where the shared directory isServer_arg =-s/home ( the directory where the files are downloaded )Disable = no
Restart the TFTP service
/etc/init.d/xinetd restart
Test tftp service
Testing with tftpd32 software under Windows
See if tftp is activat
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.