Generate a Certificate Signing Request(CSR) with OpenSSL / Linux

Commands:

References:

https://support.rackspace.com/how-to/generate-a-csr-with-openssl/

Compile FFmpeg + kxmovie (Xcode 7.3, iOS SDK 9)

Preparation

http://www.ffmpeg.org/download.html

https://github.com/yuvi/gas-preprocessor

https://github.com/kewlbear/FFmpeg-iOS-build-script

References

  • http://al1020119.github.io/blog/2016/01/11/ffmpeg-kxmovies/
  • http://www.liuxiao.org/2015/08/ios-ffmpeg-%E8%A7%86%E9%A2%91%E8%A7%A3%E7%A0%81%E5%BA%93%E7%9A%84-ios-%E7%89%88%E6%9C%AC%E7%BC%96%E8%AF%91%E5%92%8C-kxmovie-%E6%92%AD%E6%94%BE%E5%99%A8/

Convert PDF to Images in Linux via Command Line

program to convert PDF files into HTML, XML and PNG images

Installation

Debian User install pdftohtml using following command:

Red Hat / Fedora user install pdftohtml using following command:

More details:

https://manpages.debian.org/testing/poppler-utils/pdftohtml.1.en.html

Unable to start firewalld, Active: failed (Result: timeout)

Problem:

Try to start firewalld service via the following command

but get the following error after few seconds no response:

Solution:

Execute the following command to restart firewalld service

 

How to Install NGINX and PHP 7.3 with PHP-FPM on RHEL/CentOS 7

Basic Server Setup

Setup Default PHP Version

Setup NGINX and PHP-FPM

Update Configuration

Create Virtual Hosts

Setup Firewall (Optional)

SELinux Settings (Optional for SELinux enabled)

Reboot after Setup

How to Install MySQL 8.0 on RHEL/CentOS 7

Basic Server Setup

Setup MySQL 8.0

Setup Firewall (Optional)

Reboot after Setup

Optional Settings for MySQL 8.0

Disable MySQL Strict Mode

Reference: https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html

Fix MySQL Password Expired

To establish a global policy such that passwords never expire.

Update /etc/my.cnf

Reference: https://dev.mysql.com/doc/refman/8.0/en/password-management.html#password-expiration-policy

How to enlarge CentOS 7 persistent disk size in Google Cloud

Update Disk Size

Update Partition Size

Update Volumn Size

OR

References

Auto Launch Chrome in Kiosk Mode/Fullscreen Mode with specified URL on macOS Startup

Setup Steps:

  1. Start Automator.app
  2. Select Application
  3. Click Show library in the toolbar (if hidden)
  4. Add Run shell script (from the Actions/Utilities)
  5. Paste the script into the script window
  6. Test run
  7. Save somewhere (for example you can make an Applications folder in your HOME, you will get an your_name.app)
  8. Go to System Preferences -> Accounts -> Login items
  9. Add this app
  10. Try reboot

Kiosk Mode Script

Fullscreen Mode Script

References