CentOS7.zip

How to install python 3.9 alongside python 3.8 on CentOS 7?

707

To install Python 3.9 alongside Python 3.8 on CentOS 7,you can do this safely using either altinstall or environment managers like pyenv.Below is a detailed guide using the altinstall method (safe for keeping multiple versions side by side). Step 1: Instal...

Change MySQL port number for security purpose

815

The default port that MySQL database server is running under Linux and Unix is 3306 / TCP. In order to change the default MySQL / MariaDB database port in Linux, open MySQL server configuration file for editing by issuing the below command.Search for the l...

Check network port is open or not on CentOS 7

1,185

To check listening port on CentOS 7, you can do it by "netstat" simply, or you can try it by "ss". I was easily able to check which port is open or not on CentOS 7.The above shows its result like below:The above shows its result like below: 

chmod by type (directory and file permission)

732

To change permission by type (directory or file), the easiest way can do it is using find command and do something as a follow up action. To change permission for file by 0664,Note that you should put space between {} and \ To change permiss...

How do I create a user account in read-only mode at MySQL?

3,248

Why Read-Only User Accounts are Needed in MySQL?Read-only user accounts in MySQL are essential for security and data integrity.They provide a way to grant access to data for reporting,analysis,or monitoring without the risk of accidental or malicious modif...

How to run Python 3.9 on Mac?

647

To run Python 3.9 on a Mac,you can follow these steps: .Method 1: Install using Homebrew:Please install Homebrew if you haven't done so already.:Install Python 3.9::Verify the installation:. Method 2: Install from the official Python website:Download the P...

The Ultimate Data Engineering Roadmap

The Ultimate Data Engineering Roadmap

1,069

Below is from Alex Xu.The Data Engineering RoadmapData engineering has become the backbone of effective data analysis.It involves managing,processing,and optimizing data to derive actionable insights.Here’s a roadmap that can help you get better at data e...

Rust code example to access MySQL

1,095

The mysql crate in Rust provides a client library for interacting with MySQL databases.It allows Rust programs to connect to MySQL servers,execute queries (both SQL and prepared statements),handle results,and manage transactions,all within a safe and idiom...

Using MySQL in Node.js

473

To use MySQL in a Node.js application,you'll need to install the mysql package (or mysql2 for improved performance and additional features).Below is a step-by-step guide on how to set up and interact with a MySQL database using Node.js. Step 1: Install MyS...

Stateful Databases: A Deep Dive with Cassandra & TiDB

Stateful Databases: A Deep Dive with Cassandra & TiDB

185

What is a Stateful Database?A stateful database is a type of database system that retains information about past interactions or states and uses this information to process subsequent requests.In essence,it remembers the "state" of the data over time.This ...