This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Google
 

Google: this site my harm your computer , google se vuelve loco

manolo | 31 Enero, 2009 16:21

Aun la pagina de google puede dañar su ordenador ,

esto es lo que hay si utilizas el buscador , todo puede dañar su ordenador, vamos que hoy los de google tienen faena , apenas funciona 

y te prohiben hasta su misma pagina,Algo les ha pasado aqui y en todo el mundo, espero le pongan remedio pronto.

 

How to make a slackware server( part 2)

manolo | 14 Enero, 2009 21:36

Now in the second chapter postfix , imap and pop3
we need to open this ports

do the following


root@clone:/etc# cd /etc
root@clone:/etc# pico inetd.conf
remove the # sing in the link:
# POP and IMAP mail servers
#
# Post Office Protocol version 3 (POP3) server:
pop3    stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/popa3d
# Internet Message Access Protocol (IMAP) server:
imap2   stream  tcp     nowait  root    /usr/sbin/tcpd  imapd
#


save
and now restart inetd service

root@clone:/etc# /etc/rc.d/rc.inetd restart
Starting Internet super-server daemon:  /usr/sbin/inetd
root@clone:/etc#

download Postfix from your favorite server:


root@clone:/etc# cd /tmp
root@clone:/tmp# wget ftp://mir1.ovh.net/ftp.postfix.org/postfix-release/official/postfix-2.5.5.tar.gz
--2009-01-14 20:26:18--  ftp://mir1.ovh.net/ftp.postfix.org/postfix-release/official/postfix-2.5.5.tar.gz
           => `postfix-2.5.5.tar.gz'
Resolving mir1.ovh.net... 91.121.124.139, 2001:41d0:1:7b8b::1
Connecting to mir1.ovh.net|91.121.124.139|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /ftp.postfix.org/postfix-release/official ... done.
==> SIZE postfix-2.5.5.tar.gz ... 3157877
==> PASV ... done.    ==> RETR postfix-2.5.5.tar.gz ... done.
Length: 3157877 (3.0M)

100%[================================================================================================>] 3,157,877    403K/s   in 9.6s

2009-01-14 20:26:29 (321 KB/s) - `postfix-2.5.5.tar.gz' saved [3157877]
root@clone:/tmp# gzip -d postfix-2.5.5.tar.gz
root@clone:/tmp# tar -xvf postfix-2.5.5.tar

root@clone:/tmp/postfix-2.5.5# cd postfix-2.5.5
root@clone:/tmp/postfix-2.5.5# make

gcc -Wmissing-prototypes -Wformat -DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -c tlsmgr.c
gcc -Wmissing-prototypes -Wformat -DHAS_PCRE  -g -O -I. -I../../include -DLINUX2 -o tlsmgr tlsmgr.o ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib -lpcre -ldb -lnsl -lresolv
cp tlsmgr ../../libexec...

a lot of output
root@clone:/tmp/postfix-2.5.5# make install
Warning: you still need to edit myorigin/mydestination/mynetworks
    parameter settings in /etc/postfix/main.cf.

    See also http://www.postfix.org/STANDARD_CONFIGURATION_README.html
    for information about dialup sites or about sites inside a firewalled
    network.

    BTW: Check your /etc/aliases file and be sure to set up aliases
    that send mail for root and postmaster to a real person, then run
    /usr/bin/newaliases.


now edit the file /etc/password

root@clone:/tmp/postfix-2.5.5# pico /etc/passwd

add the line

postfix:*:12345:12345:postfix:/no/where:/no/shell

now edit file /etc/group
and add the line

postfix:*:12345:

now edit the file /etc/group
and add the line


postdrop:*:54321:

edit /etc/postfix/main.cf

there are only few lines to edit with your favourite browser





root@clone:/etc/postfix# postfix start

now server is ready to send and received mails

root@clone:/etc/postfix# nmap localhost

Starting Nmap 4.76 ( http://nmap.org ) at 2009-01-14 21:14 CET
Interesting ports on localhost (127.0.0.1):
Not shown: 994 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
37/tcp  open  time
110/tcp open  pop3
113/tcp open  auth
143/tcp open  imap

port 25 open (smtp)

be sure that no error occurred

root@clone:/etc/postfix# tail -f /var/log/maillog
Jan 14 21:14:16 clone postfix/postfix-script[8044]: starting the Postfix mail system
Jan 14 21:14:16 clone postfix/master[8045]: daemon started -- version 2.5.5, configuration /etc/postfix


this is the end of the part 2

next day SpamAssassin installation

How to make a slackware server( part 1)

manolo | 12 Enero, 2009 18:13

Hi welcome to my howto , that show how to make a slackware web and mail server.

The project involve apache , mysql webserver

Postfix + spamassasing

Squirrel mail , to read mail using the firefox navigator

 Live webcam for funny http://www.manolo-lopez.com/WebCam.html

This is beacuse I need to upgrade my web server that hosts www.manolo-lopez.com .

And I want to write to share with all slack users my experience.

 The webserver is going to be powered by slackware 12.2.0

Do a full slackware install. 

root@clone:~# cat /etc/slackware-version
Slackware 12.2.0

firts at all , we need to upgrade to the newest patches for this distro.I use slaptget :

root@clone:~# cd /tmp
root@clone:/tmp# wget http://linuxpackages.inode.at/Slackware-12.0/jasorg/slapt-get/slapt-get-0.9.12d-i386-1.tgz
--2009-01-12 18:17:18--  http://linuxpackages.inode.at/Slackware-12.0/jasorg/slapt-get/slapt-get-0.9.12d-i386-1.tgz
Resolving linuxpackages.inode.at... 81.223.20.168
Connecting to linuxpackages.inode.at|81.223.20.168|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 236319 (231K) [application/x-gtar]
Saving to: `slapt-get-0.9.12d-i386-1.tgz'

100%[======================================>] 236,319     --.-K/s   in 0.02s

2009-01-12 18:17:19 (12.9 MB/s) - `slapt-get-0.9.12d-i386-1.tgz' saved [236319/236319]

root@clone:/tmp# installpkg slapt-get-0.9.12d-i386-1.tgz
Installing package slapt-get-0.9.12d-i386-1...
PACKAGE DESCRIPTION:
slapt-get: slapt-get (APT like system for Slackware)
slapt-get: slapt-get is an APT like system for Slackware package management.
slapt-get:
slapt-get:  * See /usr/doc/slapt-get-0.9.12d/ for complete documentation.
slapt-get:  * You will also want to customize /etc/slapt-get/slapt-getrc,
slapt-get:    using a local mirror.  www.slackware.com may be very busy.
slapt-get:  * Support:
slapt-get:    http://software.jaos.org/cgi-bin/mailman/listinfo/slapt-get-user
slapt-get:  * Please translate
slapt-get:    http://software.jaos.org/BUILD/slapt-get/po/slapt-get.pot
slapt-get:    then send to slapt-get-devel@software.jaos.org
slapt-get:
Executing install script for slapt-get-0.9.12d-i386-1...

root@clone:/tmp# clear

Now modify the file with pico and select your favorite slack mirror

root@clone:/tmp# pico /etc/slapt-get/slapt-getrc

 UW PICO 5.04            File: /etc/slapt-get/slapt-getrc            Modified

# See /usr/doc/slapt-get-0.9.12d/example.slapt-getrc
# for example source entries and configuration hints.
WORKINGDIR=/var/slapt-get
EXCLUDE=^kernel-.*,^alsa-.*,^glibc.*,.*-[0-9]+dl$,^devs$,^udev$,aaa_elflibs,x86$
SOURCE=ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-12.2/
SOURCE=http://software.jaos.org/slackpacks/12.0/






^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Pg   ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify   ^W Where is  ^V Next Pg   ^U UnCut Text^T To Spell

Control X an save

now update 

 

root@clone:/tmp# slapt-get --update
Retrieving package data [ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-12.2/]...Done
Retrieving patch list [ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-12.2/]...Done
Retrieving checksum list [ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-12.2/]...Done
Retrieving checksum signature [ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-12.2/]...Done
Verifying checksum signature [ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-12.2/]...No key for verification
Retrieving ChangeLog.txt [ftp://ftp.lip6.fr/pub/linux/distributions/slackware/slackware-12.2/]...Done
Reading Package Lists...Done
Retrieving package data [http://software.jaos.org/slackpacks/12.0/]...Done
Retrieving patch list [http://software.jaos.org/slackpacks/12.0/]...Done
Retrieving checksum list [http://software.jaos.org/slackpacks/12.0/]...Done
Retrieving checksum signature [http://software.jaos.org/slackpacks/12.0/]...Done
Verifying checksum signature [http://software.jaos.org/slackpacks/12.0/]...No key for verification
Retrieving ChangeLog.txt [http://software.jaos.org/slackpacks/12.0/]...Done
Reading Package Lists...Done
root@clone:/tmp#      slaptget --update

 

now a bunch of info appear on the shell an you have the slackware up top date.

The defaut installation have the following ports open:

Starting Nmap 4.76 ( http://nmap.org ) at 2009-01-12 18:34 CET
Interesting ports on localhost (127.0.0.1):
Not shown: 997 closed ports
PORT    STATE SERVICE
22/tcp  open  ssh
37/tcp  open  time
113/tcp open  auth

Nmap done: 1 IP address (1 host up) scanned in 0.14 seconds

And we need to have the following ports opened:

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-01-12 18:10 CET
Interesting ports on localhost (127.0.0.1):
Not shown: 1673 closed ports
PORT     STATE SERVICE
25/tcp   open  smtp
80/tcp   open  http
110/tcp  open  pop3
143/tcp  open  imap
443/tcp  open  https
3306/tcp open  mysql
 

80 to serve http://www.manolo-lopez.com (443) secure webpages

25 and 110 for mail

143 necesary for squirrel mail

3306 and mysql , database for my lifetype blog.

Next chapter postfix installation 

x350

Valid XHTML 1.0 Strict and CSS.
Powered by LifeType
Design by Book of Styles