TO CONFIGURE SAMBA SERVER
1. mkdir /samba
2. chmod a+w /samba
3. yum install samba -y
4. vim /etc/samba/smb.conf
[public]
comment = Only users
path = /samba
public = yes
browseable=yes
writable = yes
printable = no
write list = +staff
5. service smb restart
OPTIONS THAT CAN B GIVEN IN FILE
1.If browseable=yes ->we CAN see the shared dir
If browseable=no -> we CANNOT see the shared dir
2.If public=yes ->Allows anonymous Login
If public=no ->Stops anonymous Login
3. writable = no ->uploading is denied for BOTH the users.
writable = yes ->uploading is allowed for BOTH the users
4a. writable =no + ->Allows only u1 to upload files, but
b. write list =u1 both writable=no and writelist=u1 shuld b enabled
5. hosts allow=127. 192.168.0.20 ->Allow only 192.168.0.20 ip to
access share, other ips are denied
CLIENT COMMANDS
1.smbclient -L //192.168.0.48/share ->List directories shared
2. smbclient //192.168.0.48/share ->Anonymous Login
get <file>
put <file>
3a. To generat passwd to allow for non-anonymous login
1. smbpasswd -a u1
2. service smb restart
3b. smbclient //192.168.0.48/share -U u1 ->Non Anonymous Login
get <file>
put <file>
TO INSTALL VMWARE ON LINUX
1.mount 192.168.0.154:/dumps /media
2.cd /media/VMWARE
3.rpm -ivh VMware-server-1.0.1-29996.i386.rpm
4.yum install gcc kernel-devel xinetd -y
5.vmware-config.pl
6.cat vmware-server.key
TO EXTRACT WINDOWS IMAGE
1.scp nanju@192.168.0.154:/home/nanju/suma/raj.tar.bz2 .
2.tar jxvf raj.tar.bz2 -C /var/lib/vmware
If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!
1. mkdir /samba
2. chmod a+w /samba
3. yum install samba -y
4. vim /etc/samba/smb.conf
[public]
comment = Only users
path = /samba
public = yes
browseable=yes
writable = yes
printable = no
write list = +staff
5. service smb restart
OPTIONS THAT CAN B GIVEN IN FILE
1.If browseable=yes ->we CAN see the shared dir
If browseable=no -> we CANNOT see the shared dir
2.If public=yes ->Allows anonymous Login
If public=no ->Stops anonymous Login
3. writable = no ->uploading is denied for BOTH the users.
writable = yes ->uploading is allowed for BOTH the users
4a. writable =no + ->Allows only u1 to upload files, but
b. write list =u1 both writable=no and writelist=u1 shuld b enabled
5. hosts allow=127. 192.168.0.20 ->Allow only 192.168.0.20 ip to
access share, other ips are denied
CLIENT COMMANDS
1.smbclient -L //192.168.0.48/share ->List directories shared
2. smbclient //192.168.0.48/share ->Anonymous Login
get <file>
put <file>
3a. To generat passwd to allow for non-anonymous login
1. smbpasswd -a u1
2. service smb restart
3b. smbclient //192.168.0.48/share -U u1 ->Non Anonymous Login
get <file>
put <file>
TO INSTALL VMWARE ON LINUX
1.mount 192.168.0.154:/dumps /media
2.cd /media/VMWARE
3.rpm -ivh VMware-server-1.0.1-29996.i386.rpm
4.yum install gcc kernel-devel xinetd -y
5.vmware-config.pl
6.cat vmware-server.key
TO EXTRACT WINDOWS IMAGE
1.scp nanju@192.168.0.154:/home/nanju/suma/raj.tar.bz2 .
2.tar jxvf raj.tar.bz2 -C /var/lib/vmware
If you found this post useful, I would really love it, if you can Like the Page, or share it with your Facebook/Google+/Twitter Friends... It will keep me motivated. Thank you!
No comments:
Post a Comment