Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 899

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 899

Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 531

Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 532

Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 533

Warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/bootstrap.inc on line 534
Configure on Linux CentOS | Configure Install Setup Web CMS Configuration

Configure on Linux CentOS

warning: Cannot modify header information - headers already sent by (output started at /home/content/k/h/a/khairisuleiman/html/index.php:3) in /home/content/k/h/a/khairisuleiman/html/includes/common.inc on line 141.

Install and configure Linux CentOS4.3 platform

Subject of Linux installation(CentOS4.3),Setting up and configure Firewall. Description of Installing CentOS4.3. Selection of startup services. Mounting NTFS file system. Firewall setting and configuration.

I. Installation of CentOS4.3

-text installation
  test media
  custom install
  disk druid
  /boot 512
  / 35000
  swap 2000
  IP:172.16.1.1 etc.
  Gateway:172.16.1.254
  DNS:172.16.1.1 etc.(self)
  hostname soho.configureinstallsetup.com
  enable firewall
  disable SELinux
  language add Japanese

-install packages
  text-based internet
  DNS server #DNS is connected to openssl and cleats many errors
  development tools (add next)(push F2)
    cproto
    ddd
    dejagnu
    dmalloc
    expect
    frysk
    gcc-gnat
    gcc-objc
    gcc4
    gcc4-c++
    memtest86+
    nasm
    pmake
    subversion
  legacy software development
  administration tools (add next)
    system-config-kickstart
  system tools (add next)
    am-utils
    amanda-client
    amtu
    device-mapper-multipath
    dtach
    festival
    fsh
    iptarf
    kernel-doc
    lksctp-tools-doc
    lslk
    mc
    mrtg
    mtc
    net-snmp-utils
    nmap-frontend
    sysstat
    tn5250
    tog-pegasus
    tsclient
    uucp
    vlock

Fundamental Configuration CentOS

How to configure Linux CentOS.

-ntsysv
crond
iptables
kudzu
network
syslog
xinetd

-iptables
rm /etc/sysconfig/iptables
reboot

-vi iptables

iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP

iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -p icmp -j ACCEPT
iptables -A INPUT -P tcp –dport 80 -j ACCEPT
iptables -A INPUT -P tcp –sport 53 -j ACCEPT
iptables -A INPUT -P udp –sport 53 -j ACCEPT
iptables -A INPUT -P tcp –dport 53 -j ACCEPT
iptables -A INPUT -P udp –dport 53 -j ACCEPT
iptables -A INPUT -P tcp –dport 25 -j ACCEPT
iptables -A INPUT -P tcp –dport 110 -j ACCEPT
iptables -A INPUT -P tcp –dport 456 -j ACCEPT
iptables -A INPUT -P tcp –dport 995 -j ACCEPT
iptables -A INPUT -P tcp –dport 1024:65535 -j ACCEPT
iptables -A INPUT -P udp –dport 1024:65535 -j ACCEPT

-iptables-save > /etcsysconfig/iptables

-reboot

-via proxy
if there is a proxy to connect to the internet
in .bashrc and /etc/profile
export http_proxy=http://172.16.160.9/
export https_proxy=http://172.16.160.9/
export ftp_proxy=http://172.16.160.9/

 

Next tutorial is Installation of NTFS file system. Click here


Custom Search