# 大數據工作日誌 [toc] ### convert * convert -list font 列出所有的字型 * convert -pointsize 56 -font 華康魏碑體 -gravity south -stroke blue -strokewidth 4 -annotate +15+15 "濟公活佛慈訓" -stroke none -fill yellow -annotate +15+15 "濟公活佛慈訓" 317678.jpg 濟公活佛慈訓.jpg ### firewalld * 因為PG無法連線 經查詢後 得知VM上啟動了firewalld 故需要開通port 加入下列```firewall-cmd --zone=public --add-port=5437/tcp``` ### 在VM上的PG資料庫 * /usr/pgsql-15/bin/postgres -D /mnt/bgcdb/pg15 -p 5437 * /usr/pgsql-12/bin/postgres -D /mnt/bgcdb/PG12 -p 5433 * /usr/pgsql-13/bin/postgres -D /mnt/bgcdb/PG13 -p 5434 ### 在VM上的資料庫 * su - postgres -c '/usr/pgsql-11/bin/pg_ctl -D /mnt/bgcdb/pgsql/11/data reload'
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up