Author: Kenn
-
How to install yay on Arch Linux
What is yay? yay (yet another yaouglt) is a most used package manager on Arch Linux that can access to AUR (Arch Linux User’s Repository). AUR is a repository which contains numorous packages that don’t be contained in a default Arch Linux repository. yay command is almost simmilor to the pacman command, Arch Linux default…
-
How to setup MariaDB server on Arch Linux
What is MariaDB? MariaDB is a one of the most major Database server that is developed on open source project. This is a fork of MySQL after MySQL have been acquished by Oracle. The setup of MariaDB in Arch Linux is instant and easy. Install MariaDB server Make data directory and configure it Add the…
-
About sudo command
What is sudo command? The sudo (Super User Do) command lets general users to access ristricted files that is ordinary can only be accessed by an administrator user. This saves the time to be an administrator user on the operations of the system configurations. On the other hand, sudo command gives you almost same privileges…
-
How to build a MDRAID on Linux
What is RAID? RAID is “redundant array of inexpensive disks“. This is a technology that combines multiple physical disk drive components into one or more logical units. This is used for mainly increase fault tolerancy of the disk drive. RAID levels RAID0 (Striping) RAID0 strips the data to all drives for increasing the performance of the drive.…
-
Setup Neovim on Manjaro Linux
Install Neovim First of all, install neovim Install Languages Providers Install Programing Languages Install Python provider Install Ruby provider Edit .profile in home directory and add a gem path. Reload .bash_profile file. Install Node.js provider Edit Environment Variables for Perl provider Edit .profile on your home directory. Reload .profile file. Install Perl provider Install Clipboard…
-
Setup In-memory Cache on Nextcloud
Setup In-memory cache on Nextcloud You shoud setup memory cache on Nextcloud for performance. Now I choosed APCu for local memory cache, Redis for distributed and locking memory cache. Enable memory cache on Nextcloud Edit nextcloud config.php file. Restart Nginx
-
Install Memory Cache
To enhance performance of Nextcloud, Install memory cache. Redis is a key-value memory cache. Install Redis Configure Redis Enable socket communications to Redis for perfomance. Check socket communications If this command returns OK, the socket communication is established properly. Restart and Enable Redis
-
HTTP/2
Enable HTTP/2 To enable HTTP/2 connections, edit nginx site speciffic files. Add “http2” word at the end of listen sentence Then restart Nginx.
-
SSL with Let’s Encrypt
Install Certbot You can use free SSL certification by Let’s Encrypt. First, you should install certbot to use Let’s Encrypt. Certificate sites To certificate domain www.lama-lab.mydns.jp and nc.lama-lab.mydns.jp, type Configure Firewall Scheduling Certification renew The certification will be expired every 3 months. So you should renew the certification automatically. Change the permission of the script.…
-
Configure Nginx for Nextcloud
Deploy config files Nextcloud config file Site specific config file Enable the Web site