Live Journal

All About Log

PINUX MULTISERVER (Second Edition)

PINUX MULTISERVER (Second Edition)

Provided by: Pointer Multimedia
License: Free

Change log:
– Second edition

eth0 for public IP or any IP which has internet access.
eth1 for private IP.
eth2, eth3… reserved for private IP (multi private network support).


– First edition

eth1 for public IP or any IP which has internet access
eth0 for private IP.

pinux1-multiserverpack.tar.gz (First Edition) – 652 downloads – STATUS: DISCOUNTINUED

Download: pinux1-multiserverpack.tar.gz (Second Edition) 19MB MD5SUM 014281d006dd096cb807a354b5fe3c45
Download Mirror 1:
pinux1-multiserverpack.tar.gz (Second Edition) 19MB (number downloads not counted)

Non english PDF Pinux Multiserver User Manual


1. What will you get?

You will get up to 14 services ready to use (You don’t need settng anything):

– Internet Gateway server for internet sharing
– DNS server
– Web server supported HTTPS, CGI/Perl and PHP
– FTP server
– MySQL server
– SMTP server for sending and receiving email
– POP3/IMAP server (support POP3s/IMAPs)
– Squid proxy cache at port 3128
– Socks proxy Server at port 1080
– FTP proxy gateway at port 1021
– POP3 Proxy gateway at port 1110
– Identd server for irc connection
– SSH server
– MTRG for banwidth monitoring at url http://IP/mrtg/

2. Hardware and software requirement

– 2 NIC (network interface card) installed on CPU, or more for multi private network.
– Minimum Processor P2 300 Mhz
– Memory minimum 128 MB or more for better.
– Master PINUX v1 CDs
– Pinux multiserver pack: pinux1-multiserverpack.tar.gz

WARNING: Service pack 1 NOT needed!


3. Pinux server installation.

Here the example diagram networking with PINUX MULTISERVER.
PINUX MULTISERVER NETWORKING


– Install your PINUX cds as usual, when you get promp ask for IP address, please fill it like this example:

If prompted: “Migrate existing network configurations?” answer “No”

if prompted: “Would you like to setup networking?” answer “Yes”

Fill the IP address like this example:

First NIC / eth0 (for public IP which has internet access)
IP Address : 219.83.119.34
Netmask : 255.255.255.248
Default Gateway : 219.83.119.33
Primary Name server : 202.155.10.20
Note: – Change above with IPs assigned by your ISP.
– Do NOT checked ‘Use dynamic IP configuration (BOOTP/DHCP)’

Second NIC / eth1 (for private IP / local network)
IP Address : 192.168.1.99
Netmask : 255.255.0.0
Default Gateway : NONE
Primary Name server : NONE
Note: – Change above with private IP class at your local network.
– GATEWAY and DNS must be NONE
– Do NOT checked ‘Use dynamic IP configuration (BOOTP/DHCP)’

NOTE: You can have multi private subnetwork you can add more NIC (eth2, eth3 .. ) and subnet mask for
each private network must be different (on each eth). Look at private.txt included in this pack.

– Login as root (default password: pointer)

NOTE: Don’t change your default hostname. Instalation script will do it for you.

– Test your internet connections, open terminal click Menu-System Tools-Terminal, type:

ping http://www.google.com

If you see any icmp replay, you can continue next step.

– Copy pinux1-multiserverpack.tar.gz to “My Document” (/root).

– Open terminal, click Start – System Tools – Terminal, then do MD5SUM check:

md5sum pinux1-multiserverpack.tar.gz

The correct MDSUM value is: 014281d006dd096cb807a354b5fe3c45
If the value isn’t match, it means pinux1-multiserverpack.tar.gz was damage or has been modified.


– Install package with command:

tar -zxvf pinux1-multiserverpack.tar.gz
cd pinuxmultiserver
./install

– Please do not restart now, type this command:

/sbin/ifconfig

Check which eth have public IP assigned when istall. Is it in eth0?

You need to check /etc/rc.local. type:

