记录centos安装步骤的文件及安装日志是哪个?

当你的cnetos安装完成之后,会在/root目录生成一个anaconda-ks.cfg安装文件,通过该文件我们可以非常清楚的了解Centos安装的详细过程及情况,而且可以很方便的大规模布署Centos,实现无人值守的安装,以下为anaconda-ks.cfg文件的详细信息供大家参考!

[root@localhost ~]# cat anaconda-ks.cfg
# Kickstart file automatically generated by anaconda.

#version=DEVEL
install
cdrom
lang zh_CN.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto static --ip 192.168.1.6 --netmask 255.255.255.0 --gateway 192.168.1.1 --noipv6 --">nameserver 192.168.1.1
rootpw  --iscrypted $6$vYMhFpQhZRf0ZUfu$zvqOGTL8XZUAe.9THa4a39D9N5e.QdeN9wJ9zcM73K/erBFmrSzdDv8YHlD1UNYJpaHTWIpHEoD8ZXhYPOr9.1
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Asia/Shanghai
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --linux --drives=sda
#volgroup VolGroup --pesize=4096 pv.008002
#logvol / --fstype=ext4 --name=lv_root --vgname=VolGroup --grow --size=1024 --maxsize=51200
#logvol swap --name=lv_swap --vgname=VolGroup --grow --size=4064 --maxsize=4064

#part /boot --fstype=ext4 --size=500
#part pv.008002 --grow --size=1

repo --name="CentOS"  --baseurl=cdrom:sr0 --cost=100

%packages
@base
@chinese-support
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@input-methods
@internet-applications
@internet-browser
@java-platform
@legacy-x
@network-file-system-client
@office-suite
@print-client
@remote-desktop-clients
@server-platform
@server-policy
@x11
mtools
oddjob
wodim
sgpio
genisoimage
device-mapper-persistent-data
pax
abrt-gui
samba-winbind
certmonger
pam_krb5
krb5-workstation
gnome-pilot
libXmu

我们也可以通过查看install.log日志文件,来判断Centos安装了哪些程序。

[root@localhost ~]# cat install.log

安装 valgrind-3.8.1-3.2.el6.i686
安装 enscript-1.6.4-15.el6.i686
安装 ledmon-0.74-1.el6.i686
安装 efibootmgr-0.5.4-10.el6.i686
安装 xvattr-1.3-18.el6.i686
安装 mlocate-0.22.2-4.el6.i686
安装 ltrace-0.5-23.45svn.el6.i686
安装 lsof-4.82-4.el6.i686
安装 rsync-3.0.6-9.el6.i686
安装 nano-2.0.9-7.el6.i686
安装 libitm-4.7.0-5.1.1.el6.i686
安装 attr-2.4.44-7.el6.i686
安装 nfs4-acl-tools-0.3.3-6.el6.i686
安装 scl-utils-20120927-2.el6.i686
安装 wdaemon-0.17-5.el6.i686
安装 mtr-0.75-5.el6.i686
安装 traceroute-2.0.14-2.el6.i686
安装 setserial-2.17-25.el6.i686
安装 vconfig-1.9-8.1.el6.i686
安装 rfkill-0.3-4.el6.i686
安装 rdate-1.4-16.el6.i686
安装 zip-3.0-1.el6.i686
安装 bridge-utils-1.2-10.el6.i686
安装 eject-2.1.5-17.el6.i686
安装 strace-4.5.19-1.17.el6.i686
安装 b43-fwcutter-012-2.2.el6.i686
安装 latrace-0.5.9-2.el6.i686
安装 trace-cmd-1.0.5-10.el6.i686
安装 crash-trace-command-1.0-4.el6.i686
......

内容太多忽略,有兴趣的朋友可以使用cat命令查看一下!

install.log.syslog是安装时对用户及用户组的配置,如创建用户、用户组等。

