Skip to content

Instantly share code, notes, and snippets.

View finzzz's full-sized avatar

Vincent Carlos finzzz

View GitHub Profile
# please read every steps as this is not an automated script
# tested on LXC alpine 3.12
# 2.3.8 compatible only with php 7.2 (alpine 3.9)
vi /etc/apk/repositories # change to 3.9
# update and install
apk update && apk add php php-dom php-simplexml php-json php-gd php-mbstring php-xml php-tidy php-iconv php-curl php-gettext php-tokenizer php-bcmath php-intl php-session php-fpm php-pdo_mysql mariadb mariadb-client nginx iproute2
# start at boot
@finzzz
finzzz / proxy.md
Created April 7, 2024 04:02 — forked from yougg/proxy.md
complete ways to set http/socks/ssh proxy environment variables

set http or socks proxy environment variables

# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT

# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT

# set http proxy with user and password (with special characters)