4 Commits 291869bea9 ... 07d50db780

Author SHA1 Message Date
  David Windham 07d50db780 migrate zeke 1 month ago
  David Windham d5b7efa393 migrate zeke 1 month ago
  David Windham ac868fc83b zeke 1 month ago
  David Windham 9a3d73ba06 fix grammer 1 month ago
5 changed files with 109 additions and 2 deletions
  1. 72 0
      docs/computers/zeke.md
  2. 1 0
      docs/index.md
  3. 2 2
      posts/2024/2024-11-20-posts.md
  4. 33 0
      posts/2025/2025-02-09-posts.md
  5. 1 0
      src/pages/index.md

+ 72 - 0
docs/computers/zeke.md

@@ -2,6 +2,78 @@
 
 ## Log
 
+## 🔥 Migration
+
+Gotta run a clean install on Ubuntu 24.04 LTS to migrate Zeke🦮. Will put this off until summer when my schedule clears up. I'll get around it by migrating to [Woozie](/docs/computers/woozie) 🐕‍🦺
+
+```sh
+# everything up to date
+sudo apt update -y && sudo apt upgrade -y && sudo apt dist-upgrade -y
+# remove unused packages and files
+sudo apt autoremove -y && sudo apt autoclean -y
+
+sudo reboot
+backup
+
+sudo systemctl | grep running
+sudo systemctl stop <application_name>
+
+# allow connections on TCP port 1022 - fallback port if the main connection drops
+sudo ufw status
+sudo ufw allow 1022/tcp
+sudo ufw reload
+
+sudo iptables -L -nv --line-numbers
+sudo iptables -A INPUT -p tcp --dport 1022 -j ACCEPT
+sudo systemctl restart iptables
+sudo systemctl restart ip6tables
+
+# run update
+sudo apt install update-manager-core
+sudo vi /etc/update-manager/release-upgrades
+# make sure Prompt=lts
+
+sudo do-release-upgrade
+
+```
+**25.02.09** - setup php8.1 since 8.2 is now the default... Ubuntu 18.04 (Bionic Beaver) is now no longer supported outside of paid extended support plans. Ondřej Surý's PHP packages are only available for supported versions of Ubuntu, so are no longer available for Ubuntu 18.04.
+
+```sh
+# Install
+sudo apt install php8.1 -y
+
+sudo apt-get install -y php8.1-cli php8.1-bcmath php8.1-common php8.1-curl php8.1-gd php8.1-imagick php8.1-intl php8.1-json php8.1-mbstring php8.1-mysql php8.1-tidy php8.1-xml php8.1-zip
+
+sudo apt install php8.1-fpm
+
+sudo a2enconf php8.1-fpm.conf
+sudo systemctl restart apache2
+
+sudo systemctl start php8.1-fpm
+sudo systemctl status php8.1-fpm
+
+# SetHandler
+sudo vi /etc/apache2/sites-enabled/etc.conf
+<FilesMatch \.php$>
+  SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost"
+</FilesMatch>
+or 
+Include /etc/apache2/conf-available/php8.1-fpm.conf
+
+apachectl configtest
+sudo systemctl restart apache2
+
+## Monit
+sudo vi /etc/monit/conf.d/apache2.conf
+  check process php-fpm with pidfile /run/php/php8.1-fpm.pid
+    start program = "/usr/sbin/service php8.1-fpm start" with timeout 60 seconds
+    stop program = "/usr/sbin/service php8.1-fpm stop"
+    if failed unixsocket /var/run/php/php8.1-fpm.sock then restart
+
+sudo monit reload
+sudo service monit status
+```
+
 **23.06.26** - added cron to clear logs weekly ( sun @5:50am )
 ```bash
 sudo crontab -e 

+ 1 - 0
docs/index.md

@@ -15,6 +15,7 @@ I use this library of documents as a quick reference to find technical answers,
 
 ## Log
 
+- 25/02/09 - 🦮 [zeke migration](/docs/computers/zeke.md)
 - 25/01/22 - 🏛️ [computers/ovid](/docs/computers/ovid.md)
 - 24/12/01 - [docs/saas/github](/docs/saas/github.md)
 - 24/11/23 - [Lisa](/docs/computers/lisa.md)

+ 2 - 2
posts/2024/2024-11-20-posts.md

@@ -1,7 +1,7 @@
 ---
 title: Beverly C. Russell Jr.
 slug: beverly-russell
-description: Today I learned about Susan Smith was born Susan Leigh Vaughan. 
+description: Today I learned that Susan Smith was born Susan Leigh Vaughan. 
 <!--- authors:
   - name: David Windham
     title: Something Else
@@ -12,7 +12,7 @@ image: https://davidawindham.com/wp-content/themes/daw/img/opengraph_image.jpg
 hide_table_of_contents: true
 ---
 
-Today I learned about Susan Smith was born Susan Leigh Vaughan.
+Today I learned that Susan Smith was born Susan Leigh Vaughan.
 
 <!--truncate-->
 

+ 33 - 0
posts/2025/2025-02-09-posts.md

@@ -0,0 +1,33 @@
+---
+title: Migrate Zeke
+slug: migrate-zeke
+description: Today I learned that custom ubuntu packages are not supported after EOL.
+<!--- authors:
+  - name: David Windham
+    title: Something Else
+    url: https://davidawindham.com
+    image_url: https://davidawindham.com/wp-content/themes/daw/img/opengraph_image.jpg -->
+tags: [server,os,tech]
+image: https://davidawindham.com/wp-content/themes/daw/img/opengraph_image.jpg
+hide_table_of_contents: true
+---
+
+Today I learned that custom Ubuntu packages are not supported after EOL ( End of Life )
+
+<!-- truncate -->
+
+Sometimes the dominoes just start falling as is especially the case with technology. I'm on a project now for a client that I've had longer than ten years. Because of that, I placed my new working directory on a subdomain I had originally setup to demo the project some ten years ago. The server it's on ( Zeke[^1] ) is still on Ubuntu 18.04 ( Bionic Beaver ) which ended standard support in April 2023[^2]. 
+
+It started with a simple need to have an upload feature in my working directory to avoid emailing around files for the project. Instead of my trusty old version, I went looking for a newfangled version on a whim hoping for some additional functionality. I found it, but I also needed the most recent release of the language to run it. No problem, I'll just add that language upgrade... 😂
+
+For now, I'll just migrate the directory to another one of my servers.[^3] I keep three or four servers running and I've kinda worked out a ten year cycle for each that kinda matches the lifespan for LTS ( Long Term Support ) releases. Folks tend to think that it's all planned obsolescence with technology, but it's pretty amazing that I've kept that same server running since 2016 without a clean migration. I'll wait until I've got some downtime later on to run it, but I'll still be naming it after our old dog[^4]. 
+
+
+<div><br/><br/></div>
+
+---
+ 
+[^1]: Zeke 🦮 [/docs/computers/zeke](/docs/computers/zeke)
+[^2]: Ubuntu Release Cycle - https://ubuntu.com/about/release-cycle
+[^3]: Woozie 🐕‍🦺 [/docs/computers/woozie](/docs/computers/woozie)
+[^4]: Zeke - https://davidawindham.com/zeke/

+ 1 - 0
src/pages/index.md

@@ -6,6 +6,7 @@ description: A place to keep notes and documentation
 # Today I Learned
 
 - **2025**
+  - 25/02/09 - [Migrate Zeke](/posts/migrate-zeke)
   - 25/01/26 - [DJI Flip](/posts/dji-flip)
   - 25/01/24 - [Scout Motors Letter](/posts/scout-motors-letter)
   - 25/01/23 - [The Barron Files](/posts/the-barron-files)