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.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
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
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