GNU/Linux

linux

Reinstall a corrupted boot partition.

 
Issue
In a system where the "/boot" partition is a separate partition, when /boot is corrupted or be
formatted mistakenly, you can not boot the system but do not want to reinstall the whole
system.
 

Virtual Network Computing VNC on Linux

 
Virtual Network Computing (VNC).

Platform: Linux

Flavor: Red Hat 5.x and Cent OS 5.x

Configuration Steps in detail:

   1. Install VNC and VNC Server package on Cent OS 5 as a privilege user root. I did this using yum.                                         
    #yum –y install vnc vnc-server.
 

Transparent proxy from scratch for http & https

While configuring it in a transparent mode I found myself in an embarrassing situation, because it is not working. The version of squid which I worked on is squid-2.6.STABLE21-3.el5. And after spending time I figure out the problem & here is the complete solution for those who configuring squid proxy server in a transparent mode first time after installation. Before proceeding please update your squid package.

Squid as a transparent proxy over ssl https.

Setting up squid as a transparent proxy is fairly an easy job. If we Google for “how to set up squid as a transparent proxy” Google renders a lots of links for our reference. But it is commonly seen that when we are using transparent proxy we are unable to connect to https connection like Gmail and many more sites which https protocol for security concern. Sites which use http protocol can easily open.

SSH Login without password

Rahul and I have a root access to remote server.

  1. 1. #yum  -y install openssh
  2. 2. Ssh Rahul@localhost     # to get full environment of user Rahul
  3. 3. [Rahul@intranet ~]$ssh-keygen  -t rsa  # -t option allow you to select type of algorithm like #RSA or DSA
  4. 4. Now make sure on remote Linux/UNIX server .ssh directory exists in user’s home directory. In my environment it is /root/.ssh/. User roots home directory.
  5. 5. [Rahul@intranet ~]$ ssh root@”remote server” mkdir –p ~root/.ssh
  6. 6. [Rahul@intranet ~]$scp -p /home/Rahul/.ssh/id_rsa.pub root@”remote server” /root/.ssh/authorized_keys #it will ask you for RSA fingerprint and prompt for a password.

Hi, I am Rahul Pahade

This is my first blog and I feel very excited because soon I will share my knowledge and experience with you.

About Me

Hi All,

My name is Rahul Pahade and I start writing blogs to help others and to share knowledge experience to enhance and enrich skills because knowledge is everything and scholars says “Don’t be afraid to ask dumb question because they are more easily handled then dumb mistakes”.

Syndicate content