Advanced Search
Search Results
148 total results found
Configure Docker
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
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
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
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
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
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
Click Databases. Click MySQL. Click Add DB. Input database info: DB Name: db_ossn Username: db_ossn Password: *****
Installation
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
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
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
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
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
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
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
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
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
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
Read the instruction from AWS Read the instruction here. Configure FoxyProxy on your computer Read the instruction here.
Access via port forwarding
aws ssm start-session \ --target <instance-id> \ --document-name AWS-StartPortForwardingSession \ --parameters '{"portNumber":["15671"],"localPortNumber":["15671"]}'
Locate the AWS CLI Credentials File
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