摘要:
1.vim /etc/my.cnf注释这一行:bind-address=127.0.0.1 ==> #bind-address=127.0.0.1 2.重启服务:sudo service mysql restart 3.登录mysql:mysql -u root -p grant all privi 阅读全文
摘要:
参考:http://blog.csdn.net/zhushh/article/details/52451441 1.导入软件源的公钥 2.为mongodb创建软件源list文件 ubuntu12.04 ubuntu14.04 ubuntu16.04 3.更新软件源并安装mongodb 如果想要安装特 阅读全文
摘要:
useGeneratedKeys="true" keyProperty="id" <insert id="insertReturnPrimaryKey" parameterType="com.haitao55.spider.order.robot.platform.dos.TaskHistoryDO 阅读全文
摘要:
netstat -lntup|grep 1080 阅读全文
摘要:
原文:http://blog.csdn.net/strokess/article/details/52015014 shadowsocks-qt5 需要通过PPA源安装,仅支持Ubuntu 14.04或更高版本。 1、设置 PPA 源并安装 shadowsocks-qt5 1 2 3 2、安装过程遇 阅读全文
摘要:
sudo apt-get install openssh-server openssh-client 阅读全文
摘要:
1.sudo apt-get install chromium-chromedriver. 2.直接下载:http://chromedriver.storage.googleapis.com/index.html 阅读全文
摘要:
springmvc控制器端可直接用String[]接受数组参数 注意点: $(this).attr("checked",true)这种方式有可能只有一次生效,原因不明 阅读全文
摘要:
其实只需要在map前面加上@RequestParam参数即可,jsp的name等都不变 public String queryByCondition(@RequestParam Map<String, String> params, BuyerDO buyer, Model model){ 阅读全文
摘要:
如果quartz的版本是1.8.5启动会报错,修改给2.0版本以上即可 <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>2.2.0</version> </de 阅读全文