2020年10月9日
摘要: vi /etc/ssh/sshd_config 找到 PermitRootLogin prohibit-password 然后用#注释掉这一句 加上 PermitRootLogin yes /etc/init.d/ssh restart sudo passwd root 设置root密码 阅读全文
posted @ 2020-10-09 10:04 张扬个性,敢为天下先 阅读(138) 评论(0) 推荐(0) 编辑
  2020年9月16日
摘要: 1. 安装 $ cd /usr/local/bin $ wget https://cs.symfony.com/download/php-cs-fixer-v2.phar -O php-cs-fixer $ chmod +x php-cs-fixer 2. 配置到PhpStorm 阅读全文
posted @ 2020-09-16 11:38 张扬个性,敢为天下先 阅读(788) 评论(0) 推荐(0) 编辑
  2020年5月16日
摘要: 解决方法:1、在启动mysql的参数中加入跳过密码问题方式,如下:vim /etc/my.cnf并在[mysql]下面加上skip-grant-tables, 2: [root@localhost ~]# mysql -uroot -p123456 mysql> use mysql Database 阅读全文
posted @ 2020-05-16 10:38 张扬个性,敢为天下先 阅读(1156) 评论(0) 推荐(0) 编辑
  2019年10月31日
摘要: 原因:MongoDB不再是开源的了,并且已经从Homebrew中移除 #43770 设定: $ brew tap mongodb/brew 安装: $ brew install mongodb-community@4.2 启动:$ brew services start mongodb-commun 阅读全文
posted @ 2019-10-31 10:16 张扬个性,敢为天下先 阅读(6226) 评论(0) 推荐(0) 编辑
  2019年8月1日
摘要: https://blog.csdn.net/TCF_JingFeng/article/details/80756617 阅读全文
posted @ 2019-08-01 18:14 张扬个性,敢为天下先 阅读(2483) 评论(0) 推荐(0) 编辑
  2019年6月11日
摘要: IFNULL(v1,v2); 其中:如果 v1 不为 NULL,则 IFNULL 函数返回 v1; 否则返回 v2 的结果。 阅读全文
posted @ 2019-06-11 12:03 张扬个性,敢为天下先 阅读(4266) 评论(0) 推荐(0) 编辑
  2019年4月23日
摘要: 1:安装 2:启动 阅读全文
posted @ 2019-04-23 22:25 张扬个性,敢为天下先 阅读(2630) 评论(0) 推荐(0) 编辑
  2019年2月14日
摘要: 1:登陆 ./redis-cli -h 10.0.0.100 -p 6379 需要密码 ((error) NOAUTH Authentication required.) auth 密码 2.对value操作的命令 exists(key):确认一个key是否存在 del(key):删除一个key t 阅读全文
posted @ 2019-02-14 15:43 张扬个性,敢为天下先 阅读(726) 评论(0) 推荐(0) 编辑
  2018年10月29日
摘要: 2,制作exe 1,先写一个hello.py 2.执行(在script文件夹下) pyinstaller -F ../project/hello.py 阅读全文
posted @ 2018-10-29 13:58 张扬个性,敢为天下先 阅读(1097) 评论(0) 推荐(0) 编辑
  2018年10月15日
摘要: 2.1 pip安装numpy 2.2 pip安装sklearn 2.3 pip安装scipy(注:sklearn 依赖scipy包) pip install scipy 3 Python机器学习包测试 python >>> import sklearn>>> import numpy>>> impo 阅读全文
posted @ 2018-10-15 17:03 张扬个性,敢为天下先 阅读(1274) 评论(0) 推荐(0) 编辑