Posts

Showing posts from 2015

How to install Skype in Ubuntu 14.04 by Terminal

Image
                                            Skype installation in Ubuntu 14.04 Step1- Download Package from http://www.skype.com/en/download-skype/skype-for-computer/ I have downloaded .deb(skype-ubuntu-precise_4.3.0.37-1_i386) Step2- sudo dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386 If we get this error during installation then run below command for it here it will take few minutes for completing this process. # sudo apt-get install -f Now open Skype from search menu Now login prompt will appear.

How to connect VPN through VPNC in Redhat

Image
There are many way for connecting vpn client in Redhat. I am going to describe about through VPNC. Step1- yum update Step2- download rpm of vpnc and install it as below # rpm -ivh vpnc-0.5.3-4.el6.x86_64.rpm Step3- Check installed vpnc by below command # vpnc --version How to connect vpn after installing vpnc ? Step1- /usr/sbin/vpnc (Use sudo if you are not root login)- It will ask for the gateway from which you need to make vpn connection. Step2- It will ask for IPSec ID and it's key after that enter vpn credentails. How to disconnect? Run below command for disconncting vpn. # /usr/sbin/vpnc-disconnect (Use sudo if you are not root login)

Linux Administration free web tool....Webmin.....How to install webmin in Redhat ?

Image
Webmin - Webmin is a web-based interface for system administration for Linux. Using any web browser, we can setup user accounts, Apache, file sharing and much more. Webmin removes the need to manually edit configuration files like /etc/passwd, and we manage a system from the console or remotely. http://www.webmin.com/ we can download setup file from this site. Step1 -  Download required rpm # wget http://liquidtelecom.dl.sourceforge.net/project/webadmin/webmin/1.730/webmin-1.730-1.noarch.rpm # rpm -ivh webmin-1.730-1.noarch.rpm Step2- Access console from any browser by using root credentials. After login  Dashboard will  appear from there we can manage different things  remotely  an easy way. We can share access by creating a Webmin user apart from root with limited access.

How to make NFS share

NFS- It is stand for Network File System and used for sharing data between linux to linux.NFS requires rpcbind, which dynamically assigns ports for RPC services and can cause problems for configuring firewall rules. To allow clients to access NFS shares behind a firewall, edit the /etc/sysconfig/nfs configuration file to control which ports the required RPC services run on. Step1 - Server side configuration. # yum install nfs* # Make a directory which need to be share or we can also share existing directory. # mkdir /nfsshare # vi /etc/exports /nfsshare *(rw,sync) (Save file) Step2-  service nfs start # service rpcbind start # checking nfs server by below command # exportfs /nfsshare     <world> Step3 -Client side configuration # mkdir /Servernfsshare # mount.nfs4 serveraddress: /nfsshare /Servernfsshare

How to make SAMBA Server in Redhat

Samba - This server used for sharing file and folders with other then Linux OS like Windows. Samba runs on TCP ports 139 and 445 and UDP ports 137 and 138. Step1- Make a directory which we want to share. # mkdir /sambashare # chmod 777 /sambashare # useradd samba #smbpasswd -a samba Step2- Now install samba package # yum install samba # vi /etc/samba/smb.conf (Edit this file) /home (Search) ;[homes]         comment = Home Directories ;       browseable = yes ;       writable = yes         valid users = samba ;       valid users = MYDOMAIN\%S [printers]         comment = All Printers         path = /var/spool/samba         browseable = no         guest ok = no         writable = no         printable = yes # Un-comment the following and create the netlogon directory for Domain Logons ;       [netlogon] ;       comment = Network Logon Service ;       path = /var/lib/samba/netlogon ;       guest ok = yes ;       writable = no ;       share modes = no

How to configure yum repo in Redhat 6.5

YUM- yum is a primary tool for installing,deleting,querying and managing RPM's.This is most important if we are going to use Redhat Server.                                            Here I am going to describe about it. First of all we should have root privileges for doing this task. Step1 - Mount RHEL DVD in /mnt # mount /dev/cdrom /mnt #cd /mnt # cd /Packages # rpm -ivh vsftpd (Press Tab it will take required rpm) Step2 - Make a directory in /var/ftp/pub/rhel6 # mkdir /var/ftp/pub/rhel6 Now copy all the data from DVD to this directory. # cd /mnt #mnt- cp -arv * /var/ftp/pub/rhel6 It will take few minutes for completing this process. Step3 - Now install below 3 rpms # cd /var/ftp/pub/rhel6 # cd Packages #  rpm -ivh delta (Press Tab it will take required rpm) #  rpm -ivh python (Press Tab it will take required rpm) #  rpm -ivh create repo (Press Tab it will take required rpm) Step4- Now create a file as below. # vi /etc/yum.repos.d/rhel6.repo # [Serv