桥山之巅,姬水之畔

Linux(Ubuntu 18.04 LTS)使用记录

2019.07.21

系统:ubuntu18.04 LTS

置顶

安利一个网站:https://www.lulinux.com/ deepin-wine-QQ、百度网盘、WPS等应用解决方案:https://www.lulinux.com/archives/1319 deepin软件仓库:http://packages.deepin.com/deepin/pool/non-free/ 双系统的安装:Windows10+Ubuntu18.04+双硬盘(SSD+HDD)安装双系统

1. 分区与挂载

Linux新建分区 https://blog.csdn.net/github_33809414/article/details/85208666 /usr目录挂载到新分区 https://blog.csdn.net/github_33809414/article/details/85207300 /var目录挂载到新分区 https://blog.csdn.net/github_33809414/article/details/85221274 开机自动挂载 https://blog.csdn.net/qwfys200/article/details/79737780

2. 连接校园网

https://blog.csdn.net/github_33809414/article/details/85054911

3. 替换阿里源

https://www.cnblogs.com/lyon2014/p/4715379.html

4. 安装搜狗输入法

https://blog.csdn.net/fx_yzjy101/article/details/80243710 重启后,搜狗拼音输入法候选栏无法显示中文(乱码) https://my.oschina.net/i1sfish/blog/1822964 中英文无法切换 我的解决方法是: fcitx 设置中加入英文键盘即可

5. firefox浏览器安装flash

https://blog.csdn.net/weixin_40522162/article/details/80287296

6.安装百度云,失败,参考置顶

https://jingyan.baidu.com/article/a24b33cdc99c1e19fe002b93.html https://blog.csdn.net/cheng_ku/article/details/80286172

7. 安装crossover,建议不要折腾

windows应用很卡,还要收费,放弃 https://my.oschina.net/u/3275937/blog/2995386 https://blog.csdn.net/valecalida/article/details/81084210

8. 安装vmware

!!不要升级内核,就用默认的(4.15.0-46-generic)。否则vmware不能运行。 最终安装成功版本VMware Workstation Pro 15.0.2 for Linux,参照的第二个链接 https://www.jianshu.com/p/5fc43bbbac5a https://blog.csdn.net/wy_bk/article/details/80017140 需要安装gcc7 https://blog.csdn.net/weixin_35762621/article/details/80336291 问题:/vmware/Ubuntu.vmdk' or one of the snapshot disks it depends on https://blog.csdn.net/guomutian911/article/details/42673147

9. 内核的升级与卸载

升级内核 https://www.linuxidc.com/Linux/2018-06/152714.htm 卸载内核 https://blog.csdn.net/wf19930209/article/details/81879777

10. 安装/卸载mysql

mysql5.7 安装 https://segmentfault.com/a/1190000012703513 (目录名称都不要自定义) 其中: /etc/my.cnf 中 pid-file=自定义一个有权限的目录 ,/var/run下重启后mysqld目录会消失,导致无法启动 卸载 https://www.cnblogs.com/jpfss/p/7932019.html 问题: 没有chkconfig命令 https://blog.csdn.net/elim051/article/details/6173367 You must reset your password using ALTER USER statement before executing this statement. https://www.cnblogs.com/debmzhang/p/5013540.html

mysql8.0.16 https://www.cnblogs.com/luoli-/p/9249769.html

11. 安装navicat

在安装好deepin-wine的环境下: 安装navicat11.2 下载:http://packages.deepin.com/deepin/pool/non-free/n/navicat/navicat_11.2.9_amd64.deb 进入安装目录 cd /usr/share/navicat/ 删除全部内容 sudo rm -r Navicat 将Windows中破解好的Navicat拷贝到 /usr/share/navicat/ 目录下 sudo cp -r Navicat /usr/share/navicat/ 注意:由于deepin的navicat是11.2.9的,所以windows下的破解版也要是11.2版本的才可以 传送门:https://pan.baidu.com/s/1hsfBv2VtAd0jsekJwQGJuA 提取码:71nu

安装navicat12.1.18 https://www.52pojie.cn/thread-966298-1-1.html https://github.com/DoubleLabyrinth/navicat-keygen/blob/windows/README_FOR_LINUX.zh-CN.md#navicat-keygen---for-linux

解决navicat中文乱码 https://blog.csdn.net/qq_38250124/article/details/83898364 https://blog.csdn.net/yuxiao97/article/details/84886921

12. 安装postman

http://packages.deepin.com/deepin/pool/non-free/p/postman/postman_6.0.9_amd64.deb

13. 安装ieaseMusic

https://github.com/trazyn/ieaseMusic/releases/download/v1.2.6/ieaseMusic-1.2.6-linux-amd64.deb

13. 安装qq,失败,参考置顶

https://blog.csdn.net/qq_36428171/article/details/81209475

13. 安装微信,参考置顶

网页版微信,加了个壳,没有电脑版好用 https://www.cnblogs.com/dunitian/p/9124806.html

14. 区域语言设置

http://blog.sina.com.cn/s/blog_49f914ab0100sbsp.html

15. 静态ip

https://jingyan.baidu.com/article/29697b91558683ab20de3c95.html https://blog.csdn.net/qq_42975842/article/details/81705244

16. ssh免密登录

https://blog.csdn.net/changhenshui1990/article/details/72896548 https://www.cnblogs.com/ivan0626/p/4144277.html 系统重装后清除原来的ssh信息: ssh-keygen -f "~/.ssh/known_hosts" -R "目标ip"

17. 安装openvpn

安装 http://www.seekswan.com/support_course_info_178 开机自启openvpn https://www.jianshu.com/p/9af5d5a046f9

18. 卸载Ubuntu中wine安装的程序

https://www.cnblogs.com/jackchiang/p/4072621.html

19. 安装markdown编辑器(Typora)

http://packages.deepin.com/deepin/pool/non-free/t/typora/typora_0.9.53-1_amd64.deb

20. WPS for Linux(ubuntu)字体配置(字体缺失解决办法)

https://www.cnblogs.com/liangml/p/5969404.html 其他错误: INCORRECT PERMISSIONS ON /USR/LIB/PO1KIT-AGENT-HELPER-1(NEEDS TO BE SETUID ROOT) https://www.cnblogs.com/tl542475736/p/9461669.html

21. 在linux中使用vi 打开文件时,能显示行号

https://blog.csdn.net/yuanyuan_186/article/details/51306202

22. 安装Virtualbox

https://www.cnblogs.com/pealicx/p/9028414.html https://blog.csdn.net/weixin_43331296/article/details/83025126

23. 设置样式(桌面、顶栏、字体)

https://www.jianshu.com/p/de37682ecbda