How to create password-less SSH for Linux

Sometimes you might need setting up Password-less SSH for running script or for application where you dont want to use password everytime. Here is a quick method to setup password-less SSH. Lab Scenerio: Machine1: 192.168.160.194 Machine2: 192.168.160.197 a. Run this command on Machine1: #ssh-keygen -t rsa It will show you this output. Just press Enter throughout the queries asked. Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key...

Installing SMARTFOX Server Pro on Debian

SmartFoxServer is a massive multiplayer platform for building games, MMO communities, virtual worlds, realtime multiplayer games. To setup SFS, in short on Linux platform like Debian, one can follow the below steps: Download the SmartFox Server Pro 1.6.6 fromhttp://smartfoxserver.com/download/get/77/SFSPRO_linux64_1.6.6.tar.gz link. 1. Open a terminal window and move to the folder where you have downloaded the file. 2. Type “gzip -d filename.tar.gz” to extract the .tar file (where “filename” is the name of the downloaded file) as shown in the screenshot. 3. Type “tar xf filename.tar” to extract the files. 4. Move inside the uncompressed folder and type ./install To start...

Setting up a Simple Samba Share – Part II

In the previous article we saw the practical implication of setting up a samba share.In this article we will explore more about the Samba with practical approach. Aim: Connnecting to Samba Server through Own Client Software on the same machine Implementation: [root@rhel samba]# smbclient //localhost/ -U jen Password: Domain=[rhel] OS=[Unix] Server=[Samba 3.0.25b-0.4E.6] tree connect failed: NT_STATUS_BAD_NETWORK_NAME [root@rhel samba]# smbclient //localhost/jen -U jen Password: Domain=[rhel] OS=[Unix] Server=[Samba 3.0.25b-0.4E.6] smb: \> You will see lots of commands here: smb: \> ? ? altname archive blocksize cancel case_sensitive cd chmod chown close del dir du exit get getfacl hardlink help history lcd link...

Setting up a Simple Samba Share – Part I

Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments using the winbind daemon.In simple words, Samba is the standard Windows interoperability suite of programs for Linux and Unix.Since long back in 1992, Samba has provided secure, stable and fast file and print services for all clients using the SMB/CIFS protocol, such as all versions of DOS and Windows, OS/2, Linux and many others. Today we are going to setup a simple samba share. Setting Up a Simple Samba Share which can be accessed by anyone who has account on the Machine. Backup the...

Fog – An Open Source Cloning Solution

If you are a system admin who is still sticking to Clonezilla, you must probably look out to try FOG – a very fast and easy to deploy cloning solution. Compared to Clonezilla, Fog imaging process usually takes less than few minutes. With the current release, fog includes the ability and support for Linux and multiboot resizable imaging too. However,FOG can be used to image Windows XP, Vista, Windows 7 and Window 8 PCs using PXE, PartClone, and a Web GUI to tie it together. I had one of my friend who runs cyber cafe business and keen on deploying...

IT Automation through Ansible

Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. One of the main reason why I choose Ansible over other IT automation tools like Puppet, Chef etc. – It manages machines in an agentless manner. As OpenSSH is one of the most peer reviewed open source components, the security exposure of using the tool is greatly reduced. Ansible is decentralized – it relies on your existing OS credentials to control access to remote machines; if needed it can easily connect with Kerberos, LDAP,...

It was an Openstack Day…OSI 2014

Yesterday I attended Open Source India 2014 event which happened in NIMHANS Convention Center, Bengaluru. If you are new to OSI, let me brief you that the Open Source India is around 11 years old and believe me..its Asia’s largest convention on open source technology. Founded by EFI group, the main motto of this organization is to bridge the gap between industry and the open source community. This event is  a step forward for bringing some successful open source implementations  in the form of keynotes, discussions, workshops. I reached out to the venue at around 9:30 AM. I was pretty aware of the...

Installing Skype on CentOS 6.5

Getting skype working on CentOS 6.5 has been a daunting job for lot of system administrators. Usually I found system administrators posting this query in facebook and other Linux groups. This lead me to try out Skype on one of the available CentOS 6.5 machine. This guide should work for RHEL and latest Fedora versions too. Important Note published by CentOS Team: “…Starting with Aug 4th 2014, no version of Skype older than 4.3 works due to the changes that were implemented in the authentication mechanism. Any attempt to use older versions lead to an error message similar to “Cannot contact...

Automating Oracle Weblogic Server installation through shell script

Automation always saves your considerable time. Especially when you have to follow the similar step for hundreds of machine, automated scripts and tools have always been a great weapon for system administrators.Today I spent considerable time to setup Weblogic Server 10.3.6 on my CentOS 7.0 machine through shell script. This unattended script uses autoexpect rather than silent.xml or WLST as suggested by Oracle. Let me share the steps I followed to deploy the Weblogic Server: Ensure you have the following software in place downloaded from Oracle Website.We can’t use wget for this as it requires Oracle Login for downloading these...