Linux Apps Tutorials - Herong's Tutorial Examples

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

© 2009-2023 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 and SquirrelMail; 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 2023 (Version v1.02) 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

Install Apache Web Server "httpd"

Enable Remote Access to "httpd" Service

Publish Home Page index.html

"apachectl status|start|stop" Commands

Verify Apache Web Server "httpd" Environment

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

SquirrelMail - Webmail in PHP

SquirrelMail Webmail Installation on CentOS

SquirrelMail Configuration on CentOS

SquirrelMail for Mail Server on Local Network

SquirrelMail Configuration for IMAPS Port 993

Provide Self Signed Certificate to SquirrelMail

SquirrelMail Configuration for SMTPS Port 465

SquirrelMail Configuration for QQ Mail

Tools and Utilities

Install Tesseract as the OCR Engine

References

Full Version in PDF/EPUB

Keywords: Linux, Apps, Applications Tutorials