Ubuntu使用过程中遇到的坑记录

Ubuntu使用笔记

  • 系统安装后,没有引导进Ubuntu系统
  • 关闭Thinkpad 的手写板
  • 替换成阿里云镜像
  • 拓展屏命令,设置笔记本为主屏幕
  • Go下载 及开发环境配置
      • 1: Go下载
      • 2: Go配置
      • 3: Goland 安装配置
  • GoLand 破解
      • 破解链接
  • 敏感词
      • 购买服务器

系统安装后,没有引导进Ubuntu系统

The'grub-efi-amd64-signed' package failed to install into / target/. Without the GRUB boot loader,  the Installed system will not boot.

遇到这种情况一般是看下你的电脑U盘启动的时候用的是不是EF开头的,如果是的话,就需要在分区的时候单独分一个/boot/efi的分区.大小的话查一下其他帖子的建议. 我的暂时就先分1G. 如果后面不够用的话,就重新安装系统.

关闭Thinkpad 的手写板

sudo rmmod psmouse 这个是禁用的(这个亲测管用)

sudo modprobe psmouse 这个是启用
 此操作把左右键也关了。如果不想,

替换成阿里云镜像

https://developer.aliyun.com/mirror/ubuntu?spm=a2c6h.13651102.0.0.3e221b11YXm6RY

其他镜像(转) :

下载软件肯定是去官网,不过这些软件好些都是国外的,下载速度比较慢,因此我们常常使用国内的开源镜像进行下载,国内的开源镜像不少,(但是有些老版本可能需要去官网下载)
下面收集几个比较稳定的列出来:

官方网站:https://www.centos.org/
阿里云开源镜像:http://mirrors.aliyun.com/
搜狐开源镜像:http://mirrors.sohu.com/
网易开源镜像:http://mirrors.163.com/
清华大学开源镜像:https://mirror.tuna.tsinghua.edu.cn/
浙江大学开源镜像:http://mirrors.zju.edu.cn/
华中科技大学开源镜像:http://mirror.hust.edu.cn/
————————————————
版权声明:本文为CSDN博主「IT老男孩!!!」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/wei8866lh/article/details/104457853

拓展屏命令,设置笔记本为主屏幕

xrandr #先查出来显示器的名称

xrandr --output eDP-1 --auto --primary #eDP-1 就是笔记本显示器的名称

xrandr --output HDMI-2 --right-of eDP-1 --auto #HDMI-2 就是扩展屏的名称

Go下载 及开发环境配置

1: Go下载

https://studygolang.com/articles/22316?fr=sidebar
https://studygolang.com/dl #下载

2: Go配置

https://goproxy.io/zh/ #配置1
http://www.youkud.com/m/view.php?id=1490

3: Goland 安装配置

xrandr --output eDP-1 --auto --primary #eDP-1 就是笔记本显示器的名称

xrandr --output HDMI-2 --right-of eDP-1 --auto #HDMI-2 就是扩展屏的名称

GoLand 破解

破解链接

https://www.jianshu.com/p/8d2f8794c724

                                    H54LO5S6Y4-eyJsaWNlbnNlSWQiOiJINTRMTzVTNlk0IiwibGljZW5zZWVOYW1lIjoibG9vayBkaXYiLCJhc3NpZ25lZU5hbWUiOiIiLCJhc3NpZ25lZUVtYWlsIjoiIiwibGljZW5zZVJlc3RyaWN0aW9uIjoiIiwiY2hlY2tDb25jdXJyZW50VXNlIjpmYWxzZSwicHJvZHVjdHMiOlt7ImNvZGUiOiJJSSIsInBhaWRVcFRvIjoiMjAyMC0wNi0wNCJ9LHsiY29kZSI6IkFDIiwicGFpZFVwVG8iOiIyMDIwLTA2LTA0In0seyJjb2RlIjoiRFBOIiwicGFpZFVwVG8iOiIyMDIwLTA2LTA0In0seyJjb2RlIjoiUlNDIiwicGFpZFVwVG8iOiIyMDIwLTA2LTA0In0seyJjb2RlIjoiUFMiLCJwYWlkVXBUbyI6IjIwMjAtMDYtMDQifSx7ImNvZGUiOiJSU0YiLCJwYWlkVXBUbyI6IjIwMjAtMDYtMDQifSx7ImNvZGUiOiJHTyIsInBhaWRVcFRvIjoiMjAyMC0wNi0wNCJ9LHsiY29kZSI6IkRNIiwicGFpZFVwVG8iOiIyMDIwLTA2LTA0In0seyJjb2RlIjoiQ0wiLCJwYWlkVXBUbyI6IjIwMjAtMDYtMDQifSx7ImNvZGUiOiJSUzAiLCJwYWlkVXBUbyI6IjIwMjAtMDYtMDQifSx7ImNvZGUiOiJSQyIsInBhaWRVcFRvIjoiMjAyMC0wNi0wNCJ9LHsiY29kZSI6IlJEIiwicGFpZFVwVG8iOiIy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QhI2Qb1t4Lm0oFKLl/GzoRykGjAYMRYwFAYDVQQDDA1KZXRQcm9maWxlIENBggkA0myxg7KDeeEwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCwYDVR0PBAQDAgWgMA0GCSqGSIb3DQEBCwUAA4ICAQAF8uc+YJOHHwOFcPzmbjcxNDuGoOUIP+2h1R75Lecswb7ru2LWWSUMtXVKQzChLNPn/72W0k+oI056tgiwuG7M49LXp4zQVlQnFmWU1wwGvVhq5R63Rpjx1zjGUhcXgayu7+9zMUW596Lbomsg8qVve6euqsrFicYkIIuUu4zYPndJwfe0YkS5nY72SHnNdbPhEnN8wcB2Kz+OIG0lih3yz5EqFhld03bGp222ZQCIghCTVL6QBNadGsiN/lWLl4JdR3lJkZzlpFdiHijoVRdWeSWqM4y0t23c92HXKrgppoSV18XMxrWVdoSM3nuMHwxGhFyde05OdDtLpCv+jlWf5REAHHA201pAU6bJSZINyHDUTB+Beo28rRXSwSh3OUIvYwKNVeoBY+KwOJ7WnuTCUq1meE6GkKc4D/cXmgpOyW/1SmBz3XjVIi/zprZ0zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
                  

敏感词

购买服务器

https://www.zhihu.com/question/29157606 #DO 或者其他的服务器,用DO试试

https://www.codetd.com/article/1790848 #安装敏感词客户端

你可能感兴趣的:(Ubuntu使用过程中遇到的坑记录)