[Amateur remarks] Raspberry Pi 3, Wordpress vs Raspberry Pi 3, python, Django

at first···

I have been working as Infraen Junior for over 20 years. It is a remarks when I built my own web server with Raspberry Pi.

*** HomeLan Environmental Equipment *** Router: YAMAHA NVR500 Server 1: Raspberry Pi model 3 Server 2: Raspberry Pi model 3B DNS: Netvolante DNS service XXXXXX.netvolante.jp スライド1.jpg

1.Raspberry Pi model 3、WordPress *** About server construction *** I built it with reference to various sites.

*** Operating status *** It has been in operation since May 2016. Built with WordPress. Almost every day, I post images and videos from my iPhone using the WordPress app. We updated the system in November 2020 and set a self-certificate. Posting file (using iPhone 12 pro Max camera) Image file jpg Approximately 5MB Video file mov about 20MB Shooting time about 20 seconds

*** About the system overview *** Confirmation date: 2020/11/3 Linux raspberrypi 4.9.35-v7 Updated from Wordpress 4.8 to 5.5.3-ja Updated from PHP 5.6.40-0 + deb8u12 to PHP 7.4.11. mysql Ver 15.1 Distrib 10.1.47-MariaDB Apache/2.4.25 (Raspbian) SSH tcp port 443

*** System running memory capacity *** pi@raspberrypi:/ $ free total used free shared buff/cache available Mem: 945512 204728 382040 26192 358744 654512 Swap: 0 0 0

*** SD card capacity: 64GB (from May 2016) *** pi@raspberrypi:/ $ df Filesys 1K-block used available used% mount position /dev/root 59460156 20191148 36825620 36% / devtmpfs 468148 0 468148 0% /dev tmpfs 472756 0 472756 0% /dev/shm tmpfs 472756 6284 466472 2% /run tmpfs 5120 4 5116 1% /run/lock tmpfs 472756 0 472756 0% /sys/fs/cgroup /dev/mmcblk0p1 61384 22256 39128 37% /boot tmpfs 94548 0 94548 0% /run/user/1000

2.Raspberry Pi model 3B, python3.8.6, etc.

About server construction (referred to the following site)

*** Referenced site *** Getting Started with Raspberry Pi on Mac https://qiita.com/shippokun/items/9070fc58f69d8c063e44

*** OS is from mirror site *** https://www.raspbian.org/RaspbianMirrors OS: 2020-08-20-raspios-buster-arm64.img → Use 64bit

*** Referenced site *** I tried to implement the login function of https compatible and Django + uWSGI + nginx application with Sakura's VPS https://qiita.com/ezmscrap/items/26b1897923db3665ac1c

*** Referenced site *** "Super Primer" The first web application made with Django Part1 (Python installation) https://note.com/takuya814/n/n5c156740b4ef

*** Referenced site *** Migrating from Django SQLite 3 to MySQL https://qiita.com/ta2mi/items/0547de41d021d67ac3dc

*** Remarks *** Set the OS to 2020-08-20-raspios-buster-arm64.img (64-bit) and troubles when building the system There was none. I confirmed that the image file can be posted from iPhone and Safari with the built application.

*** About the system overview *** Confirmation date: 2020/11/18 Linux raspberrypi3b 5.4.72-v8+ #1356 SMP PREEMPT Thu Oct 22 13:58:52 BST 2020 aarch64 GNU/Linux PHP 7.3.19-1~deb10u1 (cli) Python 3.8.6 mysql Ver 15.1 Distrib 10.3.25-MariaDB nginx/1.14.2 Django version 3.1.3 SSH tcp port 8443

*** System running memory capacity *** pi@raspberrypi3b:~$ free total used free shared buff/cache available Mem: 934396 317252 319736 6620 297408 552316 Swap: 102396 9472 92924

*** SD card 128GB: used capacity *** pi@raspberrypi3b:~$ df Filesys 1K-block used available used% mount position /dev/root 123588468 4192636 114327400 4% / devtmpfs 335612 0 335612 0% /dev tmpfs 467196 0 467196 0% /dev/shm tmpfs 467196 12104 455092 3% /run tmpfs 5120 4 5116 1% /run/lock tmpfs 467196 0 467196 0% /sys/fs/cgroup /dev/mmcblk0p1 258095 56073 202023 22% /boot tmpfs 93436 0 93436 0% /run/user/1000

Postscript

I built the server with reference to each site. I was interested in python and decided to build a blog site, but this time I built it for verification and set a self-signed certificate. I think you can expect a lot of additional functions etc. for building with python. Of course, it takes more time than WordPress, which has been running for a long time. Considering the post-construction, when it comes to building a blog site at work, it will be WordPress from the aspect of operation management. I've been doing infrastructure related work, and it was all about building servers on-premises, but I'm interested in building servers on the web such as AWS, and I'm interested in building servers on the web such as AWS. I was able to build it with. I think that this site is often useful for acquiring various information so as not to be swept away by the times.

Recommended Posts

[Amateur remarks] Raspberry Pi 3, Wordpress vs Raspberry Pi 3, python, Django
Raspberry Pi + Python + OpenGL memo
raspberry pi 1 model b, python
Use vl53l0x with Raspberry Pi (python)
[Raspberry Pi] Changed Python default to Python3
Getting Started with Heroku-Viewing Hello World in Python Django with Raspberry PI 3
Detect "brightness" using python on Raspberry Pi 3!
Raspberry Pi Security Infrared Camera (Python Edition)
Adafruit Python BluefruitLE works on Raspberry Pi.
Run servomotor on Raspberry Pi 3 using python
Detect temperature using python on Raspberry Pi 3!
Working with GPS on Raspberry Pi 3 Python
Discord bot with python raspberry pi zero with [Notes]
Build a Django environment on Raspberry Pi (MySQL)
Python web framework Django vs Pyramid vs Flask December 2015
How to use Raspberry Pi pie camera Python
I tried L-Chika with Raspberry Pi 4 (Python edition)
Detect magnet switches using python on Raspberry Pi 3!
Get CPU information of Raspberry Pi with Python
Make DHT11 available on Raspberry Pi + python (memo)
Sound the buzzer using python on Raspberry Pi 3!
Serial communication between Raspberry pi --Arduino Uno (Python)
Connect to MySQL with Python on Raspberry Pi
Build a Python development environment on Raspberry Pi
GPS tracking with Raspberry Pi 4B + BU-353S4 (Python)
Measure CPU temperature of Raspberry Pi with Python
Python Django Tutorial (2)
Raspberry Pi backup
Python Django Tutorial (8)
Python Django Tutorial (6)
Python Django Tutorial (7)
Python Django Tutorial (1)
Python Django tutorial tutorial
Python Django Tutorial (3)
Python Django Tutorial (4)
From setting up Raspberry Pi to installing Python environment
How to use the Raspberry Pi relay module Python
Try debugging Python on Raspberry Pi with Visual Studio.
Ubuntu 20.04 on raspberry pi 4 with OpenCV and use with python
Install pyenv on Raspberry Pi and version control Python
Output to "7-segment LED" using python on Raspberry Pi 3!
Display USB camera video with Python OpenCV with Raspberry Pi
Let's operate GPIO of Raspberry Pi with Python CGI
Raspberry Pi with Elixir, which is cooler than Python