November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

VNC Server Configuration Redhat and Centos

2. Install package #yum install –y tigervnc-server.x86_64 0:1.0.90-0.15.20110314svn4359.el6 3. Edit vncservers file: # vim /etc/sysconfig/vncservers Uncomment the two lines below and edit it with your own username: VNCSERVERS=”2:myusername” VNCSERVERARGS[2]=”-geometry 800×600 -nolistentcp -nohttpd -localhost” Example: VNCSERVERS=”2:root” VNCSERVERARGS[2]=”-geometry 1024×768? 4. Configuring Desktop Environment if needed: # /root/.vnc/xstartup 5. Set the password for vncserver user: # vncpasswd Password: […]

forcefully unmount a Linux disk partition

Understanding device error busy error: What happens basically, is that Linux / UNIX will not allow you to unmount a device that is busy. There are many reasons for this (such as program accessing partition or open file) , but the most important one is to prevent data loss.

 

Try the following command to […]

Sar , mpstat , vmstat , iostat

[root@localhost optback]# sar -b 1 Linux 3.10.0-54.0.1.el7.x86_64 (localhost.localdomain) 17/03/14 _x86_64_ (1 CPU)

23:02:44 tps rtps wtps bread/s bwrtn/s 23:02:45 0.00 0.00 0.00 0.00 0.00 23:02:46 0.00 0.00 0.00 0.00 0.00 23:02:47 0.00 0.00 0.00 0.00 0.00 23:02:48 0.00 0.00 0.00 0.00 0.00 23:02:49 0.00 0.00 0.00 0.00 0.00 23:02:50 0.00 0.00 0.00 0.00 0.00 23:02:51 […]

RedHat Enterprise Linux 7.0 XFS File System

[root@localhost ~]# pvcreate /dev/sdb /dev/sdc /dev/sdd Physical volume “/dev/sdb” successfully created Physical volume “/dev/sdc” successfully created Physical volume “/dev/sdd” successfully created

  pvs [root@localhost ~]# pvs PV VG Fmt Attr PSize PFree /dev/sda2 rhel lvm2 a– 39.51g 0 /dev/sdb lvm2 a– 20.00g 20.00g /dev/sdc lvm2 a– 20.00g 20.00g /dev/sdd lvm2 a– 20.00g 20.00g

 

 

[…]

Create a local DVD repository for YUM

he software repositories created during the installation will point only the Red Hat online and will require your subscription code. Installing from the online repositories will always ensure that you are working with the latest software versions but for testing the beta in a non-live environment may not be required. We will use the DVD […]

Red Hat Enterprise Linux 7 BETA 1 Install Step by Step

 

Red Hat Enterprise Linux 7 BETA 1 Install and overview | A good thing even better Red Hat is the leader in development, deployment, and management of Linux and open-source solutions for Internet infrastructure – ranging from embedded devices to secure web servers. The company was founded in 1994 by visionary entrepreneurs Bob Young […]

how to treat a Linux hacked server

This guide is not a step by step tutorial on how to clean a compromised server, rather it is a reference to illustrate what tools are available for performing an analysis of the compromise. The goal of this guide is to show you what information is available to help you determine:

Point of entry The […]

Fixing the BIND (named) Service Bug – Generating /etc/rndc.key Redhat and Centos Fedora

Fixing the BIND (named) Service Bug – Generating /etc/rndc.key

I must admit, I have never had this bug for a very loong time. I thought It must have been fixed or rather removed all together. It was first reported with RHEL 6.1 and was removed as commented here by the developers.

However, I came accross […]

Redhat cluster for Apache

# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.1.60 cluster1.rmohan.com cluster1 192.168.1.61 cluster2.rmohan.com cluster2 192.168.1.62 cluster3.rmohan.com cluster3 192.168.1.50 storage.rmohan.com storage

/etc/init.d/iptables stop iptables-save > /etc/sysconfig/iptables

SELINUX=disabled

yum update

yum install ricci yum groupinstall Clustering

yum install -y iscsi-initiator-utils

yum install […]

PFX Certificate

What is a PFX Certificate

PKCS #12 is one of the family of standards called Public-Key Cryptography Standards (PKCS), published by RSA Laboratories. It defines a file format commonly used to store X.509 private keys with accompanying public key certificates, protected with a password-based symmetric key PFX Certificate?

In practice .pfx is just another file […]