united states of america usa  linkedinfacebookgoogle
Add a software raid to Linux

linux-icon-19This tutorial is for adding extra disks to an already existing system, not conerting current ones to RAID. We are adding a RAID1 software RAID to most common Linux distributions (this should work on any one of them).

We have used 2 disks for this:
/dev/sdb: 500.1
/dev/sdc 500.1

Continue Reading

Unmount a drive when it is busy

There are some circumstances where you have to unmount a drive, but it is not letting you. Giving an error, similar to this:

umount: /mnt/backup: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

Continue Reading

Reserve IP in OpenVPN

openvpn-logo-300x300The IPs in the VPN are assigned randomly. If you have your router configured using something like Tomato, you can setup the reservation by MAC address. For the linux-based install, follow these steps:

1) To begin, first identify the directory, where the files will be stored:

Continue Reading

Setup VNC in Ubuntu

vnc iconYou have a server, but want to setup VNC to access the GUI? This tutorial will help with that. We've used Ubuntu 16.04 to install, but it should work with others as well.

Install the components

apt-get -y install ubuntu-desktop tightvncserver xfce4 xfce4-goodies autocutsel

Add the vnc user and give it a password:

adduser vnc
passwd vnc

You can add vnc as sudo, so you could run apps as root. Edit the sudoers file:

echo "vnc ALL=(ALL)       ALL" >> /etc/sudoers

Continue Reading

CentOS 7 Linux - missing ifconfig

centosThe widely used ifconfig is missing from Centos 7.X version of Linux with minimal install. To get it back, run the following command:

yum install net-tools

The command will then be available as usual.

If you don't want to use ifconfig and are wondering how else you can find the IP address, you can run this command:

ip link

Continue Reading

Enable subject logging in Postfix

postfix1Q. We would like to enable subject logging in Postfix, how do we go about doing that?

A. First, you need to install postfix-pcre package (Perl Compatible Regular Expressions support for postfix). We were doing it on Ubuntu 12, so:

apt-get install postfix-pcre

Continue Reading

Tel: (786) 646-6461   |   Toll-Free: (877) 454-0758
1990 NE 163rd St, Suite 215, North Miami Beach, FL 33162, USA
Privacy Policy