apt install bind9
Note: i have the IP : 192.168.1.109 by DHCP
edit the network settings file
| apt install jpegoptim pngquant optipng |
| #!/bin/sh | |
| MYSQLADMIN_CFG="/etc/mysql/mariadb.conf.d/90-mysqladmin.cnf" | |
| # generate password | |
| PASS=$(perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'); | |
| # adjust /etc/mysql/debian.cnf (used as defaults file by system scripts) | |
| sed -i "s/^password =.*$/password = ${PASS}/" /etc/mysql/debian.cnf | |
| sed -i "s/^user =.*$/user = debian-sys-maint/" /etc/mysql/debian.cnf | |
| # create config file for mysqladmin itself (maybe not needed) | |
| umask 066 | |
| cat > ${MYSQLADMIN_CFG} <<EOF |
| ro.secure=0 | |
| ro.allow.mock.location=1 | |
| ro.debuggable=1 | |
| persist.sys.usb.config=adb | |
| ro.adb.secure=0 |
| #!/bin/bash | |
| # MySQL info | |
| DB_USER='your-db-user' | |
| DB_PSWD='your-db-password' | |
| DB_HOST='localhost' | |
| # Backup path, no trailing slash! | |
| BACKUP_PATH='/backup/sql/path' |
Get FetchMacOS and place it in a known folder.
Open Command Prompt and use cd to go to the known folder.
Run fetch-macos.exe -p PRODUCTID -o SharedSupport where PRODUCTID is the macOS package you want to download.
InstallESDDmg.pkg inside the SharedSupport folder to InstallESD.dmg| === CONSOLE FALLBACK: SERIAL PORT, SINCE NO HDMI SUPPORT IS PROVIDED IN THIS BUILD === | |
| Tinkerboard Kernel console serial port: UART2. | |
| Using: Raspberry Pi as a console client. Disable local console so it can be used by minicom: | |
| # systemctl mask serial-getty@ttyAMA0.service | |
| ==PINOUTS== | |
| RASPI: PIN 6 (GND, GREEN), PIN 8 (TX, WHITE), PIN 10 (RX, BLUE) | |
| TINKERBOARD: ====== Uses UART2 and NOT UART0!!!!!!!! ====== | |
| PIN30 (GND, GREEN), PIN 32 (TX, BLUE), PIN 33 (RX, WHITE) |
| A00M00-R0MZ05-YMNH13-15YM73-XMQB25 |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.