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  

CentOS7 under yum successfully installed MySQL 5.7

1. Download the YUM library

shell> wget http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm

2. Install YUM library

shell> yum localinstall -y mysql57-community-release-el7-7.noarch.rpm

3. Install Database

shell> yum install -y mysql-community-server

4. Start MySQL service

shell> systemctl start mysqld.service

5. The default blank password

shell> mysql -uroot -p

6. Reset the root password to restart the mysql service

shell> update mysql.user […]

A fatal flaw in TCP on Linux hijacks HTTPS connections. Here is the fix

A fatal flaw in TCP on Linux hijacks HTTPS connections. Here is the fix

If you are running Linux kernel 3.6 or newer, anyone in the world on a network that allows IP spoofing can hijack your encrypted communications in less than a minute, with a success rate of 90%.

Here is how to […]

update your Linux kernel from 3.1 to 4.7.2-1

Update Your Linux Kernel in Place (Running CentOS 7 or Above)

If you started an instance from the official CentOS AMI on AWS, you are running kernel 3.1 as of this writing, while you could easily take advantage of improved security features of newer kernels that are already available in a stable release. Here […]

Deploy MySQL master-slave on CentOS7

Deploy MySQL master-slave on CentOS7

2 Locate the directory my.cnf file resides: MySQL –help | grep my.cnf general my.cnf are located in /etc/directory;

3 with vim open MySQL configuration file my.cnf: vim /etc/my.cnf

4 Locate the [mysqld] and subsequently add the following configuration: # uniquely identifies this MySQL server, the default value is 1, the […]

iSCSI Configuration on RHEL 7 / CentOS 7

iSCSI Configuration on RHEL 7 / CentOS 7 Step 1: First you need to create partition

[root@server1 ~]# fdisk -c /dev/sdb

Press ‘p’ to print partition table

Press ‘n’ to create a new partition

Press ‘p’ to create primary partition

Type Partition Number : 1

First Sector : PRESS ENTER

Last Sector : +1G

Press […]

Reset rhel7 root password

Reset rhel7 root password In the RHCSA examination they ask to reset the root password, In this article we are going to learn how to reset rhel7 root user password. Whenever you type user password incorrectly it will shown an above error. Immediate After Right side of the corner there is a power button Click […]

Local YUM server installation and configuration – RHEL7

The Yellowdog Updater, Modified (yum) is an open-source command-line package-management utility for Linux operating systems using the RPM Package Manager. Though yum has a command-line interface, several other tools provide graphical user interfaces to yum functionality.

Basically we will YUM to resolve the dependencies automatically and install them, Using YUM repository you can lot […]

RHEL 7 Extras

RHEL 7 Extras Introduction of Docker Docker is an open source project that automates the deployment of applications inside Linux Containers, and provides the capability to package an application with its runtime dependencies into a container. Device Hotplug Removed While RHEL 5/6 has device hotplug support (udev rule that runs the ifup script for […]

RHEL7 and 6 difference

Features RHEL 7 RHEL 6 Default File System XFS EXT4 Kernel Version 3.10.x-x kernel 2.6.x-x Kernel Kernel Code Name Maipo Santiago General Availability Date of First Major Release 2014-06-09 (Kernel Version 3.10.0-123) 2010-11-09 (Kernel Version 2.6.32-71) First Process systemd (process ID 1) init (process ID 1) Runlevel runlevels are called as “targets” as shown […]

CentOS 7 / RHEL firewalld settings

CentOS 7 / RHEL firewalld settings

CentOS 7 has adopted firelwalld by default over the previous iptables, which will require some new steps to configure your firewall:

# new CentOS/RHEL 7 Firewall: (see https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sec-Using_Firewalls.html )

# create a new service e.g. for webmin:

$ cat /etc/firewalld/services/webmin.xml Webmin Server admin service. Restrict access and do not […]