1、maven中设置默认的编译环境
新建maven工程的时候如果希望默认的编译环境就是jse-7 的话。可以在maven的setting文件中,找到<profiles>标签,添加如下配置:
<profiles>
<profile>
<id>jdk-1.7</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.7</jdk>
</activation>
<repositories>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
</repositories>
</profile>
</profiles>
2、Navicat Premium 12 破解
参考链接:https://blog.csdn.net/qq_21205435/article/details/78902052
3、linux上安装软件的方法
参考链接:https://blog.csdn.net/u010509774/article/details/50593231
4、centos7设置ip
参考连接:https://blog.csdn.net/heimerdinger_feng/article/details/71171231
5、centos查看是否安装了某个软件
参考链接:https://blog.csdn.net/zhangjianming2018/article/details/80382082
1. rpm包安装的,可以用rpm -qa看到,如果要查找某软件包是否安装,用 rpm -qa | grep "软件或者包的名字"。
2. deb包安装的,可以用dpkg -l能看到。如果是查找指定软件包,用dpkg -l | grep "软件或者包的名字";
3. yum方法安装的,可以用yum list installed查找,如果是查找指定包,命令后加 | grep "软件名或者包名";
例如:yum list installed openssl |grep openssl
openssl.x86_64 1:1.0.2k-8.el7 @anaconda
如果没有返回值则表示没有安装
4. 如果是以源码包自己编译安装的,例如.tar.gz或者tar.bz2形式的,这个只能看可执行文件是否存在了,
上面两种方法都看不到这种源码形式安装的包。如果是以root用户安装的,可执行程序通常都在/sbin:/usr/bin目录下
5. pip安装的所有包:
pip list