This explains basics: http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html Visit http://www.lucasmanual.com/mywiki for up to date manuals
edit /etc/network/interfaces
comment iface eth0 inet dhcp and below type : iface eth0 inet static tabaddress 192.168.1.200 tabnetwork 192.168.1.0 tabnetmask 255.255.255.0 tabbroadcast 192.168.1.255 tabgateway 192.168.1.1
Your file should look like: #iface eth0 inet dhcp iface eth0 inet static
address 192.168.1.200 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1
or
iface eth0 inet static
address 192.168.5.200 network 192.168.5.0 netmask 255.255.255.0 broadcast 192.168.5.255 gateway 192.168.5.254
apt-get install postfix
cat /var/log/mail.log
postconf -e “myorgin = example.com”
postconf -e “myhostname=server1.example.com”
postconf -e “replay_domains = example.com, example2.com, example3.com”
postfix reload
telnet localhost 25 You should see: Trying 127.0.0.1… Connected to localhost.localdomain. Escape character is '^]]'. 220 server1.exemple.com ESMTP Postfix (Debian/GNU) Now sent an email to yourself: mail from:you@youremial.com rcpt to:user@exemple.com data Then: To: user@example.com From: you@youremail.com Subject: Hey my first email This is my first email on debian postfix after installing configuring it. It was easy. See you Now to end data hit enter, type in a dot, and hit enter again: . Then quit Your are done. you can type “mail” and see if you have some.
qshape mailq qshape deferred postsuper postsuper -r ALL (requeue all emails)
http://help.sbcglobal.net/article.php?item=4640
apt-get postfix-tls libsasl2-modules
postconf -e “relayhost = smtp.sbcglobal.yahoo.com” postconf -e “smtp_sasl_auth_enable = yes” postconf -e “smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd” postconf -e “smtp_sasl_security_options = noanonymous”
smtp.sbcglobal.yahoo.com username@sbcglobal.net:mypassword
chmod 600 /etc/postfix/sasl_passwd
postmap /etc/postfix/sasl_passwd
postfix reload
apt-get install mailman
newlist mailman
/etc/init.d/mailman start
http://www.yourwebsite.com/cgi-bin/mailman/admin or http://localhost/cgi-bin/mailman/admin
relay_domains = example.com, lists.example.com
alias_maps = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases
postconf -e “transport_maps = hash:/etc/postfix/transport” postconf -e “mailman_destination_recipient_limit = 1”
mailman unix - n n - - pipe
flags=FR user=list
argv=/var/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
* Edit or create /etc/postfix/transport. Add this line:
lists.example.com mailman:
postmap /etc/postfix/transport
MTA = 'Postfix' DEB_LISTMASTER = 'postmaster@example.com' POSTFIX_STYLE_VIRTUAL_DOMAIN = 'lists.lucasmanual.com'
postfix reload /etc/init.d/mailman restart
newlist list_name@lists.example.com>
Alias /pipermail/ /var/lib/mailman/archives/public/ Alias /images/mailman/ /usr/share/images/mailman/
http://lists.yourwebsite.com/cgi-bin/mailman/listinfo/list_name/
Read from remote host example.com: Connection reset by peer Connection to example.com closed
ClientAliveInterval 150
apt-get install module-assistant
module-assistant prepare
apt-get install ieee80211-source
module-assistant -t build ieee80211-source
apt-get install ipw2200-source
module-assistant -t build ipw2200-source
http://ipw2200.sourceforge.net/firmware.php?fid=6
tar xzvf ipw2200-fw-2.4.tgz -C /usr/lib/hotplug/firmware/
modprobe ipw2200
iwconfig
apt-get install apache2 apt-get install php5 php5-mysql php5-gd
wget http://www.ampache.org/downloads/current.tar.gz tar -xzvf current.tar.gz
mv ampache-3.3-beta4 /usr/local/bin/ampache cd /usr/local/bin/ampache
chown -R www-data:www-data /usr/share/ampache
Alias /ampache ”/usr/local/bin/ampache/” <directory />
DirectoryIndex index.php index.html
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</directory>
/etc/init.d/apache2 restart
apt-get install mysql-server
http://localhost/ampache/install.php
chgrp -R www-data ./* or in my case i created group users addgroup users chgrp -R users path/to/mymusic/* adduser www-data users
/etc/apt/source.list
deb http://mirrors.ecology.uni-kiel.de/debian/debian-multimedia etch main
apt-get update apt-get install xine-ui
apt-get install w32codecs
apt-get update apt-get install libapache2-mod-python
a2enmod mod_python
AddHandler mod_python .psp .psp_ PythonHandler mod_python.psp
/etc/init.d/apache2 reload