2021年5月14日 星期五

Linux 下連線到 Fortigate 的 console port

先將 console 線接上。

ref: https://askubuntu.com/questions/1067698/how-to-take-a-serial-port-connection-via-usb-online

 可先安裝 screen 套件。 

sudo apt-get install screen
sudo screen /dev/ttyUSB0 9600
 

連線後,將 Fortigate 重新開機,在終端機上就會看到開機的訊息。在訊息裡會看到  FGT90XXXXXXXXX 之類的訊息,這就是這台設備的序號。

開機後,要注意一下時間,看到有網頁說要在 14秒之內登入,有的說在 30秒以內登入... 

按 Enter 若出現 「 FGT90XXXXXXXXX login: 」就趕快登入。
帳號: maintainer
密碼: gcpbFGT90XXXXXXXXX 

登入後,輸入以下指令:

config system admin
edit admin
set password 123456
end

就可以將密碼改為 123456 了。

 

 
 

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