phpmyadmin 报错Wrong permissions on configuration file, should not be world writable!
phpmyadmin 报错: Wrong permissions on configuration file, should not be world writable!
phpmyadmin的这个报错很诡异,我设置777 权限都不行,必须755
chmod 755 config.inc.php
phpmyadmin 报错: Wrong permissions on configuration file, should not be world writable!
phpmyadmin的这个报错很诡异,我设置777 权限都不行,必须755
chmod 755 config.inc.php
脚本地址:https://github.com/oneinstack/lnmp
编辑/etc/apt/sources.list 删除cdrom那行
方法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窗口,查看报错信息
解决思路:
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
java.lang.NoSuchMethodError: io.swagger.models.AbstractModel.addProperty(Lja
最后发现是io.swagger:swagger-models:jar:1.6.0:和swager依赖的版本冲突,exclude掉
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>2.9.2</version>
<exclusions>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
</exclusion>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>2.9.2</version>
<exclusions>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
</exclusion>
<exclusion>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
Error running 'xxxApplication': Command line is too long. Shorten command line for xxxAPPlication or also for Application default configuration. 的解决办法
在.idea 下面的workspace.xml中加入
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/pom.xml" />
<property name="settings.editor.selected.configurable" value="MavenSettings" />
<property name="dynamic.classpath" value="true" />
</component>