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@VDCPLXAPMAP01 nginx]# cat /etc/*release | |
NAME="Red Hat Enterprise Linux Server" | |
VERSION="7.8 (Maipo)" | |
ID="rhel" | |
ID_LIKE="fedora" | |
VARIANT="Server" | |
VARIANT_ID="server" | |
VERSION_ID="7.8" | |
PRETTY_NAME="Red Hat Enterprise Linux" | |
ANSI_COLOR="0;31" |
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
<VirtualHost *:80> | |
DocumentRoot "/var/www/wordpress" | |
ServerName kampus.ac.id | |
ServerAlias www.kampus.ac.id | |
DirectoryIndex index.php index.html | |
Redirect / https://kampus.ac.id | |
<Directory "/var/www/wordpress"> | |
Options Indexes FollowSymLinks | |
AllowOverride All |
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/bin/env bash | |
set -x | |
if [ "$EUID" -ne 0 ]; then | |
echo "Please run as root" | |
exit | |
fi | |
zypper ref |
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
[unix_http_server] | |
file=/run/supervisord.sock ; the path to the socket file | |
;chmod=0700 ; socket file mode (default 0700) | |
;chown=nobody:nogroup ; socket file uid:gid owner | |
;username=user ; default is no username (open server) | |
;password=123 ; default is no password (open server) | |
;[inet_http_server] ; inet (TCP) server disabled by default | |
;port=127.0.0.1:9001 ; ip_address:port specifier, *:port for all iface |
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 node:12-alpine as build | |
# create app Directory | |
RUN mkdir /app | |
WORKDIR /app | |
ENV NUXT_TELEMETRY_DISABLED 1 | |
ENV NODE_OPTIONS "--max_old_space_size=4096" | |
COPY . /app |
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
resource "google_compute_firewall" "vpc_firewall" { | |
name = "test-firewall" | |
network = google_compute_network.vpc_network.name | |
allow { | |
protocol = "icmp" | |
} | |
allow { | |
protocol = "tcp" |
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
cat list-migrasi-domain.txt | |
domain-lama1.com --> domain-baru1.com | |
domain-lama2.com --> domain-baru2.com | |
domain-lama3.com --> domain-baru3.com | |
domain-lama4.com --> domain-baru4.com | |
paste -d ' ' `pwd`/list-migrasi-domain.txt | while read lama skip baru; do echo "server {\n\t server_name $lama;\n\t rewrite ^/(.*)\$ http://$baru/\$1 permanent;\n}" >> direktif-baru.txt; done | |
cat direktif-baru.txt |
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
SSID : Nacita_Labs | |
password : qwertyuop | |
https://portal.cloudkilat.com | |
CKNACITA - [nama]-node1 | |
CKNACITA50 - [nama]-node2 | |
https://s.id/pinehead |
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
# materi presentasi | |
- virtualization | |
- contianer | |
- virt vs container | |
- what & why docker? | |
https://docs.google.com/presentation/d/1pE-7hoURxkZ2DSlFc-ULLkTsU4MmcvEyZruyCOVIRxE/edit?usp=sharing | |
# buat akun docker hub | |
https://hub.docker.com/ |
NewerOlder