网络资源汇总
Contents
For Linux
1. 杀毒软件
- ClamAV: 配置
2. Firewall
- ufw_: Hsow to config
- firewall:
$ sudo apt install firewalld
3. 屏蔽USB接口
- Method 1:
- create config file:
$ sudo vim /etc/modprobe.d/block_usb.conf
- insert line:
install usb-storage /bin/true
- create config file:
- Method 2: remove usb_storage
- cmd:
sudo mv /lib/modules/<core-name>/kernel/drivers/usb/storage/usb-storage.ko <any-other-path/usb-storage.ko.bak>
- cmd:
- Method 3: blacklist
$ sudo vim etc/modprobe.d/blacklist.conf
- insert:
blacklist usb-storage
4. 配置ubuntu18远程桌面
- Q1: Windows10 远程登录蓝屏
$ wget http://www.c-nergy.be/downloads/install-xrdp-3.0.zip $ unzip install-xrdp-3.0.zip $ chmod 777 Install-xrdp-3.0.sh $ ./Install-xrdp-3.0.sh $ sudo reboot
5. opencv and opencv-contrib
-
- download opencv and opencv-contrib
-
git checkout <version/e.g: 3.4.4>
-
- problems:
- ippicv_2019_lnx_intel64_general_20180723.tgz
- uninstall opencv
$ cd /usr $ sudo find . -name "*opencv*" | xargs sudo rm -rf
- error: 111
- problems: