Manjaro美化配置教程

更新时间:2023-07-25 20:52:17 阅读: 评论:0

Manjaro美化配置教程Manjaro Linux的美化
切换源
sudo vi /f
加⼊arch源
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = mirrors.ustc.edu/archlinuxcn/$arch
blackarch源(可以选择加⼊)
[blackarch]
SigLevel = Optional TrustAll
Server = mirrors.ustc.edu/blackarch/$repo/os/$arch
⾯对⾼校的源
[arch4edu]
SigLevel = Never
Server = mirrors.tuna.tsinghua.edu/arch4edu/$arch
ck源
[repo-ck]
Server = /$arch
设置国内源选择前三个快的
sudo pacman-mirrors -i -c China -m rank
全局更新
sudo pacman -Syyu
数据库被锁,删除/var/lib/pacman/db.lck
rm /var/lib/pacman/db.lck
导⼊key
sudo pacman -Sy archlinuxcn-keyring
导⼊失败
sudo pacman -Syu haveged
sudo systemctl start haveged
sudo systemctl enable haveged
sudo rm -rf /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux
pacman-key --populate archlinuxcn
挂载硬盘入党个人简历
sudo mount -t ntfs-3g /dev/sda1 /mnt
sudo fdisk -l
#查看UUID
sudo blkid
sudo vim /etc/fstab
UUID=DA18EBFA09C1B27D /mnt/Windows ntfs-3g rw,umask=0000,defaults 0 0
常⽤命令
安装 pacman -S package_name  |yay -S  package_name
删除 pacman -R package_name
查询net  pacman -Q |grep net
解决Windows和Linux双系统时间不⼀致问题
sudo timedatectl t-local-rtc 1
搜狗拼⾳
sudo pacman -S fcitx-im
sudo pacman -S fcitx-configtool
sudo pacman -S fcitx-sogoupinyin
添加配置⽂件
sudo vi ~/.xprofile
内容
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
fcitx-configtool
#对于jetbrians系列fcitx⽆法跟随的情况 fcitx输⼊法配置>附加组件>勾选⾼级>xim前端>勾选on the spot
求婚台词
安装⼯具
sudo pacman -S yaourt yay
SSR
yay -S electron-ssr
127.0.0.1:12333
socks5://127.0.0.1:1080
⾕歌代理
google-chrome-stable --proxy-rver=socks5://127.0.0.1:1080
终端代理
yay -S proxychains-ng
vim /f
//最后加⼊
socket5 127.0.0.1 1080
alias gfw='proxychains4'
gfw curl ip.gs
ZSH
sudo pacman -S zsh
sh -c "$(curl -fsSL /robbyrusll/oh-my-zsh/master/tools/install.sh)"
chsh -s /bin/zsh
特岗是什么可选插件安装
⾼亮插件
⾼亮zsh-syntax-highlighting ⾼亮你的zsh可⽤命令插件
git /zsh-urs/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
激活插件
sudo vi ~/.zshrc
加⼊插件
plugins=(git zsh-syntax-highlighting)
让他⽣效
source ~/.zshrc
zsh-autosuggestions
高考英语怎么说git /zsh-urs/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
加⼊插件
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
⽣效source ~/.zshrc
zsh补全插件
创建⽬录
mkdir ~/.oh-my-zsh/custom/plugins/incr
把下载的⽂件移动进去个人基本信息模板
sudo vi ~/.zshrc
添加
plugins=(git zsh-syntax-highlighting incr)
在~/.zshrc⽂件末尾加上
source ~/.oh-my-zsh/plugins/incr/incr*.zsh
更新.zshrc⽂件:
source ~/.zshrc
spaceship主题
git /denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
打开 ~/.zshrc设置主题
ZSH_THEME="spaceship"
中⽂字体
美国国旗图片⽂泉驿家族:
sudo pacman -S --noconfirm wqy-microhei &&fc-cache -fv
sudo pacman -S wqy-microhei-lite
sudo pacman -S wqy-bitmapfont
sudo pacman -S wqy-zenhei
YaHei-Consolas字体
cd /tmp&&git /GitHubNull/YaHei-Consolas-Hybrid-1.12.git --depth 1&&sudo sh YaHei-Consolas-Hybrid-1.12/tup.sh
选⽤:
yaourt -S ttf-meslo
sudo pacman -S adobe-source-han-sans-cn-fonts
sudo pacman -S adobe-source-han-rif-cn-fonts
sudo pacman -S noto-fonts-cjk
软件安装
⾕歌 vim git vs vlc neofetch ⽹易云 foxitreader ⽕狐汉化 uget
yay -S google-chrome vim  git visual-studio-code-bin  vlc  neofetch netea-cloud-music foxitreader  firefox-i18n-zh-cn  uget
bat cat的克隆
xmind zen
pdf-footer-zh-CN.svg
png-watermark-zh-CN.svg
print-watermark-zh-CN.svg
ncdu 可视化分析⽬录占⽤
redshift⾊温调节
virtualbox虚拟机安装对应内核
qalculate计算器
wiznote为知笔记
Albert 软件启动器
wps wps字体 wps-office ttf-wps-fonts
file-roller unrar unzip p7zip压缩解压缩
motrix
aria2
需要安装以下⼯具即可正常使⽤ifconfig
sudo pacman -S net-tools dnsutils inetutils iproute2
spacevim
curl -sLf spacevim/cn/install.sh | bash
cool-retro-term⼀个怀旧的终端
开发软件
java: as idea tomcat maven gradle
nodejs
flutter
git clone -b stable /flutter/flutter.git
vim ~/.zsh
加上
export PATH=~/Downloads/flutter/bin:$PATH
/
/path为你安装flutter的⽬录
source ~/.zshrc
切换分⽀
查看分⽀
flutter channel
切换master
flutter channel master
anaconda
sudo vim ~/.zshrc
export PATH=/opt/anaconda/bin:$PATH
git 设置
git config --global ur.name "your_name"
git config --ail "your_email"
git config --global http.proxy 'socks5://127.0.0.1:1080'
~/.gitconfig
[http]
电脑蓝屏自动重启proxy = socks5://127.0.0.1:1080
vscode调试html
{
"version": "0.2.0",
"configurations": [{
"type": "chrome",
"request": "launch",
"name": "chrome linux",
"webRoot": "${workspaceFolder}",
"runtimeExecutable": "/usr/bin/google-chrome-stable",
"runtimeArgs": [
"--remote-debugging-port=9222",
"--no-first-run",
"--no-default-browr-check",
"--ur-data-dir=/tmp/vscode-chrome-debug-rix",
"${file}"
]
}]
}
播种梦想
lnmp
nginx
sudo pacman -S nginx
systemctl来查看其状态
systemctl status nginx
sudo systemctl start nginx
设置Nginx开机⾃启动。
sudo systemctl enable nginx
版本
nginx -v
在浏览器地址栏输⼊127.0.0.1
mariaDB
sudo pacman -S mariadb
在启动MariaDB服务之前,需要⽤下⾯的mysql_install_db命令初始化MariaDB的数据⽬录,sudo mysql_install_db --ur=mysql --badir=/usr --datadir=/var/lib/mysql
启⽤
sudo systemctl start mysqld
systemctl status mysqld
运⾏安全脚本
sudo mysql_cure_installation
版本
mysql --version
PHP7
sudo pacman -S php-fpm
安装后,我们要让Nginx使⽤php-fpm来运⾏php。编辑/etc/f⽂件。
sudo nano /etc/f
找到location ~ \.php$这部分的配置,将这部分配置修改成如下。
location ~ \.php$ {
root          /usr/share/nginx/html;
fastcgi_pass  unix:/run/php-fpm/php-fpm.sock;

本文发布于:2023-07-25 20:52:17,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1096495.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:配置   安装   设置   终端   移动   插件
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图