jack-zheng
8/20/2018 - 9:30 AM

dual system, installation, software list

dual system, installation, software list

写在最前: 每次重装的时候最好都去下载最新的镜像, 不然更新系统就要花费半天, 不值得!!

Point about insatll dual system patcher

  1. 安装 win10
  2. 磁盘管理 -> 分配空间给 Manjaro
  3. ultraISO, RAW方式
  4. U盘启动(非 UFEI)
  5. 技嘉主板按 F12 启动U盘安装
  6. 分配linuxswap空间, 不然安装会失败 free sapce -> create -> 6000M, linuxswap
  7. 安装完后可以直接使用不需要easybcd, 可能是manjaro做过优化

Software list

upgrade system

sudo pacman-mirrors -i -c China -m rank //更新镜像排名
sudo pacman -Syy //更新数据源

--sudo pacman -S archlinux-keyring not work, need a suffix of 'cn' !!
sudo pacman -S archlinuxcn-keyring
--now you are able to install software using 'pacman'
sudo pacman -S vim 

chrome browser

sudo pacman -S google-chrome 
-- then add SwitchyOmega extension to browser, 

SwitchyOmega Download URL Of Github
config SwitchyOmega, open config page of extension, select options as:

-- server and port is same as the values you set in shadowsocks.json
Protocol: SOCKS5
Server: 127.0.0.1
Port: 1080

Shadowsocks to cross over the GFW add config file to path: $HOME/.pip/pip.conf

-- pip.conf content
[global]
timeout = 60
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com

run command: sudo pip install shadowsocks / pip install --user shadowsocks

运行ss 的时候报错, cd 到错误路径下"/usr/lib/python3.6/site-packages/shadowsocks/crypto/openssl.py",
sudo vim openssl.py  --对文件进行编辑

:%s/cleanup/reset/
:x   --替换关键字并保存退出

config run file for shadowsocks, add shadowsocks.json

--jack@jack-171112:~$ cat shadowsocks/shadowsocks.json
{
"server":"xxx.xxx.xxx.xxx",
"server_port":8989,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"xxxx",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1
}

Sogou Pinyin

$ sudo pacman -S fcitx-sogoupinyin
$ sudo pacman -S fcitx-im     # 全部安装
$ sudo pacman -S fcitx-configtool     # 图形化配置工具

$ sudo vi ~/.xprofile  # vi可以换成系统现有的文本编辑器

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

安装完后, Logout, 再登录进来
打开 Fcitx Configuration -> '+' -> uncheck 'only show current language' -> 添加 Sogou Pinyin, Done!

调整时区

sudo timedatectl set-ntp true

By now the basic configuration should be done, enjoy your new OS!

PS: 参考油管上的视屏