ตัวอย่างไฟล์ config ที่ได้สำหรับ NAS ที่มี ram 1 GB
#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
#
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
#
# * IMPORTANT: Additional settings that can override those from this file!
# The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/
#test by mysqltuner
[mysqld]
# Skip reverse DNS lookup of clients.
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_skip_name_resolve
skip-name-resolve
# Ratio InnoDB redo log capacity / InnoDB Buffer pool size should be equal to 25%.
#https://dev.mysql.com/doc/refman/8.0/en/innodb-buffer-pool-resize.html
#of RAM but beware of setting memory usage too high
innodb_buffer_pool_size=300M
#https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_connections
max_connections=70
ลง PHP 8.3 ตัวใหม่น่าสุด ลงบนอูบุนตู 23.10 ตัวใหม่เหมือนกันแต่กลับเจอเอ้อเร้อ php8.3-intl : Depends: libicu70 (>= 70.1-1~) but it is not installable
เข้าไปที่ terminal
ไปแก้ sources.list โดยใช้คำสั่ง sudo nano /etc/apt/sources.list แล้วเพิ่มไปอีก 1 บรรทัด deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main แล้ว save โดน CTRL+X และ Y
เจอกับ error แบบนี้ One or more plugins require a higher Android SDK version. Fix this issue by adding the following to C:\Users\…\app\build.gradle: android { compileSdkVersion 33 … }
แก้โดยเปิดไฟล์ตาม path ที่เห็นแล้วก็แก้ compileSdkVersion เป็น version ที่เห็นดูก็ใช้ได้