1 yum update
2 yum -y update
3 vim /etc/selinux/config
4 yum install yum-plugin-fastestmirror
5 iptables -F
6 iptables -X
7 service iptables save
8 reboot
9 vim /etc/inittab
10 reboot
11 yum-plugin-fastestmirror
12 yum install vim-enhanced
13 yum install wget
14 ls
15 mkdir qmail
16 cd qmail/
17 ls
18 mkdir src
19 ls
20 cd src/
21 iptables -F
22 iptables -X
23 service iptables save
24 vi /etc/selinux/config
25 wget http://www.qmailtoaster.com/distro/fedora/fedora_12/current-download-scri
pt.sh
26 ls
27 sh current-download-script.sh
28 ls
29 mkdir scripts
30 ls
31 cd scripts/
32 ls
33 wget http://www.qmailtoaster.com/distro/fedora/fedora_12/fedora12-svcs.sh
34 ls
35 vim fedora12-svcs.sh
36 wget http://www.qmailtoaster.com/distro/fedora/fedora_12/fedora12-deps.sh
37 ls
38 vim fedora12-deps.sh
39 wget http://www.qmailtoaster.com/distro/fedora/fedora_12/firewall.sh
40 ls
41 vim firewall.sh
42 ls
43 wget http://www.qmailtoaster.com/distro/fedora/fedora_12/fedora12-perl.sh
44 ls
45 vim fedora12-perl.sh
46 ls
47 wget http://www.qmailtoaster.com/distro/fedora/fedora_12/mysql-setup.sh
48 ls
49 vim mysql-setup.sh
50 ls
51 vim mysql-setup.sh
52 ipconfig
53 ifconfig
54 ls
55 vim mysql-setup.sh
56 ls
57 vim fedora12-deps.sh
58 rpm -e --nodeps sendmail
59 yum -y remove evolution
60 rpm -e --nodeps exim
61 yum -y install aspell autoconf automake automake17 bzip2 bzip2-devel compat-gc
c-34 compat-gcc-34-c++ curl curl-devel expect expect-devel gcc gcc-c++ gdbm gdbm-deve
l gmp gmp-devel httpd httpd-devel krb5-devel krb5-libs libidn libidn-devel libtool my
sql mysql-devel mysql-server mrtg openssh openssh-clients openssh-server openssl open
ssl-devel pcre pcre-devel perl-Digest-HMAC perl-Digest-SHA1 perl-Net-DNS perl-CPAN pe
rl-Net-DNS perl-Mail-SPF perl-IO-Zlib perl-Archive-Tar perl-libwww-perl php php-imap
php-mysql php-pear redhat-rpm-config rpm-build rpm-devel rpm-libs rpm-python sed setu
p stunnel which libtool-ltdl libtool-ltdl-devel groff make diffutils perl-HTML-Parser
pam-devel procmail ntp ncurses-devel
62 ls
63 sh fedora12-perl.sh
64 /usr/bin/make install
65 ls
66 vim fedora12-deps.sh
67 vim fedora12-svcs.sh
68 ls
69 vim mysql-setup.sh
70 vim fedora12-svcs.sh
71 sh fedora12-svcs.sh
72 ls
73 vim firewall.sh
74 sh firewall.sh
75 yum -y update
76 ls
77 cd ..
78 ls
79 chkconfig mysql
80 chkconfig --list mysql
81 service mysql restart
82 service mysqld restart
83 ls
84 rpmbuild --rebuild --with fedora_11 daemontools-toaster-0.76-1.3.6.src.rpm
85 rpm -Uvh ../../rpmbuild/RPMS/i686/daemontools-toaster-0.76-1.3.6.i686.rpm
86 rpmbuild --rebuild --with fedora_11 ucspi-tcp-toaster-0.88-1.3.9.src.rpm
87 rpm -Uvh ../../rpmbuild/RPMS/i686/ucspi-tcp-toaster*.rpm
88 rpmbuild --rebuild --with fedora_11 vpopmail-toaster-5.4.17-1.3.7.src.rpm
89 rpm -Uvh ../../rpmbuild/RPMS/i686/vpopmail-toaster*.rpm
90 rpmbuild --rebuild --with fedora_11 libdomainkeys-toaster-0.68-1.3.6.src.rpm
91 rpm -Uvh ../../rpmbuild/RPMS/i686/libdomainkeys-toaster*.rpm
92 rpmbuild --rebuild --with fedora_11 libsrs2-toaster-1.0.18-1.3.6.src.rpm
93 rpm -Uvh ../../rpmbuild/RPMS/i686/libsrs2-toaster*.rpm
94 rpmbuild --rebuild --with fedora_11 qmail-toaster-1.03-1.3.20.src.rpm
95 rpm -Uvh ../../rpmbuild/RPMS/i686/qmail-toaster*.rpm
96 rpm -Uvh ../../rpmbuild/RPMS/i686/qmail-pop3d*.rpm
97 rpmbuild --rebuild --with fedora_11 courier-authlib-toaster-0.59.2-1.3.10.src.
rpm
98 rpm -Uvh ../../rpmbuild/RPMS/i686/courier-authlib-toaster*.rpm
99 rpmbuild --rebuild --with fedora_11 courier-imap-toaster-4.1.2-1.3.10.src.rpm
100 rpm -Uvh ../../rpmbuild/RPMS/i686/courier-imap-toaster*.rpm
101 rpmbuild --rebuild --with fedora_11 autorespond-toaster-2.0.4-1.3.6.src.rpm
102 rpm -Uvh ../../rpmbuild/RPMS/i686/autorespond-toaster*.rpm
103 rpmbuild --rebuild --with fedora_11 control-panel-toaster-0.5-1.3.7.src.rpm
104 rpm -Uvh ../../rpmbuild/RPMS/noarch/control-panel-toaster*.rpm
105 rpm -Uvh ../../rpmbuild/RPMS/noarch/send-emails-toaster-0.5-1.3.7.noarch.rpm
106 rpm -Uvh ../../rpmbuild/RPMS/noarch/control-panel-toaster*.rpm
107 rpm -Uvh ../../rpmbuild/RPMS/noarch/send-emails-toaster-0.5-1.3.7.noarch.rpm
108 rpmbuild --rebuild --with fedora_11 ezmlm-toaster-0.53.324-1.3.6.src.rpm
109 rpm -Uvh ../../rpmbuild/RPMS/i686/ezmlm*.rpm
110 rpmbuild --rebuild --with fedora_11 qmailadmin-toaster-1.2.12-1.3.8.src.rpm
111 rpm -Uvh ../../rpmbuild/RPMS/i686/qmailadmin-toaster*.rpm
112 rpmbuild --rebuild --with fedora_11 qmailmrtg-toaster-4.2-1.3.6.src.rpm
113 rpm -Uvh ../../rpmbuild/RPMS/i686/qmailmrtg-toaster*.rpm
114 rpmbuild --rebuild --with fedora_11 maildrop-toaster-2.0.3-1.3.8.src.rpm
115 rpm -Uvh ../../rpmbuild/RPMS/i686/maildrop-toaster*.rpm
116 rpmbuild --rebuild --with fedora_11 isoqlog-toaster-2.1-1.3.7.src.rpm
117 rpm -Uvh ../../rpmbuild/RPMS/i686/isoqlog-toaster*.rpm
118 rpmbuild --rebuild --with fedora_11 vqadmin-toaster-2.3.4-1.3.6.src.rpm
119 rpm -Uvh ../../rpmbuild/RPMS/i686/vqadmin-toaster*.rpm
120 rpmbuild --rebuild --with fedora_11 squirrelmail-toaster-1.4.20-1.3.17.src.rpm
121 rpm -Uvh ../../rpmbuild/RPMS/noarch/squirrelmail-toaster*.rpm
122 vim /etc/httpd/conf/squirrelmail.conf
123 rpmbuild --rebuild --with fedora_11 spamassassin-toaster-3.2.5-1.3.17.src.rpm
124 rpm -Uvh --nodeps ../../rpmbuild/RPMS/i686/spamassassin-toaster*.rpm
125 rpmbuild --rebuild --with fedora_11 clamav-toaster-0.96.0-1.3.35.src.rpm
126 rpm -Uvh ../../rpmbuild/RPMS/i686/clamav-toaster*.rpm
127 rpmbuild --rebuild --with fedora_11 ripmime-toaster-1.4.0.6-1.3.6.src.rpm
128 rpm -Uvh ../../rpmbuild/RPMS/i686/ripmime-toaster*.rpm
129 rpmbuild --rebuild --with fedora_11 simscan-toaster-1.4.0-1.3.8.src.rpm
130 rpm -Uvh ../../rpmbuild/RPMS/i686/simscan-toaster*.rpm
131 cd ../..r
132 cd
133 cd /root/rpmbuild/
134 ls
135 cd SOURCES/
136 ls
137 cd ..
138 ls
139 cd SRPMS/
转载于:https://blog.51cto.com/steven2/381494