pico -w /etc/rc.local

check at this line:

/sbin/iptables -t nat -A POSTROUTING -o eth? -j MASQUERADE

Check eth at this line, it is correct with eth where Public IP assigned or not.

If correct, you dont need any change to file, but if not correct you need
replace eth with eth0 or eth1 or eth… where the public IP assigned on your
server.

You can also using other interface like ppp, tun, tap, pptp.. etc as long as
they have access to internet.

if you make any change, type ctrl-X then press Y ENTER for save setting.

– Check this file /etc/hosts

pico -w /etc/hosts

IMPORTAN!!!
You should verify this file format, follow the example below.
If your hostname not listed before localhost.localdomain, sendmail will be
slow at boot.

This is good example of /etc/hosts:

127.0.0.1 PINUXMULTISERVER localhost.localdomain localhost

– Check /etc/resolv.conf, type:

pico -w /etc/resolv.conf

Here the correct example of /etc/resolv.conf:

nameserver 127.0.0.1 #<– must be listed at first
nameserver xxx.xxx.xxx.xxx #<— your isp dns 1
nameserver xxx.xxx.xxx.xxx #<— your isp dns 2 if exist

– Restart your pinux. type this command:

shutdown -r now

YOUR PINUX SERVER IS READY FOR USE.

CLIENT CONFIGURATION

This section will explain how to configure computer client in order to
access your PINUX server.

Computer client can use PINUX or other operating system, WINDOWS, MAC or other
linux distros.

– This is example of network setting for clients:

IP: 192.168.1.1
Subnet: 255.255.0.0 (must be same as your PINUX server)
Gateway: 192.168.1.99 (must be same as your PINUX server)
DNS: 192.168.1.99 (fill with PINUX server’s IP)

Email client applications i.e: Thunderbird (in PINUX), Outlook (in windows) and
others, use this setting:

SMTP server: 192.168.1.99 (fill with your PINUX server’s IP)
port: 25

POP3 server: 192.168.1.99
port: 110

IMAP server: 192.168.1.99
port: 143

for PINUX client. run pinuxuserlock affter any change in Thunderbird.

Restart your client.

– Testing form clients for browsing, irc, messenger, webcam etc.

PINUX SERVER ALSO SUPPORT PROXY ACCESS

Your PINUX server also support proxy access model. Here are the available
proxies and them port:

– HTTP/HTTPS CACHING PROXY at port 3128
If you want access from proxy cache, you need to set http/https/ftp proxy
setting at web browser on cliens to:
PINUX server’s IP and port 3128

– FTP Proxy gateway at port 1021 (note: this is not FTP server)
Set proxy seting at your ftp client to PINUX server’s IP and port 1021

– Socks Proxy at 1080
If you want using sock for irc client, input PINUX server’s IP and port
1080 in your irc client.

– POP3 Proxy at 1110 (note: this is not POP3 server)

Server name: PINUX server’s IP
Server port: 1110
Username: user_id:your_isp_pop_server, example: user_id:pop.joglosemar.org

ADDITIONAL INFORMATION

– WEB SERVER

Your web server is active. You can browse your PINUX server at url http://IP_PRIVATE_OR_PUBLIC

To starting your own web page, simple copy your web files into /var/www/html and script files
into /var/www/cgi-bin. Default open page must be index.html.

You must change your web files attribut, type this command terminal window:

chmod 644 /var/www/html -R
chmod 755 /var/www/cgi-bin -R
Here the test page:

Http test page http://IP_SERVER/
Php test script http://IP_SERVER/test.php
Perl test script http://IP_SERVER/cgi-bin/test.pl

If you have domain, you need to publish that domain assign to public IP of your PINUX server,
so you will have a website which can be accessed from url http://www.yourdomain
You can publish your domain at free dns hosting http://www.everydns.net. Here the example of DNS
settings:
geovisit(); <img src=”http://visit.geocities.yahoo.com/visit.gif?us1207592651&#8243; alt=”setstats” border=”0″ width=”1″ height=”1″> 1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: