Category: Linux

Linux Interview Questions

July 30, 2016 by S4 R

Filed under Linux

Last modified October 21, 2016

What is Linux? What is the difference between UNIX and LINUX? What is BASH?What is Linux Kernel?What is LILO? What is a swap space? What is the advantage of open source? What are the basic components of Linux? Does it help for a Linux system to have multiple desktop environments installed? What is the basic difference between BASH and DOS? What is the importance of …

Restart httpd server

July 24, 2016 by S4

Filed under Linux

Last modified July 24, 2016

You have two option to Restart httpd service 1. start using command line 2. start from init.d directory /etc/init.d/httpd service script. Before starting httpd service please check 1. your id should be root or you must have sudo access to start httpd service 2. please check http installed status #rpm -qa | grep http #if you are using Cent OS, Fedora and Redhat #dpkg -l …

Write a command to find all of the files which have been accessed within the last 30 days.

July 15, 2016 by Linux Guru

Filed under Linux

Last modified July 15, 2016

Write a command to find all of the files which have been accessed within the last 30 days # find / -type f -atime -30 *.txt

Fix Grub issue of dual boot between linux and windows

July 12, 2016 by S4

Filed under Linux, Window

Last modified July 15, 2016

Fix Grub issue of dual boot between linux and windows When you have configured the system for dual boot between linux and widows. And you experience boot problems in to windows, Here is the quick go thru to solve the problem. for running windows: Code: grub > root (hd0,0) that is assuming your windows partition is on hda (primary master, first partiton – adjust the …

Install AIX from a Linux Server Using NIM on Linux

July 12, 2016 by S4

Filed under AIX, Linux, Unix

Last modified July 26, 2016

Install AIX from a Linux Server Using NIM on Linux Network Installation Management (NIM) on Linux (NIMOL) provides basic AIX software administration services from a Linux server. The NIMOL RPM included in the AIX product media provides basic NIM functionality for a Linux server. While using a pSeries NIM Server for AIX client management provides more functionality, NIMOL provides the following functions on Linux servers: …

Everything about FTP

July 12, 2016 by S4

Filed under Linux

Last modified July 15, 2016

Everything about FTP 1. Introduction This document intended to describe, what ftp server is and how to work with ftp ser ver like downloading file from and upload file to ftp server from a Linux based terminal . Also this document focused only command -line based. 1.1. What is FTP? FTP (File Transfer Protocol) is secure way to transfer file between ftp server and your …

Adding multiple ip address to the linux server

July 12, 2016 by S4

Filed under Linux

Last modified July 15, 2016

Adding multiple ip address to the linux server Files to edit : /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0 /etc/sysconfig/network-scripts/ifcfg-eth0:1 /etc/sysconfig/network-scripts/ifcfg-eth1 Here eth0 has Multiple IP ADDRESS assgined to it EX:Sample /etc/sysconfig/network-scripts/ifcfg-eth0 file looks like : DEVICE=eth0 BOOTPROTO=static BROADCAST=2.168.1.255 IPADDR=2.168.1.1 NETMASK=255.255.255.0 NETWORK=2.168.1.0 ONBOOT=yes Sample /etc/sysconfig/network-scripts/ifcfg-eth0:0 file looks like : DEVICE=eth0:0 BOOTPROTO=static BROADCAST=2.168.1.255 IPADDR=2.168.1.2 NETMASK=255.255.255.0 NETWORK=2.168.1.0 ONBOOT=yes Sample /etc/sysconfig/network-scripts/ifcfg-eth0:1 file looks like : DEVICE=eth0:1 BOOTPROTO=static BROADCAST=2.168.1.255 IPADDR=2.168.1.3 NETMASK=255.255.255.0 NETWORK=2.168.1.0 ONBOOT=yes Sample …

Quick Guide to iSCSI on Linux and Solaris

July 12, 2016 by S4

Filed under Linux, Unix

Last modified July 15, 2016

A Quick Guide to iSCSI on Linux and Solaris Introduction More and more it appears that iSCSI isn’t going away, but might just be here to stay for awhile. In a nutshell, iSCSI is simply the pairing of the “best” of both NAS (using NFS or CIFSs over IP Ethernet networks) and SAN (Fibre Channel Fabrics) technologies. What you ultimately get is a protocol that …

How to update cURL CA bundle on linux server?

July 7, 2016 by Linux Guru

Filed under Linux, logs

Last modified July 15, 2016

How to update cURL CA bundle on linux server Error log ——————– curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed ——————— Solution Install the ca-certificates package:sudo yum install ca-certificates Enable the dynamic CA configuration feature:sudo update-ca-trust force-enable Add it as a new file tocd /etc/pki/ca-trust/source/anchors/ sudo cp /etc/ssl/certs/intermediate.crt . Use command:sudo update-ca-trust extract.

How to convert a WinSCP ppk to .CER/.PEM format acceptable by Linux ?

June 20, 2016 by Linux Guru

Filed under Linux

Last modified July 15, 2016

How to convert a WinSCP ppk to .CER/.PEM format acceptable by Linux You can create .pem key file from a .ppk (putty ssh key) key file. For the you need to download PuttyGen. Start PuTTYgen. Load your private key in .ppk format. Then go to Menu > Conversions > Export > OpenSSH. This creates a key in .pem format.