首页 » bug飞

脚本地址:https://github.com/oneinstack/lnmp
  1. Media change: please insert the disc labeled

编辑/etc/apt/sources.list 删除cdrom那行

  1. There are problems and -y was used without --force-yes

方法1 apt-get update
方法2 Add to /etc/apt/apt.conf:
APT::Get::AllowUnauthenticated 1 ;

3.最重要的,更改中国源

vim /etc/apt/sources.list

 

deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

重启云桌面后,云桌面中无法启动idea,原因是重启后,云桌面把相关agent文件删除了,解决办法就是每次启动创建这个文件。这里看idea报错,可以把idea.bat拖到cmd窗口,查看报错信息

解决思路:

  1. 把idea.bat拖到cmd框,报错如下:
Error opening zip file or JAR manifest missing : C:\Users\Public\.jetbrains\jetbrains-agent-v3.2.0.de72.619
Error occurred during initialization of VM
agent library failed to init: instrument

2.解决办法:

mkdir /c/Users/Public/.jetbrains/
cp jetbrains-agent.jar /c/Users/Public/.jetbrains/jetbrains-agent-v3.2.0.de72.619