[root@localhost ~]# cat install.log.syslog
<86>Feb 17 16:35:03 groupadd[1942]: group added to /etc/group: name=dbus, GID=81
<86>Feb 17 16:35:03 groupadd[1942]: group added to /etc/gshadow: name=dbus
<86>Feb 17 16:35:03 groupadd[1942]: new group: name=dbus, GID=81
<86>Feb 17 16:35:03 useradd[1946]: new user: name=dbus, UID=81, GID=81, home=/, shell=/sbin/nologin
<86>Feb 17 16:35:17 groupadd[2035]: group added to /etc/group: name=usbmuxd, GID=113
<86>Feb 17 16:35:17 groupadd[2035]: group added to /etc/gshadow: name=usbmuxd
<86>Feb 17 16:35:17 groupadd[2035]: new group: name=usbmuxd, GID=113
<86>Feb 17 16:35:17 useradd[2040]: new user: name=usbmuxd, UID=113, GID=113, home=/, shell=/sbin/nologin
<86>Feb 17 16:35:18 groupadd[2055]: group added to /etc/group: name=utmp, GID=22
<86>Feb 17 16:35:18 groupadd[2055]: group added to /etc/gshadow: name=utmp
<86>Feb 17 16:35:18 groupadd[2055]: new group: name=utmp, GID=22
<86>Feb 17 16:35:18 groupadd[2059]: group added to /etc/group: name=utempter, GID=35
<86>Feb 17 16:35:18 groupadd[2059]: group added to /etc/gshadow: name=utempter
<86>Feb 17 16:35:18 groupadd[2059]: new group: name=utempter, GID=35
<86>Feb 17 16:35:22 groupadd[2103]: group added to /etc/group: name=desktop_admin_r, GID=499
<86>Feb 17 16:35:22 groupadd[2103]: group added to /etc/gshadow: name=desktop_admin_r
<86>Feb 17 16:35:22 groupadd[2103]: new group: name=desktop_admin_r, GID=499
<86>Feb 17 16:35:22 groupadd[2107]: group added to /etc/group: name=desktop_user_r, GID=498
<86>Feb 17 16:35:22 groupadd[2107]: group added to /etc/gshadow: name=desktop_user_r
<86>Feb 17 16:35:22 groupadd[2107]: new group: name=desktop_user_r, GID=498
<86>Feb 17 16:35:24 groupadd[2135]: group added to /etc/group: name=floppy, GID=19
<86>Feb 17 16:35:24 groupadd[2135]: group added to /etc/gshadow: name=floppy
<86>Feb 17 16:35:24 groupadd[2135]: new group: name=floppy, GID=19
<86>Feb 17 16:35:24 groupadd[2140]: group added to /etc/group: name=vcsa, GID=69
<86>Feb 17 16:35:24 groupadd[2140]: group added to /etc/gshadow: name=vcsa
<86>Feb 17 16:35:24 groupadd[2140]: new group: name=vcsa, GID=69
<86>Feb 17 16:35:24 useradd[2145]: new user: name=vcsa, UID=69, GID=69, home=/dev, shell=/sbin/nologin
<86>Feb 17 16:35:48 groupadd[2413]: group added to /etc/group: name=rpc, GID=32
<86>Feb 17 16:35:48 groupadd[2413]: group added to /etc/gshadow: name=rpc
<86>Feb 17 16:35:48 groupadd[2413]: new group: name=rpc, GID=32
<86>Feb 17 16:35:48 useradd[2417]: new user: name=rpc, UID=32, GID=32, home=/var/cache/rpcbind, shell=/sbin/nologin
<86>Feb 17 16:35:54 groupadd[2439]: group added to /etc/group: name=rtkit, GID=497
<86>Feb 17 16:35:54 groupadd[2439]: group added to /etc/gshadow: name=rtkit
<86>Feb 17 16:35:54 groupadd[2439]: new group: name=rtkit, GID=497
<86>Feb 17 16:35:54 useradd[2444]: new user: name=rtkit, UID=499, GID=497, home=/proc, shell=/sbin/nologin
<86>Feb 17 16:36:35 groupadd[2647]: group added to /etc/group: name=avahi-autoipd, GID=170
<86>Feb 17 16:36:35 groupadd[2647]: group added to /etc/gshadow: name=avahi-autoipd
<86>Feb 17 16:36:35 groupadd[2647]: new group: name=avahi-autoipd, GID=170
<86>Feb 17 16:36:35 useradd[2652]: new user: name=avahi-autoipd, UID=170, GID=170, home=/var/lib/avahi-autoipd, shell=/sbin/nologin
<86>Feb 17 16:36:42 groupadd[2717]: group added to /etc/group: name=cdrom, GID=11
<86>Feb 17 16:36:42 groupadd[2717]: group added to /etc/gshadow: name=cdrom
<86>Feb 17 16:36:42 groupadd[2717]: new group: name=cdrom, GID=11
<86>Feb 17 16:36:42 groupadd[2722]: group added to /etc/group: name=tape, GID=33
<86>Feb 17 16:36:42 groupadd[2722]: group added to /etc/gshadow: name=tape
<86>Feb 17 16:36:42 groupadd[2722]: new group: name=tape, GID=33
<86>Feb 17 16:36:42 groupadd[2727]: group added to /etc/group: name=dialout, GID=18
<86>Feb 17 16:36:42 groupadd[2727]: group added to /etc/gshadow: name=dialout
<86>Feb 17 16:36:42 groupadd[2727]: new group: name=dialout, GID=18
<86>Feb 17 16:36:53 groupadd[2769]: group added to /etc/group: name=wbpriv, GID=88
<86>Feb 17 16:36:53 groupadd[2769]: group added to /etc/gshadow: name=wbpriv
<86>Feb 17 16:36:53 groupadd[2769]: new group: name=wbpriv, GID=88
<86>Feb 17 16:37:04 groupadd[2809]: group added to /etc/group: name=pulse, GID=496
<86>Feb 17 16:37:04 groupadd[2809]: group added to /etc/gshadow: name=pulse
<86>Feb 17 16:37:04 groupadd[2809]: new group: name=pulse, GID=496
<86>Feb 17 16:37:04 useradd[2814]: new user: name=pulse, UID=498, GID=496, home=/var/run/pulse, shell=/sbin/nologin
<86>Feb 17 16:37:04 groupadd[2819]: group added to /etc/group: name=pulse-access, GID=495
<86>Feb 17 16:37:04 groupadd[2819]: group added to /etc/gshadow: name=pulse-access
<86>Feb 17 16:37:04 groupadd[2819]: new group: name=pulse-access, GID=495
<86>Feb 17 16:37:16 groupadd[2877]: group added to /etc/group: name=fuse, GID=494
<86>Feb 17 16:37:16 groupadd[2877]: group added to /etc/gshadow: name=fuse
<86>Feb 17 16:37:16 groupadd[2877]: new group: name=fuse, GID=494
<86>Feb 17 16:37:17 groupadd[2892]: group added to /etc/group: name=haldaemon, GID=68
<86>Feb 17 16:37:17 groupadd[2892]: group added to /etc/gshadow: name=haldaemon
<86>Feb 17 16:37:17 groupadd[2892]: new group: name=haldaemon, GID=68
<86>Feb 17 16:37:17 useradd[2897]: new user: name=haldaemon, UID=68, GID=68, home=/, shell=/sbin/nologin
<86>Feb 17 16:37:17 useradd[2897]: add 'haldaemon' to group 'haldaemon'
<86>Feb 17 16:37:17 useradd[2897]: add 'haldaemon' to shadow group 'haldaemon'
<86>Feb 17 16:37:21 groupadd[2913]: group added to /etc/group: name=ntp, GID=38
<86>Feb 17 16:37:21 groupadd[2913]: group added to /etc/gshadow: name=ntp
<86>Feb 17 16:37:21 groupadd[2913]: new group: name=ntp, GID=38
<86>Feb 17 16:37:21 useradd[2917]: new user: name=ntp, UID=38, GID=38, home=/etc/ntp, shell=/sbin/nologin
<86>Feb 17 16:37:24 groupadd[2943]: group added to /etc/group: name=apache, GID=48
<86>Feb 17 16:37:24 groupadd[2943]: group added to /etc/gshadow: name=apache
<86>Feb 17 16:37:24 groupadd[2943]: new group: name=apache, GID=48
<86>Feb 17 16:37:24 useradd[2948]: new user: name=apache, UID=48, GID=48, home=/var/www, shell=/sbin/nologin
<86>Feb 17 16:37:25 groupadd[2971]: group added to /etc/group: name=saslauth, GID=76
<86>Feb 17 16:37:25 groupadd[2971]: group added to /etc/gshadow: name=saslauth
<86>Feb 17 16:37:25 groupadd[2971]: new group: name=saslauth, GID=76
<86>Feb 17 16:37:25 useradd[2976]: new user: name=saslauth, UID=497, GID=76, home=/var/empty/saslauth, shell=/sbin/nologin
<86>Feb 17 16:37:25 groupadd[2984]: group added to /etc/group: name=postdrop, GID=90
<86>Feb 17 16:37:25 groupadd[2984]: group added to /etc/gshadow: name=postdrop
<86>Feb 17 16:37:25 groupadd[2984]: new group: name=postdrop, GID=90
<86>Feb 17 16:37:25 groupadd[2988]: group added to /etc/group: name=postfix, GID=89
<86>Feb 17 16:37:25 groupadd[2988]: group added to /etc/gshadow: name=postfix
<86>Feb 17 16:37:25 groupadd[2988]: new group: name=postfix, GID=89
<86>Feb 17 16:37:25 useradd[2993]: new user: name=postfix, UID=89, GID=89, home=/var/spool/postfix, shell=/sbin/nologin
<86>Feb 17 16:37:25 useradd[2993]: add 'postfix' to group 'mail'
<86>Feb 17 16:37:25 useradd[2993]: add 'postfix' to shadow group 'mail'
<86>Feb 17 16:37:33 groupadd[3468]: group added to /etc/group: name=abrt, GID=173
<86>Feb 17 16:37:33 groupadd[3468]: group added to /etc/gshadow: name=abrt
<86>Feb 17 16:37:33 groupadd[3468]: new group: name=abrt, GID=173
<86>Feb 17 16:37:33 useradd[3473]: new user: name=abrt, UID=173, GID=173, home=/etc/abrt, shell=/sbin/nologin
<86>Feb 17 16:37:37 useradd[3506]: new group: name=rpcuser, GID=29
<86>Feb 17 16:37:37 useradd[3506]: new user: name=rpcuser, UID=29, GID=29, home=/var/lib/nfs, shell=/sbin/nologin
<86>Feb 17 16:37:37 groupadd[3515]: group added to /etc/group: name=nfsnobody, GID=65534
<86>Feb 17 16:37:37 groupadd[3515]: group added to /etc/gshadow: name=nfsnobody
<86>Feb 17 16:37:37 groupadd[3515]: new group: name=nfsnobody, GID=65534
<86>Feb 17 16:37:37 useradd[3522]: new user: name=nfsnobody, UID=65534, GID=65534, home=/var/lib/nfs, shell=/sbin/nologin
<86>Feb 17 16:37:48 groupadd[3602]: group added to /etc/group: name=gdm, GID=42
<86>Feb 17 16:37:48 groupadd[3602]: group added to /etc/gshadow: name=gdm
<86>Feb 17 16:37:48 groupadd[3602]: new group: name=gdm, GID=42
<86>Feb 17 16:37:48 useradd[3607]: new user: name=gdm, UID=42, GID=42, home=/var/lib/gdm, shell=/sbin/nologin
<14>Feb 17 16:39:24 dbus: avc:  received policyload notice (seqno=2)

