0%

Configure Problem Collection I

22/7/10 Vscode connect to local VMWare failed


Solution

  1. 在本地虚拟机vmware中安装ssh

    1
    sudo apt-get install -y openssh-server
  2. 开启服务

    1
    sudo /etc/init.d/ssh start
  3. 查看进程中是否有开启该服务

    1
    2
    3
    4
    5
    ps -e | grep ssh
    1616 ? 00:00:00 ssh-agent
    4892 ? 00:00:00 sshd
    6339 ? 00:00:00 sshd
    6417 ? 00:00:00 sshd
  4. vscode上配置即可

22/7/11 Download qemu failed


Description

qemu找不到命令

Solution

  1. 更改命令

    1
    sudo apt-get install qemu-system

22/8/7 Github connection confused


Description

ssh: connect to host github.com port 22: Connection refused

Solution

  1. 22 port 被屏蔽,尝试连接Github 443端口

    1
    2
    3
    4
    5
    $ vim ~/.ssh/config
    # Add section below to it
    Host github.com
    Hostname ssh.github.com
    Port 443
  2. https / ssh 两种方式切换

Reference

Variable Methods solving connection confusion

22/9/3 hexo在Google由于加载fonts而启动过慢问题


Solution

  1. 打开 next themes 配置,找到

    1
    2
    3
    4
    5
    font:
    enable: false

    # Uri of fonts host, e.g. https://fonts.googleapis.com (Default).
    host:
  2. 换源

    1
    2
    3
    4
    5
    font:
    enable: false

    # Uri of fonts host, e.g. https://fonts.googleapis.com (Default).
    host: fonts.lug.ustc.edu.cn

再加载后从Google打开blog加载就畅通无阻了

Reference

https://anson2416.github.io/posts/ae382d5a/

1
2
3
4
5
6
7
8
Broadly speaking: end-user impact.  If we don't have reports of the
issue causing a user-visible problem and we don't expect such things to
occur, don't backport. Why risk causing some regression when we cannot
identify any benefit? (and boy do my fingers get tired asking people
to describe the user-visible effects of the bug they claim to have fixed!)

Of course, screwups can happen and user-useful patches may be passed
over.