Difference between revisions of "SchoolOnffLine: Instalasi dan Konfigurasi Server Standard"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Onnowpurbo (talk | contribs)  (New page:  apt-get install dhcp3-server  ----   vi /etc/dhcp3/dhcpd.conf   ddns-update-style none;  option domain-name "sekolah.sch.id"  option domain-name-servers 192.168.0.254, 203.34.118.10, 203....)  | 
				Onnowpurbo (talk | contribs)   | 
				||
| Line 1: | Line 1: | ||
| − |   apt-get install dhcp3-server  | + | |
| + |  mkdir /home/public  | ||
| + |  mkdir /home/library  | ||
| + |  chown -Rf nobody.nogroup /home/public  | ||
| + |  chown -Rf nobody.nogroup /home/library  | ||
| + |  chmod -Rf 777 /home/public  | ||
| + |  chmod -Rf 777 /home/library  | ||
| + | |||
| + |  su -  | ||
| + |   apt-get install dhcp3-server postfix apache2 mysql-server libmysqlclient15-dev libphp-adodb \  | ||
| + |  libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear unzip php5-xmlrpc vsftpd \  | ||
| + |  libnet-ssleay-perl openssh-server catdoc dnsutils bind9 ntp tinyproxy dansguardian smbfs samba \  | ||
| + | |||
| + | |||
| + | ----  | ||
| + | |||
| + |  Internet with Smarthost  | ||
| + |  smtp.telkom.net  | ||
----  | ----  | ||
| Line 18: | Line 35: | ||
----  | ----  | ||
| + | |||
| + |  vi /etc/postfix/main.cf  | ||
| + | |||
| + |  myhostname = sekolah.sch.id  | ||
| + |  mydestination = sekolah.sch.id, sekolah, localhost.localdomain, localhost  | ||
| + |  relayhost = smtp.telkom.net  | ||
| + |  mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/16  | ||
| + |  inet_interfaces = all   | ||
| + | |||
| + | |||
| + | ----  | ||
| + | |||
| + |  vi /etc/ntp.conf   | ||
| + | |||
| + |  server ntp.ubuntu.com  | ||
| + |  server pool.ntp.org  | ||
| + |  restrict 192.168.0.0 mask 255.255.255.0 trust  | ||
| + |  broadcast 192.168.0.255  | ||
| + | |||
| + | ----  | ||
| + | |||
| + |  vi /etc/tinyproxy/tinyproxy.conf  | ||
| + | |||
| + |  # User nobody  | ||
| + |  # Group nogroup  | ||
| + |  User root  | ||
| + |  Group root  | ||
| + | |||
| + |  # Port 8888  | ||
| + |  Port 3128  | ||
| + | |||
| + |  Allow 127.0.0.1  | ||
| + |  Allow 192.168.0.0/16  | ||
| + |  Allow 172.16.0.0/12  | ||
| + |  Allow 10.0.0.0/8  | ||
| + | |||
| + | ----  | ||
| + | |||
| + |  vi /etc/dansguardian/dansguardian.conf  | ||
| + | |||
| + |  # UNCONFIGURED - Please remove this line after configuration  | ||
| + | |||
| + |  # accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'  | ||
| + |  accessdeniedaddress = 'http://192.168.0.254/cgi-bin/dansguardian.pl'  | ||
| + | |||
| + | ----  | ||
| + | |||
| + |  vi /etc/samba/smb.conf  | ||
| + | |||
| + |  workgroup = SEKOLAHNET  | ||
| + |  netbios name = SERVER  | ||
| + |  security = share  | ||
| + | |||
| + |  [public]  | ||
| + |  path = /home/public  | ||
| + |  available = yes  | ||
| + |  browsable = yes  | ||
| + |  public = yes  | ||
| + |  writable = yes  | ||
| + | |||
| + |  [library]  | ||
| + |  path = /home/library  | ||
| + |  available = yes  | ||
| + |  browsable = yes  | ||
| + |  public = yes  | ||
| + |  writable = no  | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==Pranala Menarik==  | ||
| + | |||
| + | * [[Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK]]  | ||
| + | * [[SchoolOnffLine: Server Berbasis Sabily 9.04]]  | ||
| + | * [[SchoolOnffLine: Server Berbasis Ubuntu 9.04]]  | ||
| + | * [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate]]  | ||
| + | * [[SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server]]  | ||
| + | * [[SchoolOnffLine: Server Wikipedia for School]]  | ||
| + | * [[Remastering Ubuntu]]  | ||
Revision as of 03:47, 5 September 2009
mkdir /home/public mkdir /home/library chown -Rf nobody.nogroup /home/public chown -Rf nobody.nogroup /home/library chmod -Rf 777 /home/public chmod -Rf 777 /home/library
su - apt-get install dhcp3-server postfix apache2 mysql-server libmysqlclient15-dev libphp-adodb \ libgd2-xpm libgd2-xpm-dev php5-mysql php5-gd php5-curl php-pear unzip php5-xmlrpc vsftpd \ libnet-ssleay-perl openssh-server catdoc dnsutils bind9 ntp tinyproxy dansguardian smbfs samba \
Internet with Smarthost smtp.telkom.net
vi /etc/dhcp3/dhcpd.conf
ddns-update-style none; option domain-name "sekolah.sch.id" option domain-name-servers 192.168.0.254, 203.34.118.10, 203.34.118.12, 208.67.222.222, 208.67.220.220; default-lease-time 86400; # 24 jam max-lease-time 172800; # 48 jam authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
       range 192.168.0.30 192.168.0.70;
       option routers 192.168.0.1;
       }
vi /etc/postfix/main.cf
myhostname = sekolah.sch.id mydestination = sekolah.sch.id, sekolah, localhost.localdomain, localhost relayhost = smtp.telkom.net mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/16 inet_interfaces = all
vi /etc/ntp.conf
server ntp.ubuntu.com server pool.ntp.org restrict 192.168.0.0 mask 255.255.255.0 trust broadcast 192.168.0.255
vi /etc/tinyproxy/tinyproxy.conf
# User nobody # Group nogroup User root Group root
# Port 8888 Port 3128
Allow 127.0.0.1 Allow 192.168.0.0/16 Allow 172.16.0.0/12 Allow 10.0.0.0/8
vi /etc/dansguardian/dansguardian.conf
# UNCONFIGURED - Please remove this line after configuration
# accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl' accessdeniedaddress = 'http://192.168.0.254/cgi-bin/dansguardian.pl'
vi /etc/samba/smb.conf
workgroup = SEKOLAHNET netbios name = SERVER security = share
[public] path = /home/public available = yes browsable = yes public = yes writable = yes
[library] path = /home/library available = yes browsable = yes public = yes writable = no
Pranala Menarik
- Remaster Ubuntu untuk SchoolOnffLine Menggunakan UCK
 - SchoolOnffLine: Server Berbasis Sabily 9.04
 - SchoolOnffLine: Server Berbasis Ubuntu 9.04
 - SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate
 - SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server
 - SchoolOnffLine: Server Wikipedia for School
 - Remastering Ubuntu