<86>Feb 17 16:41:10 groupadd[4291]: group added to /etc/group: name=stapusr, GID=156
<86>Feb 17 16:41:10 groupadd[4291]: group added to /etc/gshadow: name=stapusr
<86>Feb 17 16:41:10 groupadd[4291]: new group: name=stapusr, GID=156
<86>Feb 17 16:41:10 groupadd[4296]: group added to /etc/group: name=stapsys, GID=157
<86>Feb 17 16:41:10 groupadd[4296]: group added to /etc/gshadow: name=stapsys
<86>Feb 17 16:41:10 groupadd[4296]: new group: name=stapsys, GID=157
<86>Feb 17 16:41:10 groupadd[4301]: group added to /etc/group: name=stapdev, GID=158
<86>Feb 17 16:41:10 groupadd[4301]: group added to /etc/gshadow: name=stapdev
<86>Feb 17 16:41:10 groupadd[4301]: new group: name=stapdev, GID=158
<86>Feb 17 16:41:12 groupadd[4309]: group added to /etc/group: name=sshd, GID=74
<86>Feb 17 16:41:12 groupadd[4309]: group added to /etc/gshadow: name=sshd
<86>Feb 17 16:41:12 groupadd[4309]: new group: name=sshd, GID=74
<86>Feb 17 16:41:12 useradd[4314]: new user: name=sshd, UID=74, GID=74, home=/var/empty/sshd, shell=/sbin/nologin
<86>Feb 17 16:41:16 groupadd[4367]: group added to /etc/group: name=tcpdump, GID=72
<86>Feb 17 16:41:16 groupadd[4367]: group added to /etc/gshadow: name=tcpdump
<86>Feb 17 16:41:16 groupadd[4367]: new group: name=tcpdump, GID=72
<86>Feb 17 16:41:16 useradd[4371]: new user: name=tcpdump, UID=72, GID=72, home=/, shell=/sbin/nologin
<86>Feb 17 16:41:23 groupadd[4390]: group added to /etc/group: name=slocate, GID=21
<86>Feb 17 16:41:23 groupadd[4390]: group added to /etc/gshadow: name=slocate
<86>Feb 17 16:41:23 groupadd[4390]: new group: name=slocate, GID=21

