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  

Linux File Systems: Ext2 vs Ext3 vs Ext4 vs Xfs

Linux File Systems: Ext2 vs Ext3 vs Ext4 vs Xfs

ext2, ext3 and ext4 are all filesystems created for Linux. This article explains the following: High level difference between these filesystems. How to create these filesystems. How to convert from one filesystem type to another.

Ext2 Ext2 stands for second extended file system. It was […]

Yum repository

Yum Repository (Yellow dog Updater)

1) mount /dev/cdrom /mnt

2)touch /data

3)rsync -prav /mnt/CentOS/ /data

4)rpm -ivh /mnt/CentOS/Createrepo-0.4.11.3.el5.noarch.rpm

5)Createrepo /data

6)cd /etc/yum.repos.d/

7)touch local.repo

8)vi local.repo ENtry, [local] name=local baseurl=file:///data/ enabled=1 gpgcheck=0 :wq

9)yum install samba

Getting a core dump out of CentOS 7.2

Getting a core dump out of CentOS 7.2

Since Systemd took over as the main init system in Red Hat Linux and derrivatives like CentOS, it has become more difficult to get a core dump out of a daemon application. The traditional approach of running ulimit -c unlimited before executing the binary works when running […]

Mariadb centos 7.4

Mariadb centos 7.4

vi /etc/yum.repos.d/Mariadb.repo

# MariaDB 10.1 CentOS repository list # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1

yum -y install MariaDB-server MariaDB-client

systemctl start mysql.service

mysql_secure_installation

Enter current password for root (enter for none):

Set root password? [Y/n] y

New password:

Re-enter new password:

Remove anonymous users? [Y/n] y

Disallow […]

Docker issue x509: certificate has expired or is not yet valid

root@clusterserver3 ~]# docker pull centos Using default tag: latest Trying to pull repository docker.io/library/centos … Pulling repository docker.io/library/centos Error while pulling image: Get https://index.docker.io/v1/repositories/library/centos/images: x509: certificate has expired or is not yet valid [root@clusterserver3 ~]# update-ca-trust extract

RabbitMQ installation deployment

RabbitMQ installation deployment

This article mainly introduces the installation of rabbitmq-server-3.6.12 deployment

# Check if the old version of the software has been installed

rpm-qa | grep erlang rpm -qa | grep rabbitmq # If yum installed before the rabbitmq may have the old version of the software, you need to uninstall and then install

[…]

CentOS7 install iptables firewall

CentOS 7 default firewall is not iptables, but firewall

Install iptable iptable-service

# First check whether the installation of iptables service iptables status # install iptables yum install-y iptables # upgrade iptables yum update iptables # install iptables-services yum install iptables-services

Disable / stop the built-in firewalld service

# Stop the firewalld service systemctl stop […]

CentOS 7 installs MySQL5.7.19

Environment: Virtual Machine + CentOS 7

1. download binary package, the following mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz link is the official website

cd /usr/local/src

wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz 2. extract, rename

[root@beta src]# tar zxvf mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz

[root@beta src]# ls index.html?id=471614 mysql-5.7.19-linux-glibc2.12-x86_64 mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz [root@beta src]# mv mysql-5.7.19-linux-glibc2.12-x86_64 /usr/local/mysql 3. Initialize

[root@beta mysql]# useradd -M -s /sbin/nologin mysql

[root@beta mysql]# ls bin COPYING […]

Enable linux root access on Microsoft Azure Cloud

Enable linux root access on Microsoft Azure Cloud

How to enable linux root access on Microsoft Azure Cloud 1. Login via ssh using your sudo user on your Microsoft Azure linux server 2. Now login as root user 1 Lines

[root@mohan ~]# sudo su – 3. check if root access is set (LOCK means that […]

Basic ClamAV installation on CentOS 7 and CentOS 6

Basic ClamAV installation on CentOS 7 and CentOS 6

ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats. ClamAV includes a multi-threaded scanner daemon, command line utilities for on demand file scanning and automatic signature updates. It is one of the most popular virus scanner that run on […]