开发使用Linux强烈建议使用Ubuntu不建议使用CentOS
下载软件的时候推荐使用deb和snap格式的文件
打开系统的软件和更新
找到附加驱动
找到对应的驱动更新即可。
sudo gedit /etc/hosts
修改为如下
131.253.33.219 edge.microsoft.com
131.253.33.219 msedgeextensions.sf.tlu.dl.delivery.mp.microsoft.com
199.232.96.133 raw.githubusercontent.com
cd /usr/share/glib-2.0/schemas
sudo gedit org.gnome.desktop.interface.gschema.xml
# 找到text-scaling-factor, 修改default的数值为1.25
sudo gedit com.ubuntu.user-interface.gschema.xml
# 找到text-scaling-factor, 修改default的数值为1.25
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
reboot
//下载Wine环境包:
wget http://archive.ubuntukylin.com/software/pool/partner/ukylin-wine_70.6.3.25_amd64.deb
// 下载微信(wine)包:
wget http://archive.ubuntukylin.com/software/pool/partner/ukylin-wechat_3.0.0_amd64.deb
sudo apt-get install -f -y ./ukylin-wine_70.6.3.25_amd64.deb
sudo apt-get install -f -y ./ukylin-wechat_3.0.0_amd64.deb
主题
http://theme.typora.io/theme/Vue/
我这里上传方式选择app的始终不行就使用PicGo-Core
的方式了
以下是配置 其中qiniu
中改成自己的配置。
{
"picBed": {
"current": "qiniu",
"uploader": "qiniu",
"qiniu": {
"accessKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"area": "z1",
"bucket": "psvmc",
"options": "!github",
"path": "blog/",
"secretKey": "yyyyyyyyyyyyyyyyyyyyyyyy",
"url": "http://image.psvmc.cn"
}
},
"settings": {
"privacyEnsure": true,
"showUpdateTip": true,
"autoRename": true,
"autoStart": true
}
}
图片上传插件picGo
官网:https://molunerfinn.com/PicGo/
https://github.com/Molunerfinn/picgo/releases
注意
下面的这种方式我没有成功,先不建议了。
下载后进行安装
sudo snap install picgo_2.3.0_amd64.snap --dangerous
报错
error: cannot find signatures with metadata for snap
不进行签名验证
--dangerous
https://pan.baidu.com/download
卸载
sudo apt remove wps-officesud
解决在ubuntu 22.04上安装wps打不开问题
添加权限即可
sudo chmod 0777 -R /opt/kingsoft/wps-office
sudo apt install git
配置
git config --global user.email "183518918@qq.com"
git config --global user.name "zhangjian"
客户端软件
https://www.syntevo.com/smartgit/download/
版本管理器
cd ~
sudo apt install curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
source ~/.bashrc
如果下载不下来
查看可用IP修改hosts
sudo gedit /etc/hosts
修改为如下
185.199.108.133 raw.githubusercontent.com
在~/.bashrc
中设置变量
sudo gedit ~/.bashrc
添加
export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node
输入后,在终端中输入下面的命令使其生效,然后可以接着运行nvm命令
source ~/.bashrc
此时运行 查看所有可用版本
nvm ls-remote
nvm install 12
npm config set registry https://registry.npmmirror.com
npm config list
npm install hexo-cli -g
生成上传
hexo g
hexo d