Basical usage of NTP service

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.

喜报:本站升级为HUGO站

那么简记一下配置过程吧。

不论如何,请首先参阅 官方文档


我的配置思路是:

  • Run nginx service at server side, and set the web root to a certain dictionary such as /var/www/blog/.

Nginx failed while connecting to upstream

當我使用 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 访问 上游接口。

Edit trusted_domains via nextcloud.occ

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

Deploy a WordPress Blog using Bitnami


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.

Install Nextcloud Server using snapcraft with Nginx reverse proxy and HTTPS enabled

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:

Jellyfin Video Server Installation


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.