Skip to main content

Samba configuration for Linux to windows file sharing

It's simple samba configuration for file sharing throw linux to windows,

You shound be the root user for install and configure samba in linux machine.

Here i used RedHat Enterprise Linux 5

Step 1 : Open terminal window, use command yum install samba* for install samba,

Step 2 : After install successfully open /etc/samba/smb.conf, in terminal

"#vim /etc/samba/smb.conf" and hit enter,

Step 3 : Find line "workgroup = MYGROUP", Change MYGROUP as your wish.
             * It's importent in printer sharing.

Step 4 : After that move to end of the file line,

Step 5 : Add following things,


[myshare]                                       # share name
comment = share's stuff               # just comment for share
path = /mnt/share                          # location of directory for share
valid users = user                         # user for share (Should be user in system)
public = no                                     # Public access, Local access without pass
writable = no                                 # For file
browsable = yes                            # For browse file
printable = no                                # For printer
hosts allow = 192.168.0.                # Which network should access share


Step 6 : Samba user creation / We can set different password for local system user and samba user.


#smbpasswd -a user                   [Type and hit enter, and give password for user]


Step 7 : That's all. You made it. Now want to start samba service.

#service smb start

#chkconfig smb on


Step 8 : Open you windows machine, open run window, Hit //[ip of linux machine]


Step 9 : It'll ask user name and password, use your samba user name and password for login. That's all.

Comments

Popular posts from this blog

Install and Uninstall VMware .bundle in Redhat - RHEL 6

Here the steps for Install and Uninstall VMware .bundle in Redhat and also Linux. I have checked with RHEL 6.

For install :
Login in as root user, Type following command

~]# sh VMware-***.bundle

Here *** will be your software and it's version.

This command will display normal GUI installation. Choose option as your wish.

For Uninstall :
Login in as root user, Type following command


~]# vmware-installer -l

This will display your product name and product version installed by VMware.

Ex:
*
*
*
Product Name         Product Version    
========== ==============
vmware-player        4.0.1.528992   

Note Name and Version, Use following command to uninstall

~]# vmware-installer -u {product-name} {product-version}

Ex:
~]# vmware-installer -u vmware-workstation 8.0.1.528992

Now you can uninstall with GUI.

* This is common for all VMware .bundle installation files. Ex: VMware-Workstation, VMware-Player etc.

Play NFS (Need For Speed) or other Games on Full Screen in Laptop with Windows 7

Now a days most of people playing NFS serious (NFS Most Wanted , NFS Carbon etc.) in Laptop.

We are facing the problem that NFS game does not play in full screen mode. It have some black bar at both right and left side.

We can fix it with simple steps, For this your video driver should be installed with it's "Graphics & Media Control Panel" application.

Here i have explained it with screen shot. It'll be mostly same for Intel boards. Settings for other video drivers may differ. You may need to search for it in their graphics control panel.


Step 1 :

Click aero button at right bottom corner for show available notifications and running process. There is Graphics & Media Control Panel Icon.
If it is not avaliable there, you can get it from "Windows Control Panel". It'll open your "Graphics & Media Control Panel".


Step 2 :

Click Graphics & Media Control Panel icon and choose Graphics Properties...


Step 3:

Under Intel Graphics and …