时间: 2024-09-20 20:40:24

记录centos安装步骤的文件及安装日志是哪个?的相关文章

我按照安装步骤在UNIX上安装PHP到Apache的模块中,

发生这种情况是因为某些原因使PHP的模块没有顺利运行.请在寻求帮助之前,先检查下面三个步骤: 确认你运行的httpd程序是你刚编译过的.请运行/path/to/binary/httpd -l.如果你没有看到 mod_php3.c在列表中,请重装Apache程序.确定你在Apache的配置文件.conf (如 httpd.conf)中加入了MIME类型,如 AddType application/x-httpd-php3 .php3,同时也要确定上面的AddType没有放在 a <Virtualh

Mac中MariaDB数据库的安装步骤_mariadb

前言 MariaDB由MySQL的创始人Michael Widenius主导开发,他早前曾以10亿美元的价格,将自己创建的公司MySQL卖给了SUN,此后,随着SUN被甲骨文收购,MySQL的所有权也落入Oracle的手中.MariaDB名称来自Michael Widenius的女儿Maria的名字.那么在Mac中如何安装MariaDB数据库呢?下面小编就给大家介绍Mac中安装配置MariaDB数据库的方法. MariaDB安装步骤 如果你是Mac上的开发者,通过本文你可以在OS X上通过Hom

CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤_Linux

一.简介 什么是LAMP LAMP是一种Web网络应用和开发环境,是Linux, Apache, MySQL, Php/Perl的缩写,每一个字母代表了一个组件,每个组件就其本身而言都是在它所代表的方面功能非常强大的组件. LAMP这个词的由来最早始于德国杂志"c't Magazine",Michael Kunze在1990年最先把这些项目组合在一起创造了LAMP的缩写字.这些组件并不是开始就设计为一起使用的,但是,这些软件都是开源的,可以很方便的随时获得并免费使用,这就导致了这些组件

Centos 7 Nginx + PHP 安装步骤

Centos 7 下的 PHP7/Nginx/Memcached 安装步骤.对的,没有Mysql,有RDS懒得装Mysql了. 一.获取相关开源程序 1.安装环境所需的程序库 sudo -s LANG=C yum -y update yum remove mariadb* yum -y install patch make cmake gcc gcc-c++ bison flex file libtool libtool-libs autoconf kernel-devel libjpeg li

CentOS 5.4下的Memcache安装步骤(Linux+Nginx+PHP+Memcached)_Linux

一.源码包准备 服务器端主要是安装memcache服务器端,目前的最新版本是 memcached-v1.4.4 .下载:http://memcached.googlecode.com/files/memcached-1.4.4.tar.gz另外,Memcache用到了libevent这个库用于Socket的处理,所以还需要安装libevent, libevent的最新版本是libevent-1.4.13-stable.(如果你的系统已经安装了libevent,可以不用安装)官网:http://w

CentOS 6.3 Linux系统下安装Oracle 10g R2

一.硬件要求 1.内存 & swap Minimum: 1 GB of RAM Recommended: 2 GB of RAM or more 检查内存情况 # grep MemTotal /proc/meminfo # grep SwapTotal /proc/meminfo 2.硬盘 由于CentOS安装后差不多有4~5G,再加上Oracle等等的安装,所以请准备至少10G的硬盘空间. 检查磁盘情况 # df -h 二.软件 系统平台:CentOS 6.3(x86_64) CentOS-6

CentOS 6.4单机环境下安装配置Storm

Storm是一个分布式的.高容错的实时计算系统,在实时性要求比较强的应用场景下,可以用它来处理海量数据.我们尝试着搭建Storm平台,来实现实时计算.下面,我们在CentOS 6.4上安装配置Storm系统. 安装配置 安装配置过程,按照如下步骤进行: 1.安装配置sunjdk 下载sunjdk,并安装Java运行环境: 1 wget http://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin 2 chmod +

Oracle10g + Solaris9 for x86 + vmware安装步骤

oracle 转自:CSDN Oracle于近期发布了最新的Oracle10g for Solaris x86的版本,于是在vmware的Solaris9中测试安装了一下. 本文只是记录安装的基本步骤,对于创建dba用户组和oracle用户等步骤的命令一概省略.注意必须是Solaris9的版本,至少文档中没有明确说明支持Solaris8或者Solaris10 1.到Oracle的OTN站点上下载Oracle10g for Solaris x86的安装盘http://www.oracle.com/

PostgreSQL模板 pg_stat_statements的官方介绍/简单安装步骤

链接:http://blog.itpub.net/28602568/viewspace-2077893/ 标题:PostgreSQL模板 pg_stat_statements的官方介绍/简单安装步骤  作者:lōττéry版权所有[文章允许转载,但必须以链接方式注明源地址,否则追究法律责任.] PostgreSQL 9.3.1 官方中文手册介绍pg_stat_statements F.28. pg_stat_statements pg_stat_statements模块提供一种跟踪执行统计服务器