Basic Usage of the NTP Service

I recently installed openSUSE on my ThinkPad X1 Tablet for daily use. By the way, Windows runs terribly on it. I noticed that the system time was incorrect, so I tried to fix it by installing the NTP service and running a manual synchronization. ...

2023-09-19 · 1 分钟 · 96 字 · Carinnan

喜报:本站升级为 Hugo 站

那么简记一下配置过程吧。 不论如何,请首先参阅 官方文档。 我的配置思路是: Run Nginx on the server and set the web root to a directory such as /var/www/blog/. Install Hugo locally. Install rsync on both the local machine and the server. Hugo 生成静态文件后,通过 rsync 将本地 public/ 目录中的文件同步到服务器的 /var/www/blog/,即可完成网站部署。使用 SSH 的 rsync 命令如下: ...

2023-09-17 · 2 分钟 · 625 字 · Carinnan

Nginx Failed While Connecting to an Upstream

当我使用 Nginx 对 localhost:8080 进行反向代理时,收到 503 响应。检查 Nginx 错误日志,发现: 1 [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 访问上游接口所致。 ...

2023-07-25 · 1 分钟 · 128 字 · Carinnan

Edit trusted_domains via nextcloud.occ

Nextcloud is installed via snapcraft. 1 2 3 snap run nextcloud.occ config:system:get trusted_domains 1 snap run nextcloud.occ config:system:delete trusted_domains 1 snap run nextcloud.occ config:system:set trusted_domains 1 --value=www.example.com

2023-07-20 · 1 分钟 · 27 字 · Carinnan

Deploy a WordPress Blog using Bitnami

Update: It seems that the Linux .run file used below is no longer provided by Bitnami. Sad… WordPress usually requires a LAMP (Linux, Apache, MySQL, PHP) or LNMP environment, which can be complicated to deploy and migrate. Bitnami provides an easier way to handle those tasks. ...

2022-09-12 · 1 分钟 · 105 字 · Carinnan

Install Nextcloud Server with Snap, Nginx, and HTTPS

Snap provides an easy and clean way to install Nextcloud. Prepare a domain name resolved to the IP address of your server. 1 2 3 # Debian/Ubuntu, as root: apt install snapd snap install nextcloud Enter your domain in a browser, complete the setup shown on the welcome page, then enable HTTPS: ...

2022-09-09 · 2 分钟 · 230 字 · Carinnan

Jellyfin Video Server Installation

Update: Jellyfin now provides a Bash installation script for APT users: 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 an Ubuntu server, refer to https://jellyfin.org/docs/general/installation/linux#ubuntu. 1 2 3 4 5 6 7 8 9 10 11 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. ...

2022-09-08 · 2 分钟 · 307 字 · Carinnan