跳转到目录 点这里
sudo pacman -S extra/boost qtcreator wps-office git lua zsh gimp emacs svn neovim google-chrome Foxit uGet VLC netease-cloud-music deepin-screenshot deepin-wine-tim tig tmux thefuck fzf autojump brook aria2
sudo pacman -S python-pip python2-pip tk python-numpy python-scipy python-matplotlib python-seaborn python-scikit-learn python-pylint python-jedi autopep8
sudo pacman -S clang llvm lldb lib32-clang openmp openmpi ccache make cmake cscope the_silver_searcher ripgrep gsl astyle js-beautify wireshark-qt redis jdk8-openjdk jdk7-openjdk maven gradle nodejs npm java-openjfx
sudo pacman -S libtinfo5 fzf pigz unrar man-pages-zh_cn universal-ctags-git tldr screenfetch bat fortune-mod cowsay cloc mlocate nmap ncdu axel curl aria2 tree gnuplot unicode-emoji ccal unzip-natspec cmatrix sl
sudo pacman -S gimp flameshot poppler-data flashplugin pepper-flash colordiff perl-rename manjaro-settings-samba pandoc graphviz
sudo ln -s /usr/bin/qemu-system-x86_64 /usr/bin/qemu
yay -S gitkraken filezilla gimp emacs uGet VLC visual-studio-code
yaourt -S uget mpv foxit typora musicbox tmux visual-studio-code
vim /etc/pacman.conf、
[archlinuxcn] SigLevel = Optional TrustedOnly Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
chsh -s /bin/bash
#服务器模式开机启动
systemctl set-default multi-user.target
#桌面办公模式启动
systemctl set-default graphical.target
sudo pacman -S fcitx-im
sudo pacman -S fcitx-configtool
sudo pacman -S fcitx-sogoupinyin
这个旧版的有用,新版直接做到安装盘了,新版的直接在虚拟机共享物理机复制粘贴板,用了反而破坏了
sudo pacman -R open-vm-tools
git clone https://github.com/rasa/vmware-tools-patches.git
cd vmware-tools-patches
sudo ./patched-open-vm-tools.sh
切回英文目录
$ sudo pacman -S xdg-user-dirs-gtk
$ export LANG=en_US
$ xdg-user-dirs-gtk-update
$ #然后会有个窗口提示语言更改,更新名称即可
$ export LANG=zh_CN.UTF-8
$ #然后重启电脑如果提示语言更改,保留旧的名称即可
网络配置文件
先在界面配置 192.168.100.101
sudo find /etc/* -type f|xargs -i grep -nH 192.168.100.101 {}
etc/NetworkManager/system-connections/有线连接 1.nmconnection:12:address1=192.168.100.101/24,192.168.100.1
cd etc/NetworkManager/system-connections/
vim 有线连接 1.nmconnection
开机脚本配置
配置开机防火墙
sudo systemctl enable iptables
sudo systemctl restart iptables
配置开机启动脚本
pacman -Sy systemd-rc-local
sudo systemctl enable rc-local
systemctl start rc-local.service
systemctl status rc-local.service
touch /etc/rc.local
chmod 755 /etc/rc.local
cat /etc/rc.local
#!/bin/bash