只字片语写给我自己备份记录,别人读不懂勿怪~~~~~~~~~
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"env": {"PYTHONPATH":"${workspaceRoot}"}
}
]
如果总说符号错误,就重启VScode, 或者关闭launch.json
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"pythonPath": "${config:python.pythonPath}",
"program": "${file}",
"cwd": "${workspaceRoot}",
"env": {"PYTHONPATH":"${workspaceRoot}"},
"envFile": "${workspaceRoot}/.env",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
},
sudp apt install gcc g++ make
vi /etc/modproxxx.d/blacklist.conf
blacklist nouveau
options nouveau modeset=0
sudo iniramxxxx -u
NVIxxx.run -no-nouveau-check -no-x-check -no-opengl-files
cuda cudnn anaconda3
先安装xming,好像xshell不用安装。
再安装vscode插件 remote X11 remote ssh
配置xming:X0.host---->
localhost
10.20.51.218
,启动
修改Ubuntu的/etc/ssh/sshd_config 里面几个 yes,
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
export DISPLAY=xxx.xxx.xxx.xxx:0.0 # 0.0 is the same with xming server
sudo apt install x11-xserver-utils
sudo apt install libgtk-3-dev
无线网卡
The driver is built by running make
, and can be tested by loading the built module using insmod
:
$ make
$ sudo insmod 8812au.ko
After loading the module, a wireless network interface named Realtek 802.11n WLAN Adapter should be available.
Installing the driver is simply a matter of copying the built module into the correct location and updating module dependencies using depmod
:
$ sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
$ sudo depmod