In /etc/NetworkManager/dnsmasq.d/log.dnsmasq.conf:
log-queries = extra
log-facility = /var/log/dnsmasq.logsystemctl NetworkManager restart
tail -f /var/log/syslog | ccze -A| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google] | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome] | |
| "ForceEphemeralProfiles"=dword:00000001 | |
| "SavingBrowserHistoryDisabled"=dword:00000001 | |
| "SyncDisabled"=dword:00000001 | |
| "PasswordManagerEnabled"=dword:00000000 | |
| "SigninAllowed"=dword:00000000 | |
| "HideWebStoreIcon"=dword:00000001 |
| # Client configs, 16.04, | |
| script-security 2 | |
| up /etc/openvpn/update-resolv-conf | |
| down /etc/openvpn/update-resolv-conf | |
| # network manager, 16.04, install below package to enable import openvpn client configs | |
| sudo apt install network-manager-openvpn-gnome | |
| # Client configs, 18.04/18.10 |
In /etc/NetworkManager/dnsmasq.d/log.dnsmasq.conf:
log-queries = extra
log-facility = /var/log/dnsmasq.logsystemctl NetworkManager restart
tail -f /var/log/syslog | ccze -A| # How to compile a PHP extension into a shared module for any PHP version | |
| # download and decompress required PHP version source (e.g. 5.6.30). See http://php.net/releases/ | |
| wget http://php.net/get/php-5.6.30.tar.bz2/from/this/mirror -O php-5.6.30.tar.bz2 | |
| tar xvf php-5.6.30.tar.bz2 | |
| # compile and install PHP to temporary location (e.g. ~/php-install) | |
| cd php-5.6.30/ | |
| time ./configure --prefix=${HOME}/php-install | |
| make -j 8 |
| # to disable private dns | |
| adb shell settings put global private_dns_mode off | |
| # to enable private dns with hostname (example with dns.adguard.com) | |
| adb shell settings put global private_dns_mode hostname | |
| adb shell settings put global private_dns_specifier dns.adguard.com |