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  

how to find out which processes are swapping in linux

Have you ever logged in to a server, ran free, seen that a bit of swap is used and wondered what’s in there? It’s usually not very indicative of anything, or even overly helpful knowing what’s in there, mostly it’s a curiosity thing.

Either way, starting from kernel 2.6.16, we can find out using smaps […]

Freeipa Centos 6.7

FreeIPA is a solution for managing users, groups, hosts, services, and much, much more. It uses open source solutions with some Python glue to make things work. Identity Management made easy for the Linux administrator. FreeIPA is an open source alternative to Microsoft Directory Server. It provides the following functionality:

Centralised LDAP based authorisation Kerberos […]

Install Kernel 3.10 on CentOS 6.7

CentOS 6.7 ships with kernel 2.6 and it’s a quite old for now(CentOS 7 already comes with 3.10), but compile a kernel on CentOS is a mess and it’s not recommended. But fear no more, guys from Elrepo took care of that for us and made a package, let’s see how we can install it.

[…]

Install LAMP + phpMyAdmin on 7 CentOS 7 / RHEL

Install LAMP + phpMyAdmin on 7 CentOS 7 / RHEL

The main attention is now replaced by the MySQL database MariaDB, and therefore representative of the LAMP Linux + Apache + MariaDB + PHP up.

System: The new CentOS 7 using systemd, thus some instruction vary ; now use alternative MariaDB MySQL as the database […]

SSH terminal login in linux

Windows VPS remotely manage the SSH login tool is PuTTY , but Linux, there is no need to use it. Linux, Unix (including Mac iOS) are bound to have a built-in command-line terminal, built OpenSSH commands. VPS Linux system through which to log on to be more convenient.

Open a command line terminal in […]

Swap on CentOS 7

we begin, we should take a look at our server’s storage to see if we already have some swap space available. While we can have multiple swap files or swap partitions, one should generally be enough. We can see if the system has any configured swap by using swapon, a general-purpose swap utility. With the […]

add grub password on centos 7 Rhel 7 and Fedora oracle linux

Red Hat Enterprise Linux 7/CentOS 7 system that requires manual entry of a bootloader password in order to boot any future kernels Adding users and custom menuentry

…. –user SOMEUSER directives to /etc/grub.d/40_custom as per the the RHEL7 System Administrator’s Guide is great, but how can you configure grub so that ALL existing & […]

Reset Your Forgotten Root Password On CentOS 7

Reset Your Forgotten Root Password On CentOS 7

To get started, turn on the machine that you’ve forgotten the root password on. For CentOS 7 devices, you’ll be given 5 seconds at the boot menu to select the operating system kernel to boot into.

That 5 seconds is important, because allows for admins to select […]

Centos 7 NIC naming rules

Centos7 provide different naming convention is based on the default firmware, topology, location information to allocate. The advantage of this is that the naming is fully automated, predictable disadvantage is more than eth0 , wlan0 harder to read. For example enp5s0

Naming rules Strategy The default, systemd will be named interfaces based on the following […]

firewalld Apache and SSH 22 80 443

firewall-cmd –zone=public –add-port=22/tcp –permanent firewall-cmd –zone=public –add-port=80/tcp –permanent firewall-cmd –zone=public –add-port=443/tcp –permanent firewall-cmd –reload