会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sisul
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2018年2月28日
11.14/11.15 Apache和PHP结合 11.16/11.17 Apache默认虚拟主机
摘要: 去掉# [root@lizhipenglinux01 ~]# /usr/local/apache2.4/bin/apachectl restarthttpd not running, trying to start[root@lizhipenglinux01 ~]# /usr/local/apach
阅读全文
posted @ 2018-02-28 22:26 sisul
阅读(119)
评论(0)
推荐(0)
2018年2月25日
11.10/11.11/11.12 安装PHP5 11.13 安装PHP7
摘要: [root@lizhipenglinux01 src]# cd php-5.6.30/[root@lizhipenglinux01 php-5.6.30]# ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2.4/b
阅读全文
posted @ 2018-02-25 21:46 sisul
阅读(117)
评论(0)
推荐(0)
11.6 MariaDB安装 11.7/11.8/11.9 Apache安装
摘要: [root@lizhipenglinux01 mariadb]# cp support-files/my-small.cnf /usr/local/mariadb/my.conf 配置文件[root@lizhipenglinux01 mariadb]# cp support-files/mysql.
阅读全文
posted @ 2018-02-25 17:50 sisul
阅读(121)
评论(0)
推荐(0)
11.1 LAMP架构介绍 11.2 MySQL、MariaDB介绍 11.3/11.4/11.5 MySQL安装
摘要: 下载完成之后进行解压 tar zxvf mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz 挪目录并且改名字 [root@lizhipenglinux01 mysql]# ./scripts/mysql_install_db --user=mysql --datadi
阅读全文
posted @ 2018-02-25 09:20 sisul
阅读(217)
评论(0)
推荐(0)
2018年2月2日
Python求一元二次方程解
摘要: 题目: 请定义一个函数 ’quadratic(a,b,c)‘,接收三个参数,返回一元二次方程: ax² + bx + c = 0 的两个解。(提示:计算平方根可以调用math.sqrt()函数)
阅读全文
posted @ 2018-02-02 22:39 sisul
阅读(8833)
评论(1)
推荐(0)
2018年1月30日
10.32/10.33 rsync通过服务同步 10.34 linux系统日志 10.35 screen工具
摘要: [root@lizhipenglinux01 ~]# mkdir /tmp/rsync[root@lizhipenglinux01 ~]# chmod 777 /tmp/rsync 第二个机器 [root@lizhipeng02 ~]# rsync -avP /tmp/lizhipeng.txt 1
阅读全文
posted @ 2018-01-30 23:24 sisul
阅读(275)
评论(0)
推荐(0)
2018年1月28日
rsync工具介绍 rsync常用选项 rsync通过ssh同步
摘要: [root@lizhipenglinux01 ~]# rsync -av /etc/passwd /tmp/1.txtsending incremental file listpasswd sent 1318 bytes received 31 bytes 2698.00 bytes/sectota
阅读全文
posted @ 2018-01-28 17:13 sisul
阅读(241)
评论(0)
推荐(0)
linux任务计划cron chkconfig工具 systemd管理服务 unit介绍 target介绍
摘要: [root@lizhipenglinux01 ~]# crontab -e 编写任务计划no crontab for root - using an empty one 20 11 29 01 1 echo "OK" > /root/cron.log 表示在1月29日(星期一)的11点20分执行:e
阅读全文
posted @ 2018-01-28 14:12 sisul
阅读(1071)
评论(0)
推荐(0)
2018年1月26日
10.19 iptables规则备份和恢复 10.20 firewalld的9个zone 10.21 firewalld关于zone的操作 10.22 firewalld关于service的操作
摘要: [root@lizhipenglinux01 ~]# cat /tmp/ipt.txt# Generated by iptables-save v1.4.21 on Fri Jan 26 05:40:28 2018*nat:PREROUTING ACCEPT [3:984]:INPUT ACCEPT
阅读全文
posted @ 2018-01-26 23:46 sisul
阅读(629)
评论(0)
推荐(0)
2018年1月25日
10.15 iptables filter表案例 10.16/10.17/10.18 iptables nat表应用
摘要: 需求:只针对filter表,预设策略表INPUT链DROP,其他两个链ACCEPT,然后针对192.168.5.0/24开通22端口,对所有网段开放80端口,对所有网段开放21端口 恢复到默认状态 [root@lizhipenglinux01 ~]# iptables -I INPUT -p icm
阅读全文
posted @ 2018-01-25 20:19 sisul
阅读(158)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告