ตรวจสอบ OS version
cat /etc/os-release
ขั้นตอน 1: Update เวอร์ชั่นปัจจุบันของ Ubuntu
***
sudo apt update && apt upgrade -y
ขั้นตอน 2: เตรียมสำหรับการ upgrade:
***
sudo apt install update-manager-core
ขั้นตอน 3: Run the Upgrade:
***
sudo do-release-upgrade
***
ขั้นตอน 4: Post-Upgrade Cleanup:
***
sudo apt autoremove && apt clean
ขั้นตอน 5: ตรวจสอบผลการอัพเกรด: ***
cat /etc/os-release
***
หากเกิดความผิดพลาด สามารถเปลี่ยน sources แล้ว update
First, ensure that all the contents of /etc/apt/sources.list and /etc/apt/sources.list.d/ubuntu.sources contain the word noble instead of jammy. If it contains jammy, replace that with noble.
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo sed -i 's/jammy/noble/g' /etc/apt/sources.list sudo sed -i 's/jammy/noble/g' /etc/apt/sources.list.d/ubuntu.sources
sudo apt update sudo apt full-upgrade
หลังจาก upgrade แล้ว start apache ไม่ได้ เนื่องจากมีการเปลี่ยน php version ให้สร้างลิงก์ไฟล์ของ apache config ใหม่
cd /etc/apache2/mods-enable ln -s php8.1.conf ../mods-avaliable/php8.1.conf ln -s php8.1.load ../mods-avaliable/php8.1.load
แล้ว restart apache
systemctl restart apache2
Upgrade MariaDB
apt upgrade mariadb-server apt install mariadb-server
Pure White Color
#FFFFFF
#FFFFF0
#FCFCF7
#F2F8FC
#FAF9F6
#F4F1F8
#F0F8FF
#FBF5DF
#F8F7F4
#FDFDFD
Gray Color
#000000
#171717
#0C0C0C
#0B1215
#101720
#0D1717
#020D19
#011222
เริ่มศึกษา ภาษา Go
ตารางที่เกี่ยวข้อง
- tag : taggroup => project:supportType, catId
- glcode : glcode
- project_gl : glcode
- project_dev : category
- project : supportType is value
- project_tr : formId="info", part="project",
refCode
is value
Backup table
mysqldump --user=username --password db table1 table2 > file.sql
database exclude
mysqldump --user=username --password --databases db --ignore-table=db.table1 --ignore-table=db.table2 > file.sql

เจอข่าวจาก blognone.com ว่า "กูเกิลเปิดตัว Pigweed SDK ชุดพัฒนาคอมพิวเตอร์ embedded เต็มรูปแบบ รองรับ RP2350" กะว่าจะลองดูสักหน่อย
อ่านเอกสารแนะนำได้จาก Introducing the Pigweed SDK: A modern embedded development suite
เริ่มต้นด้วยการ Clone Sense showcase repo และลองติดตั้งจาก tutorial
ไว้หาโอกาสลองใช้งานอีกที แล้วค่อยมารายงานเพิมเติม
/var/log/apache2/error.log
[Sun Jul 07 14:36:12.269017 2024] [mpm_prefork:error] [pid 3153653:tid 3153653] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
/var/log/php7.4-fpm.log
- [07-Jul-2024 00:00:01] NOTICE: error log file re-opened
- [07-Jul-2024 13:15:25] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it
nano /etc/php/7.4/fpm/pool.d/www.conf
change pm.max_children = 5 to pm.max_children = 20
nano /etc/apache2/mods-enabled/mpm_prefork.conf
<IfModule mpm_prefork_module> #StartServers 10 MinSpareServers 10 MaxSpareServers 20 #MaxRequestWorkers 150 #MaxConnectionsPerChild 0 ServerLimit 250 StartServers 10 #MinSpareThreads 75 #MaxSpareThreads 250<br /> #ThreadLimit 64 #ThreadsPerChild 32 MaxRequestWorkers 250 MaxConnectionsPerChild 10000 </IfModule>
กลับมาเริ่มเขียน IoT ใหม่อีกครั้ง หลังจากทิ้งไปนาน
NodeMcu
Additional Boards Manager URLs
Board: esp8266http://arduino.esp8266.com/stable/packageesp8266comindex.json
Select board: NodeMCU 1.0
Port: dev/cu.usbserial-21110
ESP-32
Additional Boards Manager URLs
Board: esp32 by Espressifhttps://dl.espressif.com/dl/packageesp32index.json (สำรอง)https://espressif.github.io/arduino-esp32/packageesp32index.json (สำรอง)https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/packageesp32index.json
Select board: ESP32-WROOM-DA Module or ESP32 Dev Port: dev/cu.usbserial-0001
Upload speed: 460800 (***** ระวัง ความเร็ว 921600 ใช้งานไม่ได้ อัพโหลดโปรแกรมแล้วเกิดข้อผิดพลาด *****)
Resource: