摘要: Dbian 静态IP配置 (实践成功) https://www.programminghunter.com/article/886832039/ Centos7 静态IP配置 (实践成功) https://www.cnblogs.com/xuchuangye/p/14250286.html 加这个才 阅读全文
posted @ 2022-06-28 15:42 andy_1987_chen 阅读(24) 评论(0) 推荐(0) 编辑
摘要: centos7.5关闭防火墙:service iptables stopservice iptables status 或者 service firewalld stop centos7.5重启crond:systemctl start crond.service 查看版本: cat /etc/re 阅读全文
posted @ 2020-02-18 10:33 andy_1987_chen 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 用 ubuntu16 http://www.finnie.org/software/raspberrypi/ubuntu-rpi3/ubuntu-16.04-preinstalled-server-armhf+raspi3.img.xz 默认账号: name “ubuntu”, password “ 阅读全文
posted @ 2019-10-02 18:02 andy_1987_chen 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 一、 包的概念和规范 1、import 导入的参数是路径,而非包名。 2、尽管习惯将包名和目录名保证一致,但这不是强制规定; 3、在代码中引用包成员时,使用包名而非目录名; 4、同一目录下,所有源文件都是同一个包,所以必须使用相同的包名称。 阅读全文
posted @ 2019-09-28 10:04 andy_1987_chen 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 进程和线程A. 进程是程序在操作系统中的一次执行过程,系统进行资源分配和调度的一个独立单位。B. 线程是进程的一个执行实体,是CPU调度和分派的基本单位,它是比进程更小的能独立运行的基本单位。C.一个进程可以创建和撤销多个线程;同一个进程中的多个线程之间可以并发执行。 并发和并行A. 多线程程序在一 阅读全文
posted @ 2019-09-24 19:31 andy_1987_chen 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 每天第一次连接局域网中的机器,总会失败,马上尝试第二次就好了;如果长时间不连接,再进行一次连接,第一次也会出现问题. 重装TCP,IP协议。 http://www.mamicode.com/info-detail-338947.html https://www.cnblogs.com/justang 阅读全文
posted @ 2019-06-12 10:32 andy_1987_chen 阅读(183) 评论(0) 推荐(0) 编辑
摘要: /etc/sysctl.conf net.core.netdev_max_backlog = 1048576 # 默认为1000net.ipv4.tcp_max_syn_backlog = 1048576 # 默认为1024 nginx:数量是cpu核数的2倍性能最优nginx.conf worke 阅读全文
posted @ 2019-02-21 15:22 andy_1987_chen 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 搞定 不小心删除了python3: https://blog.csdn.net/code_segment/article/details/78559717 阅读全文
posted @ 2019-02-20 20:31 andy_1987_chen 阅读(629) 评论(0) 推荐(0) 编辑
摘要: wget https://pecl.php.net/get/apcu-5.1.15.tgztar xzf apcu-5.1.15.tgzcd apcu-5.1.15 phpize ./configure --with-php-config=/usr/local/php/bin/php-config 阅读全文
posted @ 2018-12-15 14:20 andy_1987_chen 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 一、创建新分支 1. git branch 查看已有的所有分支。 2. git branch andy 创建名叫andy的分支。 3. git branch 再看看是不是多了一个叫andy的分支,例如: *master andy 4. git checkout andy 切换到andy分支 5. g 阅读全文
posted @ 2018-10-19 14:30 andy_1987_chen 阅读(112) 评论(0) 推荐(0) 编辑