macOS wine 32/64-bit Setup
Run 32-bit apps on macOS Catalina 10.15+.
Installation
Dependencies
First install homebrew brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# vim:fileencoding=utf-8:foldmethod=marker | |
#: Fonts {{{ | |
#: kitty has very powerful font management. You can configure | |
#: individual font faces and even specify special fonts for particular | |
#: characters. | |
font_family Hack Nerd Font Mono | |
# font_family FiraCode Nerd Font Mono Retina |
[user] | |
name = *** | |
email = *** | |
signingkey = *** | |
[gpg] | |
program = /usr/local/bin/gpg | |
[core] | |
excludesfile = ~/.gitignore_global | |
pager = delta | |
[diff] |
# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Import additional configuration files | |
# | |
# Imports are loaded in order, skipping all missing files, with the importing | |
# file being loaded last. If a field is already present in a previous import, it | |
# will be replaced. | |
# | |
# All imports must either be absolute paths starting with `/`, or paths relative | |
# to the user's home directory starting with `~/`. |
Run 32-bit apps on macOS Catalina 10.15+.
First install homebrew brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Our db is hosted on Amazon. Our web server can connect to the db. Connections to the db are not allowed outside of the web server.
This creates a tunnel from my local machine to the web server:
ssh -N -L 3307:my-rds-db.us-east-1.rds.amazonaws.com:3306 ec2-my-web-server.compute-1.amazonaws.com
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USBDrive --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction
$ sudo vi /etc/exports
/Volumes/folder1 -maproot=nobodynfs auto,user,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
#!/bin/bash | |
# Install Xcode Command-Line Tools first (required) | |
xcode-select --install | |
# Check PHP version | |
PHP_VER=$(php -v | head -1 | awk '{ print $2 }') | |
# Extensions directory (default: empty string) | |
EXT_DIR="" |
# taken from http://coalgirls.wakku.to/faq/playback/compiling-mpv-on-mac-os-x | |
# install homebrew | |
# setup | |
sudo easy_install docutils | |
export LC_ALL=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
# install python3 |
--- php.ini.default 2016-09-07 01:39:57.000000000 +0200 | |
+++ php.ini 2016-10-27 09:37:27.000000000 +0200 | |
@@ -446,7 +446,7 @@ | |
; Development Value: E_ALL | |
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT | |
; http://php.net/error-reporting | |
-error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT | |
+error_reporting = E_ALL | |
; This directive controls whether or not and where PHP will output errors, |