Setting up Linux Containers (LXC)
What are LXCs?
Containers are a lightweight virtualization technology. They are more akin to an enhanced chroot than to full virtualization like Qemu or VMware, both because they do not emulate hardware and because containers share the same operating system as the host.
Installing lxc
First of all, you have to install lxc …Read More
Installing docker with Ubuntu 16.04 LTS, Mint 17 and CentOS 7
Installing docker with Ubuntu 16.04 LTS, Mint 17 and CentOS 7
A brief introduction to virtualization
Today we will learn installing docker with Ubuntu, mint and CentOS 7 Linux, Before the evolution of the concept of virtualization, to run one application one dedicated server was required, if you wanted to run 20 …Read More
Make Samba Go Faster
Make Samba Go Faster
After installing a wired gigabit network in my house I tested the performance in the network using shares (Windows – samba installed centos 7). I got around 500-600MBit/sec in read speeds and about 600-700MBit/sec in write speeds. But why ?
After looking at the samba configuration file I saw …Read More
Fedora Linux – Use dnf Command With A Proxy Server
How do I access and use dnf command with a web proxy server on a Fedora Linux? How do I configure dnf to use a proxy server only?
Dnf repositories (“repos”) can be accessed through standard proxy servers such as Squid or any other proxy server. You need to configure the …Read More
Install and Configure CSF ConfigServer Firewall
Install and Configure CSF ConfigServer Firewall
About CSF Firewall
ConfigServer Security and Firewall, also known as CSF, is an opensource software firewall application. It is working based on iptables. Firewall configuration script created to provide better security for your server while giving you an easy to use, advanced interface for managing your firewall …Read More
Setting up PPTP VPN server on CentOS Server
Setting up PPTP VPN server on CentOS Server
There are 3 basic types of VPN servers: Point-to-Point Tunneling Protocol (PPTP), Layer 2 Tunneling Protocol(L2TP) and OpenVPN. (Yeah there are more but let’s deal with the basics here). In this post I will use PPTP as it’s supported by almost all devices and OSes natively: …Read More
Configure FirewallD in RHEL/CentOS 7 and Fedora 21/22
In a previous post I’ve showed how to disable firewalld and roll back to our favorite post-systemd iptables firewall. In this post we gonna see how to Configure FirewallD in RHEL/CentOS 7 and Fedora 21/22.
Firewalld is a dynamic daemon to configure and manage firewalls (iptables rules typically) with support for …Read More
Netstat, SS and RHEL 7 / CentOS
The netstat command no longer exists in default installation of CentOS / RHEL 7. It is now replaced with ss command.
The ss command is used to show socket statistics. It can display stats for PACKET sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, Unix domain sockets, and more. It …Read More
Console commands to hibernate and standby / sleep Linux machines
It’s great that Linux nowadays supports all the power management features available on computers. But it’s odd that beside the buttons to trigger standby/hibernate – which are only available in a graphical interface – there are no simple console commands to put the computer to sleep or into hibernation.
Standby and …Read More
Install OpenVPN On CentOS / RHEL 7
Security is most important aspect in internet. Outsiders can monitor internet traffic between your computer and the web. Here the importance of VPN comes. VPN, or virtual private network, is a secure method of connecting remote internet resources together as if they were under the same LAN. OpenVPN is a …Read More
Linux: How to kill a TCP connection using netstat?
You cannot kill a TCP connection using netstat utility. netstat is use for
Display network connections
Routing tables
Interface statistics
Masquerade connections
Multicast memberships
And much more
However Linux support two other commands or utility that can be used to kill a TCP connection.
tcpkill command
Use tcpkill command to kill specified in-progress TCP connections. It is useful for …Read More
How to Install and use Docker
How To Install and Use Docker: Getting Started
Introduction
The provided use cases are limitless and the need has always been there. Docker is here to offer you an efficient, speedy way to port applications across systems and machines. It is light and lean, allowing you to quickly contain applications and run …Read More