This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[prodm] | |
listen = /dev/shm/php-cgi-prodm.sock | |
listen.backlog = -1 | |
listen.allowed_clients = 127.0.0.1 | |
listen.owner = prodm | |
listen.group = prodm | |
listen.mode = 0666 | |
user = prodm | |
group = prodm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System: hostname: GNU/Linux | |
OS: GNU/Linux -- 5.15.102-1-pve -- #1 SMP PVE 5.15.102-1 (2023-03-14T13:48Z) | |
Machine: x86_64 (unknown) | |
Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968") | |
CPU 0: AMD Ryzen 7 5800X 8-Core Processor (7599.7 bogomips) | |
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET | |
CPU 1: AMD Ryzen 7 5800X 8-Core Processor (7599.7 bogomips) | |
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET | |
CPU 2: AMD Ryzen 7 5800X 8-Core Processor (7599.7 bogomips) | |
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================================================== | |
BYTE UNIX Benchmarks (Version 5.1.3) | |
System: iZk1a9fyrlzo1y8y8565ofZ: GNU/Linux | |
OS: GNU/Linux -- 3.10.0-957.21.3.el7.x86_64 -- #1 SMP Tue Jun 18 16:35:19 UTC 2019 | |
Machine: x86_64 (x86_64) | |
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") | |
CPU 0: Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz (5000.0 bogomips) | |
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET | |
CPU 1: Intel(R) Xeon(R) Platinum 8269CY CPU @ 2.50GHz (5000.0 bogomips) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## upgrade automatically /root/.acme.sh/ domain config on Le_API from https://acme-v01.api.letsencrypt.org/directory to https://acme-v02.api.letsencrypt.org/directory | |
## blog.dgprasetya.com | |
##upgrade acme.sh first | |
"/root/.acme.sh"/acme.sh --upgrade | |
cd /root/.acme.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream app_backend { | |
server app-spe-a:80; | |
server app-spe-b:80; | |
server app-spe-c:80; | |
} | |
server { | |
listen 80; | |
server_name dp190200-b.vm; | |
location / { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ecoll-v2-mysql-master-01 ~]# umount /home/ | |
[root@ecoll-v2-mysql-master-01 ~]# df -h | |
Filesystem Size Used Avail Use% Mounted on | |
devtmpfs 12G 0 12G 0% /dev | |
tmpfs 12G 0 12G 0% /dev/shm | |
tmpfs 12G 20M 12G 1% /run | |
tmpfs 12G 0 12G 0% /sys/fs/cgroup | |
/dev/mapper/centos-root 50G 45G 5.6G 89% / | |
/dev/sda1 1014M 181M 834M 18% /boot | |
tmpfs 2.3G 0 2.3G 0% /run/user/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.5" | |
## SpeAc2021 | |
services: | |
dbmongo-dian-config: | |
image: mongo:latest | |
container_name: dbmongo-dian | |
ports: | |
- "27017:27017" | |
volumes: | |
- dbmongo-vol-config:/data/db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.2-apache-stretch | |
LABEL maintener="dian prasetya <dian.prasetya@spesolution.com>" | |
ENV APP_ENV=dev | |
ENV DB_MYSQL_HOST=localhost | |
ENV DB_MYSQL_PORT=3306 | |
ENV DB_MYSQL_DATABASE=spe_acc | |
ENV DB_MYSQL_USERNAME=user | |
ENV DB_MYSQL_PASSWORD=password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/bash | |
#simply 2fa tools cli interface | |
## run with gnu watch -n 1 to get updates otp | |
## watch -n 1 /usr/local/bin/gauth.sh | |
##Every 1.0s: /usr/local/bin/gauth.sh whitebsd: Sat Feb 6 19:27:36 2021 | |
# 19:27:36 | |
# | |
# Google : 141325 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```Benchmark Run: Fri Jun 19 2020 18:21:25 - 18:49:14 | |
8 CPUs in system; running 8 parallel copies of tests | |
Dhrystone 2 using register variables 308526204.0 lps (10.0 s, 7 samples) | |
Double-Precision Whetstone 70274.1 MWIPS (9.0 s, 7 samples) | |
Execl Throughput 32532.2 lps (30.0 s, 2 samples) | |
File Copy 1024 bufsize 2000 maxblocks 1560443.5 KBps (30.0 s, 2 samples) | |
File Copy 256 bufsize 500 maxblocks 397023.3 KBps (30.0 s, 2 samples) | |
File Copy 4096 bufsize 8000 maxblocks 4719006.1 KBps (30.0 s, 2 samples) | |
Pipe Throughput 5647499.1 lps (10.0 s, 7 samples) |
NewerOlder