Newly installed an openSUSE system on my ThinkPad X1 Tablet for daily use. BTW Windows runs as shit on it.
I noticed that the time of system was incorrect. So...I'm trying solving it by deploying NTP service and run it manually once.
當我使用 nginx 對 localhost:8080 进行反向代理时,收到 503 响应。检查 nginx error log,发现有:
[crit] 10000#0: *3 connect() to 127.0.0.1:8080 failed (13: Permission denied) while connecting to upstream, client: ***, server: ***, request: "GET /x/ HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "***"
经过检查,发现是 SELinux 策略阻止了 nginx 访问 上游接口。
Nextcloud is installed via snapcraft.
snap run nextcloud.occ config:system:get trusted_domains 1
snap run nextcloud.occ config:system:delete trusted_domains
snap run nextcloud.occ config:system:set trusted_domains 1 --value=www.example.com
Update
It seems that the linux .run file we were using in this article below is no longer provided by Bitnami. Sad...
WordPress usually requires a LAMP(Linux, Apache, MySQL, PHP) or LNMP environment, which is complicated to deploy and migrate. Bitnami provides an easier way to accomplish the jobs above.
Snap provides an approach to install Nextcloud easy and clean.
Prepare a domain name resolved to the IP address of your server.
#Debian\Ubuntu:
#As super user:
apt install snapd
snap install nextcloud
#Enter your domain into browser and you'll see the welcome page, opreate as instruction.
nextcloud.enable-https lets-encrypt
#Operate as instruction.
#Done.
To set nextcloud port different than default:
Update:
Now Jellyfin has provided a BASH script for APT user:
https://jellyfin.org/docs/general/installation/linux/#debuntu-debian-ubuntu-and-derivatives-using-apt
Overall it's quite straightforward, especially when compared with installing the LAMP environment or WordPress, thanks to the APT package manager.
For the Ubuntu server, refer: https://jellyfin.org/docs/general/installation/linux#ubuntu
sudo apt install apt-transport-https
sudo add-apt-repository universe
curl -fsSL https://repo.jellyfin.org/ubuntu/jellyfin_team.gpg.key | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/debian-jellyfin.gpg
echo "deb [arch=$( dpkg --print-architecture )] https://repo.jellyfin.org/ubuntu $( lsb_release -c -s ) main" | sudo tee /etc/apt/sources.list.d/jellyfin.list
sudo apt update
sudo apt install jellyfin
Done.