Set common services in linux (Smb Service)-Linux Enterprise Application-Linux server application information. For details, refer to the following section. We often use Windows to compile linux kernels and program development. data exchange between the two operating systems is frequent, so we need to use several common services in linux, the following describes the smb service:
Application 1: file exchange. If we want to access other network hosts under windows, enter an IP address in the search box to access the directory. The operations are as follows:
1. Enable Red Hat> system Settings> Server Settings> Samba server;
2. Click Add, select the linux directory to be shared (for example, select/as the root directory), and select read/write;
3. Click "Preferences" to add the user name and password;
4. Start in Windows-> run linux IP address (the two systems must be in the same IP address segment );
5. Enter the username and password created above to access the linux root directory;
6. If you want to read and write data to a directory, you must first set the directory to read/write, and use the chmod command;
If you want to use another software such as putty to open the linux interface, do the following:
1. Start the smb service, cd/etc/init. d;
2. [root @]/smb restart;
3. Modify the IP address, ifconfig eth0 192.168.X.X
4. Start putty and enter the root and password to open and operate linux with the software.
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.