manjaro开发环境配置
majaro镜像配置
排序镜像源
sudo pacman-mirrors -g
配置镜像源
sudo vim /etc/pacman.d/mirrors/China
[China]
Server = http://mirrors.ustc.edu.cn/manjaro/repo/$arch
安装archlinuxcn签名钥匙&antergos签名钥匙
sudo pacman -S --noconfirm archlinuxcn-keyring antergos-keyring
manjaro系统开发环境配置
sudo pacman -S zsh electronic-wechat fcitx-im fcitx-configtool fcitx-googlepinyin net-tools git maven docker docker-compose intellij-idea-ultimate-editio shadowsocks-qt5 linux(内核版本)-virtualbox-host-module virtualbox virtual-ext-oracle google-chrome wps-office xmind netease-cloud-music postman-bin yay yaourt
yaourt -Sy --noconfirm wiznote meld shutter wget peek nginx tomcat8 zookeeper bleachbit redshift charles medis Teamviewer
配置oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"1
换默认的 shell
chsh -s /bin/zsh
安装字体
yay -S ttf-wps-fonts # 安装wps字体
yay -S wqy-microhei && fc-cache -fv
启动输入法sudo vim ~/.xprofile
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitxwqy-microhei wqy-microhei-lite
配置wps,使wps可以输入中文
$ sudo vim /usr/bin/wps # 编辑wps配置文件
# 在 紧跟#!/bin/bash后添加下列三行
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
安装MariaDb代替mysql(MyriaDb与Mysql相互兼容)
$ yay -S mariadb mariadb-clients
# 安装成功后,根据提示,输入下列指令初始化MariaDb数据库
$ sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
# 一番信息自动输出完成后,执行以下代码
$ sudo systemctl start mysqld # 启动MariaDb
$ mysqladmin -u root password "root" # 为root、用户添加密码
$ sudo systemctl enable mysqld # 设置mariaDb开机自启
$ mysql -uroot -p # 输入设置的的密码,登录数据库优化系统启动速度
安装VSCode
$ yay -S visual-studio-code
安装markdown编辑器
$ yay -S typora
安装Tim,微信 (KDE桌面无法使用)
$ yay -S deepin.com.qq.office deepin.com.wechat
配置微信,tim的中文输入问题 (KDE桌面无法使用)
Tim启动脚本位置:/opt/deepinwine/apps/Deepin-TIM/run.sh WeChat启动脚本位置:/opt/deepinwine/apps/Deepin-WeChat/run.sh # 1 配置tim中文,打开tim启动脚本文件 (微信同理) $ sudo vim /opt/deepinwine/apps/Deepin-TIM/run.sh # 2 在启动脚本命令之前添加以下内容 export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx"
配置CMake(可选)
$ yay -S gcc
$ yay -S make pkg-config libv4l
安装有道词典
$ yay -S youdao-dict
系统启动速度优化
Arch Linux 的 systemd-analyze 是个很不错的工具,利用它你可以很直观地观察到系统启动的时间都花到哪儿去了:
systemd-analyze
我注意到打开 AHCI 后,内核和用户空间的载入速度明显提高了,总启动时间从约 30 秒缩短到 20 秒,效果非常明显。
用下面这个命令,可以了解到是什么东西启动最慢:
systemd-analyze blame
安装timeshfit为系统创建快照
sudo pacman -S timeshift
个性化配置
google账号登录
git 码云账号web登录+idea登录
idea http-proxy配置
附件列表
money怎么来?
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)