2021年1月26日 星期二

Jitsi Meet

 

2022.12.12 更新

 參考 https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart

選用 ubuntu 20.04 LTS 版本來安裝。

 

=============================

作業系統最好使用 ubuntu LTS 版本。

參考以下方式安裝~ 

https://www.tecmint.com/install-jitsi-meet-on-debian-and-ubuntu/

 

2020年7月18日 星期六

Open Conference Systems

做個記錄

底下這個網站
https://pkp.sfu.ca/

提供以下五套系統可以使用, 雖然有些年頭沒有更新了。
Open Journal Systems
Open Monograph Press
Open Preprint Systems
Open Conference Systems
Open Harvester Systems

2020年6月13日 星期六

ubuntu 18.04 / Linux mint 19.3 setting trackpoint acceleration


Disabling the acceleration profile helps:
xinput --set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Profile Enabled' 0, 1

Then you might want to increase your pointer's speed:
xinput --set-prop 'TPPS/2 IBM TrackPoint' 'libinput Accel Speed' 1

Since the next startup the acceleration profile will be enabled again by default you can create a script that includes the above commands and is run automatically after restart.

ref: https://askubuntu.com/questions/1029119/erratic-behaviour-of-trackpoint-on-thinkpad-t420s-ubuntu-18-04

2020年6月12日 星期五

ubuntu 20.04 trackpoint setting


確認一下系統的配置,找到 TrackPoint 的項目,底下就要依該項目來查詢

xinput --list

 列出該 TrackPoint 項目的屬性

xinput --list-props "ETPS/2 Elantech TrackPoint"

 

設定 該項目的屬性值

 xinput --set-prop "ETPS/2 Elantech TrackPoint" "libinput Accel Speed" 1.0

ref: https://wiki.archlinux.org/index.php/TrackPoint

ubuntu 20.04 install LAMP

sudo apt update
sudo apt upgrade
sudo apt install apache2 apache2-utils mariadb-server mariadb-client php7.4 libapache2-mod-php7.4 php7.4-mysql php-common php7.4-zip php7.4-cli php7.4-common php7.4-json php7.4-gmp php7.4-bcmath php-imagick php7.4-intl php7.4-opcache php7.4-readline phpmyadmin



sudo systemctl enable apache2
apache2 -v

sudo systemctl enable mariadb
sudo mysql_secure_installation
mariadb --version
sudo mysql -uroot -p
grant all on *.* to root@localhost identified by '123456';

sudo a2enmod php7.4
sudo systemctl restart apache2
php --version


sudo ufw status
sudo ufw default allow outgoing
sudo ufw default deny incoming
;sudo ufw allow ssh
sudo ufw enable

2019年12月19日 星期四

設定瀏覽器直接列印到預設印表機

分為 Google Chrome 和 Firefox 二種不同的處理方式。

Google Chrome Kisok Print 模式:
  1. 先關閉 chrome ,連背景執行的也要關閉。
  2. 在 chrome 圖示按「右鍵 / 內容」。
  3. 在執行程式部份,輸入為「 chrome  --kiosk-printing 」,就可以做到預設列印的動作。
  4. 附註,若輸入為「 chrome --kiosk 」,則 chrome 執行時就會以全螢幕方式執行。

Firefox Silent 模式:
  1. 開啟 firefox 後,在網址列輸入「 about:config 」。
  2. 按 確認 。
  3. 若是較舊版本,在內容區按「右鍵 / New / Boolean 」,輸入「 print.always_print_silent 」,將值設定為 True 即可。
    若是較新版本,直接在上方的篩選裡輸入「 print.always_print_silent 」 ,系統預設是 Boolean ,而且預設為 True,直接按右方的 「 + 」即可。
以上動作,就完成這二個模式的設定。

參考來源: https://oncyclo.com/support/knowledgebase/251/Silent-or-Kisok-Printing.html

解決 ESXi Server 密碼遺忘的狀況

依照官方說法,若  ESXi Server 的 root 密碼忘了,是沒有辦法復原的,只能重灌系統,只是,重灌 ESXi 並不是解決問題的方法,重要的是裡頭的 guest 系統。
網路查到可以解決,主要動作如下:
  1. 若 ESXi Server  主機已開機,由於沒有 root 密碼,無法正常關機,只能強制重新啟動主機。因此,在強制重新啟動主機之前,若能先連到 guest OS 關機,記得要先處理這個動作。
  2. 在 ESXi Server 那台,使用 Live USB (Ubuntu or Linux Mint) 開機,依序的指令參考如下。
  3.  sudo fdisk -l
    主要確認 /sda5 的分割區。 
  4. sudo mkdir /mnt/sda5
  5. sudo mount /dev/sda5  /mnt/sda5
  6. sudo cp /mnt/sda5/state.tgz  ~/
  7. tar  zxf state.tgz
  8. tar zxf local.tgz
  9. vi etc/shadow
  10. 刪除 root 帳號後的密碼欄位
  11. rm -rf *.tgz
  12. tar zcf local.tgz etc/
  13. tar zcf state.tgz local.tgz
  14. sudo cp state.tgz /mnt/sda5
  15. sudo shutdown -r now
重新啟動後,就可以不用密碼登入,記得要設定一個好記的密碼。