# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 deb https://mirror.nju.edu.cn/debian/ buster main contrib non-free # deb-src https://mirror.nju.edu.cn/debian/ buster main contrib non-free
deb https://mirror.nju.edu.cn/debian/ buster-updates main contrib non-free # deb-src https://mirror.nju.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirror.nju.edu.cn/debian/ buster-backports main contrib non-free # deb-src https://mirror.nju.edu.cn/debian/ buster-backports main contrib non-free
# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换 # deb https://mirror.nju.edu.cn/debian-security bullseye-security main contrib non-free # # deb-src https://mirror.nju.edu.cn/debian-security bullseye-security main contrib non-free
#deb https://security.debian.org/debian-security bullseye-security main contrib non-free # deb-src https://security.debian.org/debian-security buster-security main contrib non-free
REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] "Arial"="simsun" "Arial CE,238"="simsun" "Arial CYR,204"="simsun" "Arial Greek,161"="simsun" "Arial TUR,162"="simsun" "Courier New"="simsun" "Courier New CE,238"="simsun" "Courier New CYR,204"="simsun" "Courier New Greek,161"="simsun" "Courier New TUR,162"="simsun" "FixedSys"="simsun" "Helv"="simsun" "Helvetica"="simsun" "MS Sans Serif"="simsun" "MS Shell Dlg"="simsun" "MS Shell Dlg 2"="simsun" "System"="simsun" "Tahoma"="simsun" "Times"="simsun" "Times New Roman CE,238"="simsun" "Times New Roman CYR,204"="simsun" "Times New Roman Greek,161"="simsun" "Times New Roman TUR,162"="simsun" "Tms Rmn"="simsun"
An OpenWrt sysupgrade will replace the entire current OpenWrt installation with a new version. This includes the Linux kernel and SquashFS/ext4/ubifs/JFFS2/other OS partition/s. This is NOT the same as a first time installation (factory).
Sysupgrade via LuCI or CLI works by optionally saving specified configuration files, wiping the entire file system, installing the new version of OpenWrt and then restoring back the saved configuration files. This means that any parts of the file system that are not specifically saved will be lost.
In particular, any manually installed software packages you may have installed after the initial OpenWrt installation have to be reinstalled after an OpenWrt upgrade. That way everything will match, e.g. the updated Linux kernel and any installed kernel modules.
Any configuration files or data files placed in locations not specifically listed as being preserved below will also be lost in an OpenWrt upgrade. Be sure to check any files you have added or customized from a default OpenWrt install to back up these items before an upgrade.
IMPORTANT: Most of the upgrade procedure can be automated by using the attended.sysupgrade service. Attended sysupgrade will request the build of custom image including all your currently installed packages from a central server, download it when ready, and install it keeping your settings. The service can be accessed from LuCI by installing the luci-app-attendedsysupgrade package, or from the shell with the auc package. Note that you can upgrade systems using attended sysupgrade via LuCI even if they are not connected to the internet, as long as your browser has internet access.
方式一
web页面升级 (LuCI)
LuCI web interface System → Backup / Flash Firmware → “Flash new firmware image”
CREATEUSER $username WITH PASSWORD '$password'; CREATE DATABASE $dbname OWNER $username;
1.9 配置远程访问
编辑: vim /usr/local/pgsql-16.4/data/pg_hba.conf ipv4 行添加如下: host all all 0.0.0.0/0 md5 编辑: vim /usr/local/pgsql-16.4/data/postgres.conf 添加: listen_addresses = '*'
tar -xzvf mysql_fdw-REL-2_9_2.tar.gz && cd mysql_fdw-REL-2_9_2 make USE_PGXS=1 make USE_PGXS=1 install
创建扩展
postgres=# postgres=# create extension mysql_fdw; ERROR: failed to load the mysql query: libmysqlclient.so: cannot open shared object file: No such file or directory HINT: Export LD_LIBRARY_PATH to locate the library. postgres=#