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  

Install Microsoft SQL Server On CentOS Linux

In December 2016 Microsoft made their SQL Server database available in Linux. Here we’ll cover how to install and perform basic setup of MSSQL in the RHEL based Linux distribution CentOS.

Install MSSQL In CentOS 7

First we’ll set up the repository file, Microsoft provide a copy of this for RHEL here: https://packages.microsoft.com/config/rhel/7/mssql-server.repo

We’ll use […]

Dovecot can’t start with error pop3-login & imap-login not supported protocol family

vim /etc/dovecot/dovecot.conf — listen = *, :: ? listen = * — service dovecot restart

If you see this error after Dovecot 2.0.x was installed: Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(pop3-login): listen(::, 995) failed: Address family not supported by […]

Disable or enable the IPv6 protocol

Disable or enable the IPv6 protocol

Disabling IPv6 support in Red Hat Enterprise Linux 7

Disable ipv6 built-in kernel module.

Edit /etc/default/grub and append ipv6.disable=1 to GRUB_CMDLINE_LINUX like the following sample: Raw

GRUB_CMDLINE_LINUX=”rd.lvm.lv=rhel/swap crashkernel=auto rd.lvm.lv=rhel/root ipv6.disable=1″

Run the grub2-mkconfig command to regenerate the grub.cfg file: Raw

# grub2-mkconfig -o […]

LVM(LOGICAL VOLUME MANAGER)

LVM(LOGICAL VOLUME MANAGER) LVM(LOGICAL VOLUME MANAGER) —————————————–

1>first create partion

#partprobe -s

#pvcreate /dev/sda?

#pvcreate /dev/sda?

#vgcreate vg0 /dev/sda? /dev/sda?

#vgdisplay

#pvdisplay

#lvdisplay

#lvcreate -n lvm0 -L 150M vg0 (where -n—->name, -L—>length)

#lvdisplay

#mkfs.ext3 /dev/vg0/lvm0

#mkdir /mnt/lvm1

#mount /dev/vg0/lvm0 /mnt/lvm0

#vim /etc/fstab /dev/vg0/lvm0 /mnt/lvm0 ext3 defaults 0 0

#mount -a

——————————————————————————–

Steps To Extend The […]

Linux Boot Process

*************** Summary =======

A) START – BIOS (Basic Input Output System) = when BIOS load in RAM Called BOOT STARPPING – CMOS = Called this process KERNAL LANDING – MBR in Hard Disk – BOOTLOADER – KERNEL – INITRD IMAGE – Inittab = Upto this process called USER LANDING

B) There are two tyeps of […]

PXE Network Installation with Kick start

Just configured and tested PXE Network Installation . Its Amazing!!

Please bear with my rough notes on this Topic :

>> Mount your CENTOS DVD to /media .

>>>yum -y install dhcp tftp-server syslinux vsftpd system-config-kickstart

>>> Configure DHCP Server as below :

#vi /etc/dhcpd.conf

ddns-update-style interim;

ignore client-updates;

allow booting;

allow bootp;

authoritative;

subnet […]

SSH passwordless multiple login

SSH passwordless multiple login

I’ve already written about howto log in, on your local system, and make passwordless ssh connections using ssh-keygen command. However, you cannot just follow these instructions over and over again, as you will overwrite the previous keys. It is also possible to upload multiple public keys to your remote server, allowing […]

LVM Snapshot : Backup & restore LVM Partition in linux

An LVM snapshot is an exact mirror copy of an LVM partition which has all the data from the LVM volume from the time the snapshot was created. The main advantage of LVM snapshots is that they can reduce the amount of time that your services / application are down during backups because a snapshot […]

pam_tally2 command – lock & unlock ssh failed logins in linux

pam_tally2 command – lock & unlock ssh failed logins in linux

pam_tally2 command is used to lock and unlock ssh failed logins in linux like operating system. To implment a security feature like a user’s account must be locked after a number of failed login attempts . We can achieve this security via pam module […]

Hardware Serial Numbers Linux Command to Retrieve

Hardware Serial Numbers Linux Command to Retrieve

Ever needed to obtain the serial number (or other details) for a remote server? Couldn’t be bothered to walk/run/drive/fly all the way there just to read a sticky label on the back or bottom of said server? Read on then. The command you want to run, as root, […]