Linux Apps Tutorials - Herong's Tutorial Examples

https://www.herongyang.com/Linux-Apps

© 2009-2022 Herong Yang. All rights reserved.

Linux Apps Tutorials This book is a collection of notes and sample codes written by the author while he was learning Linux applications. Topics include using managing users and groups; managing files and directories; managing Apache Web server; managing MySQL server; developing Python and PHP scripts; using GCC C/C++ compilers; running graphical applications on GNOME desktop and X11 servers; running Conda - Environment and Package Manager. Updated in 2022 (Version v1.00) with minor updates.

Table of Contents

About This Book

Introduction to Linux Systems

"uname" - Display System Information

"free" - Display Free and Used Memory

Process Management

"ps" - Display Current Processes

"jobs" - Manage Background Jobs

Cron Daemon, Table and Jobs

"tmux" - Terminal Multiplexer

Files and Directories

"find" - Search for Files

"more", "head" and "cat" - Read Files

"split" and "cat" - Split and Join Files

Truncate Log Files

"compress/uncompress" - Compressed *.Z Files

"gzip/gunzip" - Compressed *.gz Files

"xz/unxz" - Compressed *.xz or *.lzma Files

"tar -c" and "tar -x" - Create and Extract Archive Files

"zip" and "unzip" - Create and Extract ZIP Files

"Operation not permitted" Error on macOS

Running Apache Web Server (httpd) on Linux Systems

Verify Apache Web Server "httpd"

Running PHP Scripts on Linux Systems

Install and Manage PHP Packages on CentOS

"php -i" - Dump PHP Environment Information

Install and Manage PHP Modules on CentOS

Files Used in PHP "include" Statements

Publish PHP Scripts on Apache Web Server

Dump PHP/Apache Environment Information

Change PHP Configuration Settings

Apache PHP file_put_contents() Permission Denied

SELinux Security Context on /var/www/html

Migrate Old Scripts to New PHP Release

Running MySQL Database Server on Linux Systems

Install MySQL Database Server on CentOS

Manage MySQL Server 'mysqld' on CentOS

Set MySQL Server "root" Password on CentOS

MySQL Server File Locations on CentOS

MySQL Server Data Backups on CentOS

MySQL Server Log Files on CentOS

MySQL Server Socket Connection on CentOS

MySQL Server TCP/IP Connection on CentOS

Open Firewall for MySQL Server on CentOS

"Server sent charset unknown to the client" Error

Performance of Inserting Integers to MySQL Database

Performance Comparison of Inserting Integers vs. Strings

Running Python Scripts on Linux Systems

Install and Manage Python Engine on CentOS

"pip/pip3" Python Package Manager

Install MySQL Connector/Python on CentOS

Install Python 2 Engine on CentOS

Conda - Environment and Package Manager

What Is Conda

Install Miniconda 3

Introduction to Conda Environment

GCC - C/C++ Compiler

Install GCC C/C++ Compilers

"g++ --verbose" - GCC Compiler Steps and Settings

"g++ -I..." and CPATH Environment Variable

"g++ -l..." to Link with Library Files

"g++ -c" and "ar src" to Build Static Library

"g++ -shared" to Build Dynamic Library

"ldd" - Dynamic Library Dependency Checker

"make" - Manage Program Build Process

Graphics Environments on Linux

Tools and Utilities

Install Tesseract as the OCR Engine

References

Full Version in PDF/EPUB

Keywords: Linux, Apps, Applications Tutorials