29.01.2012, 21:14
Sniky is ebenso ein Berliner Homie aber gute verständliche Anleitung... Wenn du das noch in eine Textanleitung packst, wärs perfekt
(29.01.2012, 21:14)Olli schrieb: Sniky is ebenso ein Berliner Homie
Wenn du das noch in eine Textanleitung packst, wärs perfekt
ps-aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 23320 1572 ? Ss Feb01 0:07 init
root 1172 0.0 0.0 21084 1016 ? Ss Feb01 0:00 cron
mysql 1184 0.0 2.3 168960 24248 ? Ssl Feb01 0:01 /usr/sbin/mysqld --pid-file=/var/run/mysqld/mysqld.pid
syslog 1209 0.0 0.0 12456 796 ? Ss Feb01 0:00 /sbin/syslogd -u syslog
root 1243 0.0 0.0 13884 724 ? S Feb01 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -std
root 1253 0.0 0.0 13884 720 ? S Feb01 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -std
root 1261 0.0 0.0 13884 728 ? S Feb01 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -std
root 1264 0.0 0.0 4008 608 ? S Feb01 0:00 /usr/sbin/courierlogger pop3d
root 1265 0.0 0.0 4008 612 ? S Feb01 0:00 /usr/sbin/courierlogger imapd
root 1277 0.0 0.0 13884 724 ? S Feb01 0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -std
root 1278 0.0 0.0 4008 612 ? S Feb01 0:00 /usr/sbin/courierlogger imapd-ssl
root 1280 0.0 0.0 4008 608 ? S Feb01 0:00 /usr/sbin/courierlogger pop3d-ssl
1000 1330 0.0 0.2 46448 2248 ? S Feb01 0:00 /usr/sbin/sw-cp-serverd -f /etc/sw-cp-server/config
root 1338 0.0 0.0 19532 976 ? Ss Feb01 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive
bind 1346 0.0 1.2 125884 13160 ? Ssl Feb01 0:00 /usr/sbin/named -t /var/named/run-root -c /etc/named.conf -u bind
qmails 1462 0.0 0.0 4064 492 ? S Feb01 0:00 qmail-send
qmaill 1463 0.0 0.0 4016 596 ? S Feb01 0:00 splogger qmail 2
root 1465 0.0 0.0 4056 472 ? S Feb01 0:00 qmail-lspawn | /usr/bin/deliverquota ./Maildir
qmailr 1466 0.0 0.0 4056 444 ? S Feb01 0:00 qmail-rspawn
qmailq 1467 0.0 0.0 4012 436 ? S Feb01 0:00 qmail-clean
root 1748 0.0 2.1 306212 22332 ? Ss Feb01 0:00 /usr/sbin/apache2 -k start
www-data 1749 0.0 0.4 155552 4408 ? S Feb01 0:00 /usr/sbin/apache2 -k start
www-data 1751 0.0 1.2 306508 13380 ? S Feb01 0:00 /usr/sbin/apache2 -k start
root 1893 0.0 0.2 49268 2556 ? Ss Feb01 0:00 /usr/sbin/sshd -D
www-data 3683 0.0 1.2 306344 12592 ? S Feb01 0:00 /usr/sbin/apache2 -k start
root 5490 0.0 4.5 108724 47488 ? Ss 02:29 0:02 /usr/sbin/spamd --username=popuser --daemonize --nouser-config --helper-home-dir=/var/q
popuser 5491 0.0 4.4 108724 46288 ? S 02:29 0:00 spamd child
root 9761 0.0 0.3 79484 3712 ? Rs 21:23 0:00 sshd: root@ttyp0
root 9772 0.0 0.1 17872 1932 ttyp0 Ss 21:24 0:00 -bash
root 9809 0.0 0.1 14980 1112 ttyp0 R+ 21:27 0:00 ps aux
root@lvpsxxxxxxxxx:~# [B]netstat -tulpen[/B]
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 107 2475451471 1184/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 2475453771 1748/apache2
tcp 0 0 127.0.0.1:10001 0.0.0.0:* LISTEN 0 2475451677 1330/sw-cp-serverd
tcp 0 0 xx.xxx.xx.xxx:53 0.0.0.0:* LISTEN 102 2475451761 1346/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 102 2475451759 1346/named
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 102 2475451764 1346/named
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 2475453773 1748/apache2
tcp 0 0 0.0.0.0:1285 0.0.0.0:* LISTEN 0 2475519615 1893/sshd
tcp6 0 0 :::106 :::* LISTEN 0 2475451719 1338/xinetd
tcp6 0 0 :::587 :::* LISTEN 0 2475451722 1338/xinetd
tcp6 0 0 :::110 :::* LISTEN 0 2475451439 1261/couriertcpd
tcp6 0 0 :::143 :::* LISTEN 0 2475451400 1243/couriertcpd
tcp6 0 0 :::8880 :::* LISTEN 0 2475451679 1330/sw-cp-serverd
tcp6 0 0 :::465 :::* LISTEN 0 2475451721 1338/xinetd
tcp6 0 0 :::53 :::* LISTEN 102 2475451756 1346/named
tcp6 0 0 :::21 :::* LISTEN 0 2475451718 1338/xinetd
tcp6 0 0 :::25 :::* LISTEN 0 2475451720 1338/xinetd
tcp6 0 0 :::8443 :::* LISTEN 0 2475451678 1330/sw-cp-serverd
tcp6 0 0 :::993 :::* LISTEN 0 2475451417 1253/couriertcpd
tcp6 0 0 :::995 :::* LISTEN 0 2475451481 1277/couriertcpd
tcp6 0 0 :::1285 :::* LISTEN 0 2475519617 1893/sshd
udp 0 0 xx.xxx.xx.xxx:53 0.0.0.0:* 102 2475451760 1346/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 102 2475451758 1346/named
udp6 0 0 :::53 :::* 102 2475451755 1346/named
sudo nano /etc/dnsmasq.conf
# and this sets the source (ie local) address used to talk to
# 10.1.2.3 to 192.168.1.1 port 55 (there must be a interface with that
# IP on the machine, obviously).
# server=10.1.2.3@192.168.1.1#55
server=guzzoni.apple.com@192.168.1.1#55
sudo /etc/init.d/dnsmasq restart
sudo /etc/init.d/dnsmasq stop
sudo dnsmasq -p 55
sudo /etc/init.d/dnsmasq restart
# Add domains which you want to force to an IP address here.
# The example below send any host in doubleclick.net to a local
# webserver.
address=/guzzoni.apple.com/127.0.0.1
# --address (and --server) work with IPv6 addresses too.
#address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83
# You can control how dnsmasq talks to a server: this forces
# queries to 10.1.2.3 to be routed via eth1
# --server=10.1.2.3@eth1
# and this sets the source (ie local) address used to talk to
# 10.1.2.3 to 192.168.1.1 port 55 (there must be a interface with that
# IP on the machine, obviously).
# --server=10.1.2.3@192.168.1.1#55
server=17.130.16.4@127.0.0.1#55
dnsmasq: error at line 75 of /etc/dnsmasq.conf
* Restarting DNS forwarder and DHCP server dnsmasq
dnsmasq: failed to create listening socket: Address already in use