Chinaunix首页 | 论坛 | 博客
  • 博客访问: 319280
  • 博文数量: 72
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 748
  • 用 户 组: 普通用户
  • 注册时间: 2018-09-21 18:49
文章分类

全部博文(72)

我的朋友

发布时间:2018-12-12 19:32:28

在创建表时发生Column 'gender' has duplicated value '?' in ENUM的错误......【阅读全文】

阅读(2063) | 评论(0) | 转发(0)

发布时间:2018-12-12 17:01:54

......【阅读全文】

阅读(1662) | 评论(0) | 转发(0)

发布时间:2018-11-29 10:27:44

[root@localhost ~]# python test.py请输入qwerTraceback (most recent call last):  File "test.py", line 3, in <module>    a = input('请输入')  File "<string>", line 1, in <module>NameError: name 'qwer' is not definedtest.py文件内容如下[root@localhost ~]# cat test.py.........【阅读全文】

阅读(1682) | 评论(0) | 转发(0)

发布时间:2018-11-28 22:50:54

[root@server testpython]# python server.py  File "server.py", line 8SyntaxError: Non-ASCII character '\xe7' in file server.py on line 8, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details报错原因:因为Python在默认状态下不支持源文件中的编码所致解决办法:#!/us.........【阅读全文】

阅读(1215) | 评论(0) | 转发(0)

发布时间:2018-11-23 11:33:20

centos7中编辑python脚本时,导入了psutil模块,在执行时出错[root@server ~]# ./hello.pyTraceback (most recent call last):  File "./hello.py", line 2, in     import psutilModuleNotFoundError: No module named 'psutil'......【阅读全文】

阅读(2056) | 评论(0) | 转发(0)

发布时间:2018-11-22 13:55:41

centos 7 (1)ifconfig   没有主机ip地址(2)systemctl status network  报错           systemctl start network报错     Failed to start LSB: Bring up/down networking(3)试着执行systemctl stop NetworkManager(4)ifconfig 得到主机的ip,恢复正常.........【阅读全文】

阅读(2638) | 评论(0) | 转发(0)

发布时间:2018-11-20 21:37:41

A记录优先于CNAME记录。即如果一个主机地址同时存在A记录和CNAME记录,则CNAME记录不生效。......【阅读全文】

阅读(649) | 评论(0) | 转发(0)

发布时间:2018-11-20 19:21:20

一发现问题(1)crontab -e*/1 * * * * student date >> /tmp/date(2)cat /tmp/date 发现并没有内容        tail -f /var/log/cron         发现计划任务在执行,(3) crontab -e*/1 * * * * student date &>>/tmp/date(4)cat /tmp/date  发现文件里面有如下错.........【阅读全文】

阅读(868) | 评论(0) | 转发(0)

发布时间:2018-11-19 22:32:27

在执行命令setfacl-m u:natasha:rw /var/tmp/fstab时报错 setfacl: Option -m: Invalid argument near character 3 原因:natasha这个用户不存在,useradd natasha 问题解决......【阅读全文】

阅读(2189) | 评论(0) | 转发(0)

发布时间:2018-11-15 21:38:10

Can't locate Mail/Sender.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/disk_sendmail.pl line 2.BEGIN failed--compilation aborted at /home/disk_sendmail.pl line 2.出现.........【阅读全文】

阅读(891) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

tomcoding2019-01-09 13:31

高技术含量的源代码下载,百度tomcoding

回复  |  举报
留言热议
请登录后留言。

登录 注册