USB disk should be formated in NTFS(Windows readable writeable, Linux readable)
Disk | Parition | MountPoint | Size | Descriptions |
---|---|---|---|---|
sda | sda1 | /boot/efi | 200MB | 開機磁區 |
sda | sda2 | /boot | 500MB | 開機磁區 |
sdc | swap | swap | 128GB | 記憶體交換區 |
sdc | home | /home | 3TB | 家目錄 |
sdc | root | / | 2TB | 根目錄 |
sdc | pkg | /pkg | 2TB | 公用程式 |
sdc | work | /work | 32TB | 工作目錄 |
User specific space, which stores tools, references and etc. for their own use.
Public tools share among users.
Always install packages by root.
Downloaded packages.
Working space, stores references and working directory for each projects seperately.
Stores references for projects.
系統安裝時選擇了中文,報錯時中文顯示不方便查詢問題,因此更改語系
root作為系統最高權限,SSH 服務對外開放的情況下資安風險極大,透過網路就可以用暴力法嘗試破解 root 的密碼,因此關閉root改用個別帳號登入後用su指令登入root。
重啟後SSH無法連線,需檢查設定檔
重啟Xampp,以啟動Apache MySQL ProFTPD等服務
看見服務都啟動即完成
Restarting XAMPP for Linux 8.1.1-2…
XAMPP: Stopping Apache…not running.
XAMPP: Stopping MySQL…not running.
XAMPP: Stopping ProFTPD…ok.
XAMPP: Starting Apache…ok.
XAMPP: Starting MySQL…ok.
XAMPP: Starting ProFTPD…ok.
Error: libnsl not found
XAMPP: SELinux is activated. Making XAMPP fit SELinux…
chcon: 無法存取 '/opt/lampp/lib/mysql/*.so': 沒有此一檔案或目錄
Starting XAMPP for Linux 8.1.1-2…
XAMPP: Starting Apache…fail.
httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 6 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/mod_perl.so into server: libnsl.so.1: cannot open shared object file: No such file or directory
XAMPP: Starting MySQL…ok.
XAMPP: Starting ProFTPD…ok.
XAMPP: Starting Apache…ok.
XAMPP: Starting MySQL…already running.
XAMPP: Starting ProFTPD…already running.
使用SSH Secure Shell連線時發生Algorithm negotiation failed的警告訊息
更新對應的演算法以解決金鑰產生的問題
經測試依然無法解決SSH Secure Shell不能連線的問題
安裝時出現錯誤
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
因此修改兩個repo文件,引導linux自該位址下載
安裝特定R package時仍然會出現錯誤,如下install.packages('ggfx')
–––––––––––––- [ANTICONF] ––––––––––––––––
Configuration failed to find the harfbuzz freetype2 fribidi library. Try installing:
觀察錯誤訊息,提示安裝harfbuzz-devel fribidi-devel
發覺不是miniconda的R造成錯誤,改回miniconda的R去安裝
yum install harfbuzz-devel fribidi-devel
完成後再次於miniconda R輸入
install.packages('ggfx')
會再次報錯,繼續按提示安裝
yum install freetype-devel libpng-devel libtiff-devel libjpeg-turbo-devel
會再次報錯,繼續按提示安裝
yum install -y ImageMagick-c++-devel #沒有解決問題
再次進入R輸入install.packages('ggfx')會有重複的錯誤(此問題可能只存在conda),改用
conda install -c conda-forge imagemagick
完成後再次於R輸入,可成功安裝
install.packages('ggfx')
conda install -c bioconda star
conda install -c bioconda trimmomatic
Clone conda envronment and update MetaPhlAn HUMANn
Transfer new enviroment to other server
A user-friendly software to perform fungicide resistance screening in fungal genomes
Server