Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

148 total results found

Configure Docker

Run BookStack on Local Computer using D...

networks: learning: driver: bridge services: bookstack: image: lscr.io/linuxserver/bookstack:latest container_name: bookstack environment: - PUID=1000 - PGID=1000 - TZ=Asia/Tokyo - DB_HOST=mysql - DB_PORT=3306...

Queries to Check System

Oracle Database

Check database version: SELECT * FROM v$version; Check directories: SELECT file_name, tablespace_name FROM dba_data_files; Check total currently data usage size: SELECT SUM(bytes) / 1024 / 1024 AS size_in_mb FROM dba_data_files; Check total currently temp ...

Source Installation

Build Social Media Use OSSN

Preparation Add subdomain for your site on your zone management. Create a new site on Website on aaPanel. Installation Open Terminal on aaPanel Clone the project from Github: git clone https://github.com/opensource-socialnetwork/opensource-socialnetwork.gi...

Installation

aaPanel Cookbook

I use DigitalOcean on this demo. Click Access On Droplet Console, click Launch Droplet Console. Upgrade you system by this command: sudo apt update && sudo apt upgrade -y Install wget for downloading. sudo apt install wget curl -y Download the installa...

Requirement

Build Social Media Use OSSN

You will see this page if your installation is succeeded. You need to fix unavailable things that is described on requirement. Install PHP Extensions Click PHP app. Click Install extensions. Find fileinfo, mbstring and exif and click Install. After that inst...

System Installation

Build Social Media Use OSSN

After all requirement passed, follow these steps: Click Next. Read the License Agreement and click Next. Input database information from created MySQL database. Create folder ossn_data with same level with the root folder. chmod 777 ossn_data/ chown www-data...

Create Database

Build Social Media Use OSSN

Click Databases. Click MySQL. Click Add DB. Input database info: DB Name: db_ossn Username: db_ossn Password: *****

Installation

Build Social Network with Mastodon

Docker Compose services: db: image: postgres:15 container_name: mastodon_db environment: POSTGRES_USER: mastodon POSTGRES_PASSWORD: mastodon_password POSTGRES_DB: mastodon_production volumes: - mastodon_postgres:/var/l...

Installation Using Kubeadm for a Single-Node Kubernetes Cluster

Build Kubernetes with a Single Node

Kubeadm is a tool provided by Kubernetes to create and manage clusters. You can use Kubeadm to set up a single-node Kubernetes cluster on a single server (master node) and run your workloads there. Step 1: Install Kubernetes Components You will need to install...

Install MicroK8s on Linux

Single node Kubernetes with MicroK8s

MicroK8s installs a single node, CNCF-certified Kubernetes cluster in seconds. MicroK8s is a lightweight, zero-ops Kubernetes for Linux, Windows and macOS. A single command installs all upstream Kubernetes services and their dependencies. With support for x86 ...

Multi-node, highly available Kubernetes with MicroK8s

Single node Kubernetes with MicroK8s

To create a cluster out of two or more already-running MicroK8s instances, use the microk8s add-node command. As of MicroK8s 1.19, clustering of three or more nodes will automatically enable high availability. The MicroK8s instance on which the command is run ...

Multi-node Clusters

Single node Kubernetes with MicroK8s

Charmed Kubernetes installs CNCF-certified Kubernetes clusters across clouds Charmed Kubernetes is a fully automated, model-driven approach to installing and managing Kubernetes from bare-metal to the cloud. Build your Kubernetes cloud from the ground up, inte...

Run Kubernetes Command via Local Computer

Kubernetes on DigitalOcean

Prepare Environment sudo snap install kubectl --classic sudo snap install helm --classic Download Kubernetes config file from DigitalOcean and export it into KUBECONFIG. export KUBECONFIG=/www/wwwroot/k8s/kube-config.yaml Install Cert-Manager Rancher require...

Install Rancher

Kubernetes on DigitalOcean

Choose a namespace for Rancher (commonly cattle-system): kubectl create namespace cattle-system Install Rancher with Helm: helm install rancher rancher-latest/rancher \ --namespace cattle-system \ --set hostname=<YOUR_RANCHER_DOMAIN>

Process

Linux Commands

Sort process by memory usage ps aux --sort=-%mem | head -n 30 Sort process by CPU usage ps aux --sort=-%cpu | head -n 30

Administration Commands

MySQL Cookbook

Grant database privileges for a user GRANT ALL ON example_database.* TO 'example_user'@'%' WITH GRANT OPTION; Disable primary key requirement SET GLOBAL sql_require_primary_key = 0; Error debugging: ERROR 1227 (42000): Access denied; you need (at least one o...

Install MySQL Client Tools

MySQL Cookbook

For Ubuntu/Debian sudo apt update sudo apt install mysql-client -y Error debugging E: Package 'mysql-client' has no installation candidate Solution: sudo apt update sudo apt install maria-client -y

Accessing the Amazon MQ broker web console without public accessibility

Amazon MQ

Read the instruction from AWS Read the instruction here. Configure FoxyProxy on your computer Read the instruction here.

Access via port forwarding

Amazon MQ

aws ssm start-session \ --target <instance-id> \ --document-name AWS-StartPortForwardingSession \ --parameters '{"portNumber":["15671"],"localPortNumber":["15671"]}'

Locate the AWS CLI Credentials File

AWS SDK

View Credentials: Open a terminal or command prompt. Run the following command: cat ~/.aws/credentials This will display your configured access keys. View Configuration: To check the AWS region and other configuration details: cat ~/.aws/config