系统环境:ubuntu15.04 64bit , privoxy 3.0.24 代理环境:http://www.cnblogs.com/liuxuzzz/p/5324749.html 1. 重现失败环境。 不知道是什么原因,privoxy无法开机启动。于是,我手动使用systemctl开启。 结果失 ...
分类:
其他好文 时间:
2016-03-28 17:01:47
阅读次数:
628
Centos系统启动流程启动流程:POST-->BootSequence(BIOS)-->Bootloader(MBR)->kernel(ramdisk)-->rootfs(switch_root)-->/sbin/init(/etc/inittab,/etc/init/*.conf,/usr/lib/systemd/system/)-->默认运行级别、系统初始化、关闭及启动服务、启动终端(图形..
分类:
其他好文 时间:
2016-03-27 00:09:00
阅读次数:
383
sysdig工具,可以有strace ,tcpdump,lsof的功能。 前台任务与后台任务,知识点:test.sh &,Ctrl+z,bg,shopt grep |huponexit,disown,nohup test.sh &,,screen与tmux, 或者用init(systemd,这是一个
分类:
系统相关 时间:
2016-03-19 14:39:38
阅读次数:
282
理解Linux启动过程 在我们打开Linux电脑的电源后第一个启动的进程就是init。分配给init进程的PID是1。它是系统其他所有进程的父进程。当一台Linux电脑启动后,处理器会先在系统存储中查找BIOS,之后BIOS会检测系统资源然后找到第一个引导设备,通常为硬盘,然后会查找硬盘的主引导记录
分类:
其他好文 时间:
2016-03-08 23:43:00
阅读次数:
250
centos 7以上是用Systemd进行系统初始化的,Systemd 是 Linux 系统中最新的初始化系统(init),它主要的设计目标是克服 sysvinit 固有的缺点,提高系统的启动速度。关于Systemd的详情介绍在这里。 Systemd服务文件以.service结尾,比如现在要建立ng
分类:
其他好文 时间:
2016-03-03 17:37:34
阅读次数:
129
Malformed lock file found: /var/cache/dnf/metadata_lock.pid.Ensure no other dnf process is running and remove the lock file manually or run systemd-tm
分类:
Web程序 时间:
2016-03-02 19:48:30
阅读次数:
321
CentOS 7的服务systemctl脚本存放在:/usr/lib/systemd/,有系统(system)和用户(user)之分,像需要开机不登陆就能运行的程序,还是存在系统服务里吧,即:/usr/lib/systemd/system目录下 每一个服务以.service结尾,一般会分为3部分:[
分类:
其他好文 时间:
2016-02-07 02:20:00
阅读次数:
229
Two things you need to know: 1) Systemd boots towards the target given by "default.target". This is typically a symbolic link to the actual target fil
分类:
其他好文 时间:
2016-01-29 11:48:07
阅读次数:
144
前言:本文章转自我的个人博客http://www.anyisalin.com欢迎大家访问此文章是我学习RHCE7.0时所记笔记,希望能够对大家有所帮助系统日志架构 系统日志 进程和操作系统内核需要能够未发生的时间记日志。这些日志可用于系统审核和问题的故障排除。依照惯例,这些日志永久存储在..
分类:
其他好文 时间:
2016-01-19 01:48:54
阅读次数:
224
[root@localhost~]#serviceiptablesstartRedirectingto/bin/systemctlstartiptables.service[root@localhost~]#/bin/systemctlstartiptables.service[root@localhost~]#serviceiptablesstatusRedirectingto/bin/systemctlstatusiptables.serviceiptables.service-IPv4firewallw..
分类:
Web程序 时间:
2016-01-17 00:01:57
阅读次数:
254