/[cvs]/nfo/doc/computing/sysadmin/linux/howto-suse-prepare-for-server.txt
ViewVC logotype

Annotation of /nfo/doc/computing/sysadmin/linux/howto-suse-prepare-for-server.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Mon Feb 11 01:22:17 2002 UTC (22 years, 6 months ago) by cvsjoko
Branch: nfo, MAIN
CVS Tags: r001, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
first checkin'

1 cvsjoko 1.1 $Id$
2    
3     $Log$
4    
5    
6     ================================================================
7     root-activity-log for server.webpla.net after reboot on 2002-02-05 17:00
8     ================================================================
9    
10     #########################
11     main server (suse)
12     #########################
13     [+] control open ports and shutdown unneeded
14     [+] control processlist and shutdown unneeded processes
15     - ps ax
16     - lsof -i
17    
18     - shutdown X-server (listening on port "6000")
19     - WORKAROUND: rcxdm stop
20     - FIXME: disable X11 on startup
21     - shutdown lisa (listening on port "7741")
22     - WORKAROUND: rclisa stop
23     - FIXME: disable lisa on startup
24     - in "/etc/rc.config" set:
25     USE_LISA="none"
26     - stop identd (listening on port "ident")
27     - WORKAROUND: rcidentd stop
28     - FIXME: disable identd on startup
29     - in "/etc/rc.config" set:
30     START_IDENTD="no"
31     - modify ntop-port
32     - in "/etc/rc.config" set:
33     NTOPD_PORT="8030"
34    
35    
36     [-] start needed services
37     - start mysql
38     - cd /usr/local/mysql
39     - ./bin/mysqld_safe --bind-address=212.123.127.169 &
40     - start apache
41     - rcapache start
42     - start snmpd (for mrtg)
43     - rcsnmpd start
44     - enable in /etc/rc.config && run SuSEconfig
45     - start ntopd
46     - rcntopd start
47     - enable in /etc/rc.config && run SuSEconfig
48     - modify ntop to "store persistently host stats"
49     - in /usr/sbin/rcntopd (/etc/rc.d/init.d/ntopd) add switch "-S" to ntopd-start-call
50    
51     [+] otj:
52     - /etc/inittab: change default-runlevel to "3"
53     - startup-skripts
54    
55     - create /home/service/bin/vsdhosts & /home/service/bin/vsdhosts.pl
56     - cd /usr/sbin/
57     - ln -s /home/service/bin/vsdhosts rcvsdhosts
58     - cd /etc/rc.d/rc3.d
59     - ln -s /home/service/bin/vsdhosts S30vsdhosts
60     - ln -s /home/service/bin/vsdhosts K01vsdhosts
61    
62     - create /home/service/bin/accounting
63     - cd /usr/sbin/
64     - ln -s /home/service/bin/accounting rcaccounting
65     - cd /etc/rc.d/rc3.d
66     - ln -s /home/service/bin/accounting S30accounting
67     - ln -s /home/service/bin/accounting K01accounting
68    
69    
70     [-] install software
71     - tbd
72    
73     => just ssh, httpd and mysqld should be listening for requests; "lsof -i", "ps ax", again ;)
74    
75     - FIXME: enable firewall-rules for ip-based accounting
76     - FIXME: enable firewall-rules for security-restrictions
77     (- FIXME: run SuSEconfig?)
78     (- FIXME: reboot and test changes?)
79    
80    
81     #########################
82     vsd-hosts
83     #########################
84     - start inetd
85     - WORKAROUND: rcinetd start
86     - FIXME: enable "inetd" on startup (in /etc/rc.config)
87    
88     - prepare vsd-hosts:
89     - see "freevsd-prepare-vhost.txt"
90     - start host: "vsboot --start <vhost-name>"
91     - netfrag, martha1, moon1-4, experimental1
92    
93    
94    
95    
96    
97     #########################
98     main server (suse)
99     #########################
100    
101     (- FIXME: run SuSEconfig)
102     (- FIXME: reboot and test changes?)
103    

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed