-
Notifications
You must be signed in to change notification settings - Fork 0
/
workspace.txt
69 lines (57 loc) · 2.57 KB
/
workspace.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
系统:manjaro kde, 一定要英文安装
装好系统以后检查:
1. 更新系统并安装中文
https://liyangweb.com/linux_desktop/553.html
2. 显卡驱动是不是nvidia nvidia-smi会不会出现表格
(如果显卡驱动不是nvidia的,-待补充-)
3. https://github.com/Qv2ray/Qv2ray/releases/tag/v2.7.0 --软件
https://github.com/v2ray/v2ray-core/releases --v2ray核(最新的可能报错)
如果报错,给v2ray 和v2ctl 权限, 参考https://github.com/Qv2ray/Qv2ray/issues/237
4. anaconda用yay装:
sudo su
pacman -Syu
pacman -S flameshot v2ray yay code vim # openssh swig
yay -S anaconda v2raya
# 环境
export PATH=$PATH:/opt/anaconda/bin/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/main
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/r/
conda config --set show_channel_urls yes
conda config --set auto_activate_base false # --设置终端自动进入
source /opt/anaconda/bin/activate root
conda create -n pymvpa python==2.7.12
conda activate pymvpa
pip install pymvpa2
conda install ipython
pip install backports.functools-lru-cache==1.6.4
pip install pprocess
pip install statsmodels==0.6.1
5. 美化:系统主题本身就很好看了,装个paprius图标(github)
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme
6.
systemctl enable --now sshd
systemctl enable --now vivv
7. 系统设定
#1.
sudo vim /etc/pacman.d/mirrorlist
Server = https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable/$repo/$arch
###
参考网站
https://tech.shmily-qjj.top/
https://zhuanlan.zhihu.com/p/460826583
virtualbox for ubuntu装虚拟机
系统清理
内存清理
sudo echo 1 > /proc/sys/vm/drop_caches
sudo echo 2 > /proc/sys/vm/drop_caches
sudo echo 3 > /proc/sys/vm/drop_caches
日志清理
journalctl –disk-usage 查看日志占用
sudo journalctl –vacuum-size=500M 限制归档日志大小,对日志做清除操作,适用于/var占用较大的场景
https://update.glados-config.com/clash/413197/187d4ad/151873/glados.yaml
env WEBKIT_DISABLE_COMPOSITING_MODE=1 gnome-control-center online-accounts