分類: 其他
badblocks-硬碟壞軌掃描測試
badblocks是Unix-like作業系統下用來檢查類似於磁碟分割這樣的裝置上是否存在壞軌的命令列程式,其功能類似於Microsoft Windows或DOS作業系統中的SCANDISK或CH……
node.js解決/usr/bin/env: ‘node’: No such file or directory
/usr/bin/env: ‘node’: No such file or directory
修正:
ln -s /usr/bin/nodejs /usr/bin/node
NUMA 簡單原理介紹
NUMA 的概念簡單化的說明,就是不讓 VM 跨 socket 去讀取不同的 CPU 的 L2 cache 或是 RAM,一般來說雙路的伺服器比較少碰到,而4路的伺服器就非常明顯。假設……
Microsoft OS與Server、MSSQL授權解析
只要在你的虛擬化系統上安裝Windwos Server 2016,Windows 就需要補齊以下授權。
Windows Server 2016 授權費用採用核心數計算費用,以host端為計算標準。
註……
新版Linux操作指令
查詢當前指令使用(--help)
man shutdown
日常重啟服務有三種方式:
格式如:
command action target //最新方式
command target action
target action
systemc……
apt 移除軟體並清理遺留檔
移除:
apt remove 軟體名稱
清除相依套件:
sudo apt-get autoremove
也能夠在移除時添加參數
apt remove 程式名稱 --auto-remove
清除設定檔:
apt purge 程……
SAMBA Server
安裝:
apt install samba samba-common
設定目錄:
nano /etc/samba/smb.conf
設定範例:
[global]
workgroup = workgroup
security = user
load print……
NFS Server
安裝:
apt install nfs-kernel-server
新增目錄:
nano /etc/exports
/RAID *(rw,sync,no_root_squash)
重啟NFS服務:
sudo /etc/init.d/nfs-kernel-server r……