Ubuntu upgrade OS version
ตรวจสอบ 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
Relate topics
- Ubuntu: จำกัดการเข้าถึง folder ของบาง user
- Ubuntu Server Installation
- Ubuntu Web Server Setup
- [Geek] Linux basic comamnds
- Server Setup : การกำหนดสิทธิ์ Root ให้กับ user บน Ubuntu 14.04
- Setup FTP Server under Ubuntu/Debian
- ย้ายบ้านให้ MySql
- ใครกิน I/O ของข้า
- Dabian bandwidth monitoring
- Install PhoneGap on Ubuntu
- Disable USB keyboard wakeup
- อีกครั้ง - Make Ubuntu 16.04 to be a web server (LAMP)
- Mouse/Keyboard ชุดเดียว กับ คอมทุกเครื่องบนโต๊ะทำงาน
- VirtualBox เข้าไม่ได้ หลังอัพเดท kernel
- Change GRUB
- Disabled internal keyboard
- Ubuntu on Nexus 7
- NexPhone - โทรศัพท์จาก Ubuntu
- ลง Ubuntu ในเครื่องเก่า - ไม่มี PAE
- Box.com - Ubuntu