Tampilkan postingan dengan label ClearOS. Tampilkan semua postingan
Tampilkan postingan dengan label ClearOS. Tampilkan semua postingan

Selasa, 03 Juli 2012

Install Ntop di ClearOS

ntop adalah utiliy untuk melihat/ memonitor trafik pada jaringan. memonitor hosts yang sedang aktif dalam jaringan dan memberikan laporan berisi informasi yang berhubungan dengan IP (Internet Protocol) dan trafik Fibre Channel (FC).

fitur lainnya

  • TCP/UDP/ICMP
  • (R)ARP
  • IPX
  • DLC
  • Decnet
  • AppleTalk
  • Netbios
  • TCP/UDP
    • FTP
    • HTTP
    • DNS
    • Telnet
    • SMTP/POP/IMAP
    • SNMP
    • NFS
    • X11
  • Fibre Channel
    • Control Traffic - SW2,GS3,ELS
    • SCSI

#yum --enablerepo=base-extras install ntop
setelah selesai/complete kemudian ketik ntop
dan akan diminta memasukan password...
enter password dan retype kembali ketika diminta....
setelah itu CTRL+C

dan jalankan service ntop dengan cara #service ntop start

Buka browser arahkan ke http://IP_COS:3000/

Jika diminta masukin username dan passwd:
user: admin
passwd: password_yang_dibuat_di_ntop

Kurang lebih nya begt...silahkan eksplorer lebih jauh lagi apa itu ntop dan apa lagi yang bisa dilakukan ntop....

Jika kemudian ada eror dibagian ip>Local>Network Trafic Map

 
Missing 'dot' tool (expected /usr/local/bin/dot). Please set its path
(key dot.path) here.

Maka Kita perlu instal modul  graphviz
rpm -Uvh http://rpmfind.net/linux/dag/redhat/el5/en/i386/dag/RPMS/graphviz-2.8-1.el5.rf.i386.rpm

# update graphviz configuration file
 
dot_static -c

# graphviz installs dot ke /usr/bin sehingga kita perlu update ntop preferences

# setting  "dot" 
# imasuk ke Admin -> Configure -> Preferences
# pada klom kosong tambah section "dot.path" 
# mauskan value  "/usr/bin/dot" klik  "add"

# tmasuk kembali ke Admin -> Configure -> Preferences
# Mungkin akan kita lihat dot.path pada nilai kosong
# ketik kembali value kosong "/usr/bin/dot" 
# restart ntop 
service ntop restart

READ MORE - Install Ntop di ClearOS

Daftar module di COS 5.2

berikut ini merupakan daftar modiul-modul yang ada di SlearOS jika ingin install/remove via yum :
app-amavisd-new.i386 : Mail filtering module app-archive.i386 : Mail archival system module app-autofs.i386 : Automatic file system detection module app-awstats.i386 : Web log file analyzer module app-backuppc.i386 : Web UI for BackupPC module app-backuprestore.i386 : Backup and restore module app-bacula.i386 : LAN backup and restore module app-bandwidth.i386 : Bandwidth manager module app-clamlib.i386 : Antivirus engine module app-console.i386 : Administration console module app-cups.i386 : Print server module app-cyrus-imapd.i386 : Mail - IMAP/POP server module app-dansguardian-av.i386 : Content filtering module app-dansguardian.i386 : Content filtering module - basic app-diskusage.i386 : Disk usage module app-dmcrypt.i386 : File volume encryption utility app-dnsmasq.i386 : Caching nameserver module app-fetchmail.i386 : Maildrop module app-file-antivirus.i386 : Antivirus file scanner module app-firewall-advanced.i386 : Firewall - advanced module app-firewall-custom.i386 : Firewall - custom rules app-firewall-dmz.i386 : Firewall - DMZ and 1-to-1 NAT module app-firewall-gateway.i386 : Firewall - gateway module app-firewall.i386 : Firewall module app-flexshare-api.i386 : Flexshare API app-flexshare.i386 : Flexshare module app-gateway-antispam.i386 : Gateway antispam module app-geoip.i386 : GeoIP support app-graphical-console.i386 : Graphical console module app-greylisting.i386 : Mail - Greylist module app-hardware-report.i386 : Status information module app-horde.i386 : Web access module app-httpd.i386 : Web server module app-ipsec.i386 : IPSec VPN module app-jnettop.i386 : Network traffic watch module app-kolab.i386 : User and group architecture module app-ldap.i386 : LDAP module app-mail-antivirus.i386 : Antivirus mail scanner module app-mailer.i386 : Mailer module app-mail-quarantine.i386 : Mail - Quarantine module app-mrtg.i386 : System statistics module app-multiwan.i386 : Multi-WAN module app-mysql.i386 : MySQL database server module app-nettools.i386 : Network tools module app-network.i386 : Network tools and configuration module app-ntp.i386 : System time module app-openvpn.i386 : OpenVPN module app-password-policies.i386 : Password policies module app-patch.i386 : Patches and fixes app-php.i386 : PHP module app-postfix.i386 : Mail - SMTP server module app-ppp.i386 : PPP module app-pptpd.i386 : PPTP VPN server module app-proftpd.i386 : FTP server module app-protocol-filter.i386 : Protocol filter module app-raid.i386 : RAID tools module app-release.i386 : Product release information app-remote-backup.i386 : Remote backup service module app-reports.i386 : Log reporting module app-samba-api.i386 : Windows networks and file sharing API module app-samba.i386 : Windows - file and network module app-services.i386 : Services and registration module app-setup.i386 : Initializes the system environment app-snort.i386 : Intrusion detection module app-snortsam.i386 : Intrusion prevention module app-soap.i386 : SOAP server module app-software-updates.i386 : Software updates management module app-spamassassin.i386 : Antispam module app-squid-acl.i386 : Web proxy access control module app-squid.i386 : Web proxy server module app-ssl.i386 : SSL certificates module app-suva.i386 : Suva encryption and authentication module app-system-mysql.i386 : Internal MySQL database module app-syswatch.i386 : Network and system monitor module app-theme-clearos5x.i386 : Product theme app-upgrade.i386 : System upgrade module app-user-import.i386 : User import/export utility app-users.i386 : User manager module app-webconfig.i386 : Web-based administration tool - core modules

Sumber : Forum ClearOS Indonesia
READ MORE - Daftar module di COS 5.2

Selasa, 26 Juni 2012

Install CumulusClips si YoutubeClone di ClearOS


Minimal kita sudah punya file di bawah ini terinstall di komputernya.

FFMPEG
MySQL 5.0+
PHP 5.2+
Apache web server 2.x (with mod_rewrite enabled)

Pastikan minimal RAMnya juga 1GB.

Setting PHP.ini di bagian :
upload_max_filesize = 110M
post_max_size = 110M
max_execution_time = 1500
open_basedir = no value
safe_mode = Off
register _globals = Off

PHP Modules yang di perlukan
GD
curl
simplexml
zip

Browser untuk jalanin ni program
Internet Explorer 7+
Mozilla Firefox 3.6+
Safari 5+
Chrome 10+


Ambil dari sini
http://www.pawprint.net/news/article/105/Compiling-FFMpeg-on-Centos-5/

wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh epel-release-5-4.noarch.rpm

yum update
yum install gcc gcc-c++ automake autoconf libtool yasm nasm git subversion

sebelum lanjut, matikan dulu firewall dan SELinuxnya
iptables -F
service iptables save
vi /etc/selinux/config
export LD_LIBRARY_PATH=/usr/local/lib/
echo /usr/local/lib > /etc/ld.so.conf.d/custom-libs.conf
ldconfig

persiapan mesin untuk install codec slese... sekarang install codecnya

Xvid Codec
wget http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz
tar -zxf xvidcore-1.3.2.tar.gz
cd xvidcore/build/generic
./configure
make && make install
ldconfig
cd

Lame Codec
wget http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz
tar -zxf lame-3.98.4.tar.gz
cd lame-3.98.4
./configure
make && make install
ldconfig
cd

Faac Codec
wget http://downloads.sourceforge.net/faac/faac-1.28.tar.gz
tar -xzf faac-1.28.tar.gz
cd faac-1.28
./bootstrap
./configure
make && make install
ldconfig
cd

OpenCore AMR Codec
wget http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/0.1.2/opencore-amr-0.1.2.tar.gz
tar -xzf opencore-amr-0.1.2.tar.gz
cd opencore-amr-0.1.2
./configure
make && make install
ldconfig
cd

OGG Codec
wget http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz
tar -xzf libogg-1.3.0.tar.gz
cd libogg-1.3.0
./configure
make && make install
ldconfig
cd

Vorbis Codec
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.bz2
tar -xjf libvorbis-1.3.2.tar.bz2
cd libvorbis-1.3.2
./configure
make && make install
ldconfig
cd

Theora Codec
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2
tar -xjf libtheora-1.1.1.tar.bz2
cd libtheora-1.1.1
./configure
make && make install
ldconfig
cd

x264
git clone git://git.videolan.org/x264.git
cd x264
./configure --enable-static
make && make install
ldconfig
cd

FFMPEG
git clone git://git.videolan.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --enable-version3 --enable-libopencore-amrnb \
--enable-libopencore-amrwb --enable-libvpx --enable-libfaac \
--enable-libmp3lame --enable-libtheora --enable-libvorbis \
--enable-libx264 --enable-libxvid --enable-gpl --enable-postproc \
--enable-nonfree
make && make install
ldconfig

trus karena kita perlu qt-faststart maka kita lakukan lagi perintah dibawah ini ketika masih di directory ffmpeg
cd tools
make qt-faststart
cp qt-faststart /usr/local/bin
ldconfig
cd

Download dulu ya cumulusclipnya di http://cumulusclips.org/cumulusclips.tar.gz

extrak lah dan tempatkan di /var/www/html

kemudian ketik aja di browser dengan alamat http://ipserver/cumulusclips

Setting PHP.ini di bagian :
upload_max_filesize = 110M
post_max_size = 110M
max_execution_time = 1500
open_basedir = no value
safe_mode = Off
register _globals = Off

set up database dulu disesuaikan dengan server agan

setelah selesai, akan langsung ke admin panel

setelah itu silahkan masuk ke bagian Settings --> Video
dan rubah bagian Log Encoding menjadi ON

setelah selesai,, silahkan coba upload video yang sudah di siapkan
tapi untuk sementara masih yang berformat (*.flv) (*.wmv) (*.avi) (*.ogg) (*.mpg) (*.mp4) (*.mov) (*.m4v)

dan nikmati dah jerih payah anda....

sumber : ClearOS Forum

READ MORE - Install CumulusClips si YoutubeClone di ClearOS

Instalasi Jibas


Instalasi manual jibas di ClearOS

Silahkan download dulu source/kode sumber :
Di sini
1. pastikan fungsi webserver, php v.5 keatas dan MySql database sudah terinstal dan jalan.

2. setelah download selesai langkah selanjutnya adalah extract hasil download tadi ke /var/www/html (disini saya menggunakan WinScp)

3. kemudian di cli ubah permission untuk folder jibas dan fileshring :

   - chown -R 755 filesharing/
   - chown -R 755 jibas/

4. kemudian buat nama database di PhpMyAdmin dengan nama 'jbsakad'

5. selanjutnya database jibas di dump melalui cli dengan mengetik syntax :
 
Code: [Select]
mysql -u root -p (namadatabase yang baru dibuat tadi) < jibas_db.sql

6. setelah itu cek konfigurasi /var/www/html/jibas/include/application.config.php
 
   /* Awal tahun pendataan menggunakan SISFO JIBAS */
   $G_START_YEAR='2008';

   /* Alamat Server aplikasi SISFO JIBAS
      Alamat ini digunakan untuk menampilkan header cetak di laporan-laporan yang disediakan SISFO JIBAS
      Gunakan alamat IP atau nama domainnya, jangan menggunakan localhost */
   $G_SERVER_ADDR='localhost'; (silahkan diubah sesuai dengan address server)

   /* Direktori untuk menyimpan berkas-berkas unggahan dari aplikasi InfoGuru */
  $FS_UPLOAD_DIR='/var/www/html/filesharing/fileshare';

   /* Direktori tempat menyimpan galeri foto di aplikasi InfoGuru */
   $IG_GALLERY_DIR='';

   /* Direktori tempat menyimpan galeri foto di aplikasi InfoSiswa */
   $IS_GALLERY_DIR='';

   /* Sistem operasi yang digunakan ( win | lin ) */
   $G_OS='lin';

   /* Lokasi Sekolah */
   $G_LOKASI = "Bekasi";

7. dan cek juga configurasi /var/www/html/jibas/include/database.config.php

   /* Alamat basis data MySQL JIBAS */
   $db_host='localhost:3306';

   /* User basis data MySQL JIBAS */
   $db_user='root';

   /* Password basis data MySQL JIBAS */
   $db_pass=''; (sesuaikan dengan pass user database yang dibuat)

   /* Basis data default JIBAS */
   $db_name='jbsakad';

8. Selesai setelah itu simpan semua dan silahkan coba jalankan jibas

sumber : ClearOS Forum Indonesia

READ MORE - Instalasi Jibas

Jumat, 22 Juni 2012

Tutorial Install vBulletin Di Server ClearOS


Upgrade PHP ke versi 5.2.17 --> http://clearos-indonesia.com/index.php?topic=638.0

1. download file vBulletin *

File name: vBulletin.Suite.v4.1.2.PHP.zip File size: 9.71 MB

2. Extract file tersebut, kemudian buka folder upload > includes > config.php.new < rename jadi config.php
3. buka file config.php

Code: [Select]
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['dbname'] = 'forum';
isikan sesuai database yang anda bikin

Quote
   //   ****** pengguna DATABASE USERNAME & PASSWORD ******
   //   This is the username and password you use to access MySQL.
   //   These must be obtained through your webhost.
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = 'clearos-indonesia';
isikan password anda + username mysql

kemudian save

4. sekarang yang berada di dalam folder "upload "taruh di server clearos ( pakain winscp )
taruh ajah di > var>www>html>

kemudian buka browser anda

ketik ajah

http://192.168.1.500/install/install.php  ( server cos anda )

READ MORE - Tutorial Install vBulletin Di Server ClearOS

Instalasi Openfire (Chat & Voice Server)


info Openfire http://www.igniterealtime.org/index.jsp

Download Openfire :
Download file Installer Openfire (openfire-3.6.4-1.i386.rpm) dari http://www.igniterealtime.org/downloads/index.jsp
Copy file openfire-3.6.4-1.i386.rpm ke COS di directory /opt/openfire (saya gunakan WinSCP)
Instalasi di COS :
Login sebagai root melalui CLI (dgn putty) dan install openfire
-  # cd /opt/openfire
-  # rpm -ivh openfire-3.6.4-1.i386.rpm
Jika instalasi selesai tanpa erorr, jalankan Openfire server
-  # /etc/init.d/openfire start
Setup MySQL Database :
Pastikan MySQL sudah running
Create New Database untuk openfire (misalkan namanya openfire)
Inport database untuk openfire yang diambil dari COS di /opt/openfire/resources/database/openfire_mysql.sql
Setup Server Perama kali :
Akses Openfire melalui alamat http://ip-cos:9090  (misalkan http://192.168.1.1:9090)
Setting language = English, Domain = domain anda yg aktif untuk COS (untuk domain bisa menggunakan fitur dynamic DNS dari Clearcenter misalkan serverku.poweredbyclear.com )
Database setting = use database external
Database = MySQL, Database URL = jdbc:mysql://localhost:3306/openfire (yg diubah servernya saja menjadi localhost)
Profile setting = Pilih directory server (LDAP)  [ karena saya ingin integrasikan dengan user account yg sudah ada di COS, dengan sendirinya LDAP di COS harus running] jika ragu boleh pilih default [user dicreate baru dan tidak menyatu dgn user di COS]
Profile Setting – Connection setting = diisi dari data yg ada di LDAP COS
User & Group Mapping = Default
Administrator Account = isikan account yg akan digunakan untuk admin di server Openfire
Selesai, silahkan “Login to Administration Console” atau bisa melalui alamat http://ip-cos:9090

- Kalau kurang pas TUT atau urutannya silahkan disempurnakan (di-oprex bareng-bareng) karena ini hasil ujicoba dan kebetulan jalan
- Sofware untuk messenger client gunakan spark bisa didownload dari server yg sama http://www.igniterealtime.org/downloads/index.jsp
- Untuk akses dari luar jaringan silahkan dibuka port di COS – firewall - incomming yg dibutuhkan oleh openfire.

Sumber : Forum ClearOS Indonesia  

READ MORE - Instalasi Openfire (Chat & Voice Server)

Instalasi Drupal

Drupal adalah sebuah perangkat lunak sistem manajemen konten yang bebas dan terbuka yang di distribusikan dibawah lisensi GPL, pengembangan dan perawatannya dilakukan oleh ribuan komunitas pengguna dan pengembang di seluruh dunia. Dibuat dengan bahasa pemrograman PHP, Drupal dapat dipasang pada beberapa jenis database seperti MySQL, PostgreSQL, SQLite,MariaDB dan juga MsSQL. Web server yang mendukung diantaranya Apache, Nginx, IIS yang berjalan pada sistem operasi Microsoft Windows, Mac OS X, Linux dan FreeBSD. Dapat diunduh secara bebas dan dapat digunakan secara bebas juga, sehingga memungkinkan setiap orang baik secara individu maupun komunitas untuk mempublikasi, mengatur dan mengorganisir berbagai jenis dari isi/konten pada website. Kemampuannya tidak sekedar sebagai CMS, namun dengan modul API-nya Drupal juga dapat digunakan sebagai CMF dalam membangun aplikasi berbasis Web

PERSIAPAN INSTALASI
1. Pastikan webserver dan mysql server telah jalan.
Upgrade PHP ke versi 5.2.17

Disini saya menggunakan Drupal 6
Recommended: PHP 5.2 for Drupal 5 and 6, PHP 5.3 for Drupal 7

2. masuk ke direktori /var/www/html
Code: [Select]
cd /var/www/html

3.buat direktori drupal
Code: [Select]
mkdir drupal
Code: [Select]
cd drupal

4.Download file installer
Code: [Select]
wget http://ftp.drupal.org/files/projects/drupal-6.20.tar.gz

5.ekstrak file installernya
Code: [Select]
tar -xzvf drupal-6.20.tar.gz

6. ubah permission folder
Code: [Select]
chmod -R 777 *

BUAT DATABASE
1. Masuk ke webconfig, Server - MySQL , isikan password untuk root MySQL, tekan update
2. Klik di GO , masuk ke PHPMyAdmin
3. Masukkan user = root, password= paswd yg anda buat tadi
4. Create new database = drupaldb
5. Masuk privileges - Add a new User
User name = drupaluser
Password = drupalpwd
Database for user = Grant all privileges on database
Global privileges = Check All
Tekan GO

TAHAP INSTALASI
1. http://IP_COS/drupal/drupal-6.20/install.php

2. Choose language     : Continue installation in English
3. Verify requirements : ubah melalui winscp
#drupal-6.20/sites/default/default.settings.php  jadi  drupal-6.20/sites/default/settings.php

4.Set up database     :
Database name = drupaldb
Database username = drupaluser                            
Database password = drupalpwd

READ MORE - Instalasi Drupal

Instalasi Red5 - streaming server


Instalasi Red5 v0.9.1

Download dan Install Java 1.6 (49Mb)
#yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel
.
Download & Install Red5
Sumber
http://red5.org/wiki/Install
http://www.thelinuxblog.com/red5-on-fedora-11-howto/
download red5-0.9.1.tar.gz dari http://red5.org/wiki/0_9_1
extrak  file red5-0.9.1.tar.gz ke folder /opt/ sehingga terbentuk /opt/ red5-0.9.1/
Printah original untuk menjalankannya
#cd /opt/red5-0.9.1
#./red5.sh
Perintah ini kurasa ga perlu dijalankan karena pas saya eksekusi, web Red5 berjalan tetapi CLI di putty jadi nggantung dan saat di terminate putty nya Red5 juga ikut berhenti.
Solusinya buat prosedur untuk menjalankan servicenya.
- #Vi /etc/init.d/red5       (saya gunakan winscp untuk create file tsb dgn nama red5)
- Copas text dari http://www.sohailriaz.com/downloads/red5.txt
- Edit bagian RED5_HOME sesuaikan dengan yg kita gunakan kemudian Simpan file
  (RED5_HOME=/usr/local/red5 menjadi RED5_HOME=/opt/red5-0.9.1 )
- Perintah yg bisa digunakan : /etc/init.d/red5 [ start |stop |restart |status ]
Jalankan Server Red5
#/etc/init.d/red5  start
.
Web akses dan install aplikasi
Buka http://IP-COS:5080 atau http://domainku.poweredbyclear.com:5080
Untuk akses dari luar buka incoming port 5080 untuk Red5 dan 1935 untuk Flash/ RTMP (Real-Time Messaging Protocol)

Untuk menjalankan Aplikasi silahkan kembali akses ke http://IP-COS:5080/demos
yang sudah saya coba adalah aplikasi Ofla-Demo http://IP-COS:5080/demos/ofla_demo.html
Diatas ada link server silahkan dirubah sesuai server yg digunakan   rtmp://IP-COS/oflaDemo
lalu klik Connect, jika berhasil terhubung maka logo angka 5 di kanan atas berubah dari warna kuning menjadi hijau dan dibagian library muncul daftar Video yg bisa kita putar.
Untuk menambahkan file video silahkan kumpulkan file flv (saya ambil file hasil download dari youtube) kemudian dicopy ke folder /opt/red5-0.9.1/webapps/oflaDemo/streams/


READ MORE - Instalasi Red5 - streaming server

Instalasi PHP Point Of Sale (Program Kasir)


POS yang saya gunakan sekarang adalah PHPPointofsale www.phppointofsale.com yang saya rasa cukup mudah dalam pengaturan nya dan cukup lengkap dalam hal pelaporan nya
PHPPOS


PHP Point Of Sale (POS)
is a web based point of sale system designed to help small businesses with keeping track of customers, items, and sales. This program works great for businesses that use cash, check, or account numbers for their sales.

Project Information
•   Database Environment: MySQL
•   Development Status: 6 - Active
•   Intended Audience: Small Businesses
•   License: GNU General Public License (GPL)
•   Operating System: OS Independent (Written in an interpreted language)
•   Programming Language: PHP
•   Topic: Point Of Sale (POS)
•   Translations: English, French, Spanish
•   User Interface: Web based

Seperti di ceritakan di atas bahwa POS ini menggunakan interface webbased jadi client tinggal buka browser yang ada dan jreng langsung deh transaksi

Proses Install
1.   Donlot software phppointofsale dari inet
http://sourceforge.net/projects/phppointofsale/files/PHP%20Point%20Of%20Sale/PHP%20Point%20Of%20Sale%2010.0/PHP-Point-Of-Sale-10.9.zip/download

2.   Extract deh pake winzip ata 7zip juga boleh
3.   Rename hasil ekstarakan nya dengan nama “pos” (tanpa kutip)
4.   Buka mysql di clearos

5.   Buat database baru dengan nama “phppos” (tanpa kutip)
6.   Pilih tab import > browse dan pilih database.sql di folder database hasil ekstarkan tadi
7.   Klo udah lanjut pencet tombol go dan dia akan create tabel2 yang dibutuhin (keluar pesan 32 query seccesful)
8.   Masih di folder pos, selanjut nya ke folder application/config dan cari yang namanya “database.php.tmpl”. Rename file tersebut dengan “database.php”
9.   Open “database.php” dan ubah settingan nya pada bagian

$active_group = "default";
$active_record = TRUE;

$db['default']['hostname'] = "localhost";
$db['default']['username'] = ""; (isi dengan username mysql)
$db['default']['password'] = "";  (isi dengan password mysql)
$db['default']['database'] = "";  (isi dengan nama database, contoh phppos)
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "phppos_";
$db['default']['pconnect'] = FALSE;
$db['default']['db_debug'] = FALSE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";


Klo sudah lalu save
10.   Buka winscp dan masuk ke directory /var/www/html
11.   Copy semua folder “pos” ke /var/www/html
12.   Coba buka http://ipclearos/pos
13.   Klo sudah tampil halaman login tinggal di oprek deh

Username   : admin
Password   : pointofsale








READ MORE - Instalasi PHP Point Of Sale (Program Kasir)

Instalasi NAGIOS v.3.2.3 di ClearOS 5.2 sp1


NAGIOS adalah :
1. Sebuah sistem dan aplikasi untuk memonitor jaringan.
2. Memantau host dan layanan yang Anda tetapkan, memperingatkan Anda bila ada sesuatu yang buruk dan memberitahu ketika keadaan
    jaringan yang dimonitoring menjadi lebih baik
3. Awalnya dirancang untuk berjalan pada Linux, meskipun harus bekerja di bawah paling beragam Unix yang lain.

Fitur-fitur yang ada di NAGIOS (Klo ada yg masih kurang atau salah mohon di koreksi) :
1. Pemantauan layanan jaringan (SMTP, POP3, HTTP, NNTP, PING, dll)
2. Monitoring sumber daya host (processor load, disk usage, dll)
3. Desain plugin sederhana yang memungkinkan pengguna untuk dengan mudah mengembangkan layanan mereka sendiri
4. Layanan cek yang paralel
5. Kontak pemberitahuan layanan atau host ketika masalah terjadi dan bisa diselesaikan (melalui email, pager, atau metode yang ditetapkan
    pengguna)
6. Kemampuan untuk menentukan event handler yang akan dijalankan saat perbaikan atau host acara untuk proaktif masalah resolusi
7. File log otomatis rotasi
8. Dukungan untuk melaksanakan pemantauan berlebihan host
9. Opsional web interface untuk melihat status jaringan saat ini, dll (tambahin sendiri klo msh ada  )

Langkah-langkah dalam instalasi :

1.  yum -y --enablerepo=rpmforge install httpd php gcc glibc glibc-common gd gd-devel
     Klo dah dijalanin ada pesen ky gini : "Error getting repository data for rpmforge, repository not found"
     Jangan takut itu jg yg w alamin pas eksekusi langkah yg pertamax

2.  Jalanin script yg ke 2 yaitu untuk versi x86 (32-bit) :
     rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
     untuk versi x64 (64-bit) :
     rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
   
3.  Klo dilangkah ke 2 gak da masalah lanjut ke step 3 yaitu proses instal NAGIOS scriptnya :
     yum -y --enablerepo=rpmforge install nagios nagios-plugins nagios-plugins-setuid

     Hasilnya klo di ClearOS punya w seperti ini :
     Retrieving http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
warning: /var/tmp/rpm-xfer.48XUX5: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]
[root@system nagios-3.2.0]# yum -y --enablerepo=rpmforge install nagios nagios-p                                                                                        lugins nagios-plugins-setuid
Loading "kmod" plugin
Loading "protect-packages" plugin
rpmforge                                                 | 1.1 kB     00:00
primary.xml.gz                                           | 4.0 MB     00:34
rpmforge  : ################################################## 10925/10925
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package nagios-plugins.i386 0:1.4.15-2.el5.rf set to be updated
--> Processing Dependency: fping for package: nagios-plugins
--> Processing Dependency: perl(Net::SNMP) for package: nagios-plugins
---> Package nagios.i386 0:3.2.3-3.el5.rf set to be updated
---> Package nagios-plugins-setuid.i386 0:1.4.15-2.el5.rf set to be updated
--> Running transaction check
---> Package perl-Net-SNMP.noarch 0:5.2.0-1.2.el5.rf set to be updated
--> Processing Dependency: perl(Crypt::DES) for package: perl-Net-SNMP
---> Package fping.i386 0:2.4-1.b2.3.el5.rf set to be updated
--> Running transaction check
---> Package perl-Crypt-DES.i386 0:2.05-3.2.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 nagios                  i386       3.2.3-3.el5.rf   rpmforge          3.7 M
 nagios-plugins          i386       1.4.15-2.el5.rf  rpmforge          1.6 M
 nagios-plugins-setuid   i386       1.4.15-2.el5.rf  rpmforge          122 k
Installing for dependencies:
 fping                   i386       2.4-1.b2.3.el5.rf  rpmforge           40 k
 perl-Crypt-DES          i386       2.05-3.2.el5.rf  rpmforge           37 k
 perl-Net-SNMP           noarch     5.2.0-1.2.el5.rf  rpmforge           96 k

Transaction Summary
=============================================================================
Install      6 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 5.6 M
Downloading Packages:
(1/6): perl-Net-SNMP-5.2.0-1.2.el5.rf.noarch.rpm         |  96 kB     00:01
(2/6): nagios-plugins-1.4.15-2.el5.rf.i386.rpm           | 1.6 MB     00:13
(3/6): fping-2.4-1.b2.3.el5.rf.i386.rpm                  |  40 kB     00:01
(4/6): nagios-3.2.3-3.el5.rf.i386.rpm                    | 3.7 MB     00:31
(5/6): nagios-plugins-setuid-1.4.15-2.el5.rf.i386.rpm    | 122 kB     00:00
(6/6): perl-Crypt-DES-2.05-3.2.el5.rf.i386.rpm           |  37 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: fping                        ######################### [1/6]
  Installing: perl-Crypt-DES               ######################### [2/6]
  Installing: nagios                       ######################### [3/6]
  Installing: nagios-plugins-setuid        ######################### [4/6]
  Installing: perl-Net-SNMP                ######################### [5/6]
  Installing: nagios-plugins               ######################### [6/6]

Installed: nagios.i386 0:3.2.3-3.el5.rf nagios-plugins.i386 0:1.4.15-2.el5.rf nagios-plugins-setuid.i386 0:1.4.15-2.el5.rf
Dependency Installed: fping.i386 0:2.4-1.b2.3.el5.rf perl-Crypt-DES.i386 0:2.05-3.2.el5.rf perl-Net-SNMP.noarch 0:5.2.0-1.2.el5.rf
Complete!
Klo dah komplit trus gak ada error maka lanjut ke step selanjutnya.

4.    Selamat ClearOS Anda sudah terinstal NAGIOS  sekarang tinggal membuat user ma passwordnya caranya :
     Jalankan script ini
    htpasswd -c /etc/nagios/htpasswd.users nagiosadmin --> INI BWAT USERNAME
     truuus..... nanti hasilnya keluar
    New password: --> KETIK USERNAME
       Re-type new password: --> VERIFIKASI USERNAME
       Adding password for user nagiosadmin

5.  Truus kita verifikasi default config-nya dengan cara :
     nagios -v /etc/nagios/nagios.cfg

      Klo output di ClearOS w ky gini :
     

[root@system nagios-3.2.0]# nagios -v /etc/nagios/nagios.cfg

Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config file '/etc/nagios/objects/commands.cfg'...
Processing object config file '/etc/nagios/objects/contacts.cfg'...
Processing object config file '/etc/nagios/objects/timeperiods.cfg'...
Processing object config file '/etc/nagios/objects/templates.cfg'...
Processing object config file '/etc/nagios/objects/localhost.cfg'...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
        Checked 8 services.
Checking hosts...
        Checked 1 hosts.
Checking host groups...
        Checked 1 host groups.
Checking service groups...
        Checked 0 service groups.
Checking contacts...
        Checked 1 contacts.
Checking contact groups...
        Checked 1 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 24 commands.
Checking time periods...
        Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check


6.  Selanjutnya kita setting service NAGIOS biar otomatis running tiap kali ClearOS booting.....
     Scriptnya : chkconfig nagios on
     klo di step ini ada pesen error caranya coba "Pastikan hak akses dari folder nagios 755"

7.  Jalanin deh servicenya pake : /etc/init.d/nagios start
   
     Hasil di ClearOS w ky gini :
     nagios is stopped
     Starting nagios:                                           [  OK  ]

8.  Dah slesai kah ? SABAAR......., kita masih harus restart Apache server dolo caranya :
     /etc/init.d/httpd restart

     Hasil di ClearOS w ky gini :
     Stopping httpd:                                            [  OK  ]
     Starting httpd:                                            [  OK  ]

9.  Kelar deeh instalasi NAGIOS-nya tinggal kita cek melalui browser dengan cara (contoh : https://192.168.88.1/nagios atau bisa jg nembak  
     nama servernya ky ClearOS gw https://clearos/nagios)

10.Klo dah muncul halaman login maka :     (Ilmu dan ClearOS Anda telah bertambah maju)

     Klo masih ada yg bingung, yuuk kita bahas bareng-bareng di forum kesayangan kita ini OK !


Sumber :
http://tundra.web.id/archives/910#codesyntax_1
http://www.ehowstuff.com/how-to-install-nagios-on-centos-5-5/

READ MORE - Instalasi NAGIOS v.3.2.3 di ClearOS 5.2 sp1

Instalasi Opencart (buat toko Online)


Mencoba berbagi, bagi yang berniat membuka toko Online, bs dicoba untuk membuat website penjualan dg menggunakan Software open source yang bernama Opencart. Sebuah software yang mempunyai kelebihan dlam kemudahan utk meng-customize dgn tampilan yg cukup elegan dan juga banyaknya dukungan termasuk bahasa

Bagi yang blm terbiasa dlm mengelola website pun, dapat dgn mudah menggunakannya.

berikut contoh penampakannya



Setlh itu panggil ip COS di browser. Karena tadi saya memberi nama folder belanja maka dalam memanggil ip COS hrs diikuti nama foldernya. Apabila Anda tdk memberi folder, maka cukup memanggilnya dgn IP COS aja. Contoh : http://ipclearos/belanja


4. Centang persetujuan lisensinya, lalu ikuti petunjuk selanjutnya.
5. Tahap selanjutnya maka akan cek kebutuhan instalasi.  Apabila ada yg blm tercentang hijau, berarti ada konfigurasi yg blm sesuai, sesuaikan seperti yg dipersyaratkan. Demikian juga dgn status file dan direktorinya hrs writable. Anda bs merubah permissionnya dgn menggunakan winScp (777).
6. Langkah selanjutnya yaitu pengaturan konfigurasi database. Isi sesuai dgn pada waktu pembuatan database phpmyadmin

Selanjutnya Anda tinggal costumize sendiri sesuai kebutuhan...oya jangan lupa delet folder install setelah proses instalasi selesai...
Untuk membuka website yg sdh dibuat, buka http://ipclearos/belanja
Untuk login administrator, ketik : http://ipclearos/belanja/admin



READ MORE - Instalasi Opencart (buat toko Online)

Instalasi Nessus -4.4.1 32 Bit di Clearos


Nessus adalah sebuah software scanning, yang dapat digunakan untuk mengaudit kemanan sebuah sistem, seperti vulnerability, misconfiguration, security patch yang belum diaplikasikan, default password, dan denial of service. Menurut saya ini merupakan sebuah keharusan bagi para network/server administrator disamping beberapa tool auditing lainnya seperti NMAP, Metasploit, dan lain sebagainya. Nessus sendiri memiliki arsitektur server-client, tujuannya adalah untuk menghemat resource dengan menggunakan sebuah server scanning untuk beberapa client sekaligus.

Untuk informasi lebih lanjut silahkan meluncur ke : http://www.tenable.com

PERSIAPAN INSTALASI
1.   Download file installer di:

        http://www.tenable.com/products/nessus/select-your-operating-system

        atau

        http://downloads.nessus.org/nessus3dl.php?file=Nessus-4.4.1-es5.i386.rpm&licence_accept=yes&t=902a4719abc423f10305eaf9774ba12f

2.   Copy file yang sudah didownload tadi ke  /tmp (gunakan WinSCP)

3.   Buka Putty dan masukkan perintah :

     
Code: [Select]
cd /tmp
     
Code: [Select]
rpm -Uvh Nessus-4.4.1-es5.i386.rpm
     
        Setelah itu lakukan registrasi ke website Nessus. Form registrasi berada di
       
        http://www.nessus.org/register/.

Caranya cukup mudah, yang kemudian intinya kita akan dikirimi sebuah kode registrasi ke email yang kita daptarkan pada form tersebut. Registrasi ini bertujuan agar kita bisa mendownload plugin-plugin baru dari Nessus. Nessus sendiri memiliki dua buah metode berlangganan untuk mendapatkan plugin-plugin ini. Metode pertama adalah dengan keanggotaan membayar (ProfessionalFeed). Dengan keanggotaan ini kita akan mendapatkan plugin-plugin fresh. Sedangkan keanggotaan free (HomeFeed), adalah keanggotaan gratis, yang akan mendapatkan plugin setelah 7 hari plugin diterbitkan untuk keanggotaan ProfessionalFeed.

4.   Setelah register chek email dan masukkan perintah (gunakan putty)

     
Code: [Select]
/opt/nessus/bin/nessus-fetch --register 4CF4-73CC-309E-EB58-ED9B
>>>sesuaikan dengan yang dikasih oleh nessus melalui email, setiap register berbeda hasil

5.   Untuk memulai aplikasi Nessus masukkan perintah

     
Code: [Select]
service nessusd start

6.   Tambahkan user dengan cara :

     
Code: [Select]
/opt/nessus/sbin/nessus-adduser

        Ikuti petunjuk yang ada kemudian enter 2x

7.   Buka Browser dengan alamat : https://IP_COS:8834

READ MORE - Instalasi Nessus -4.4.1 32 Bit di Clearos

Instalasi Gallery (foto album server)


PERSIAPAN INSTALASI
1. Pastikan webserver dan mysql server telah jalan.

Upgrade PHP ke versi 5.2.17 --> http://forum.clearos-indonesia.com/index.php?topic=638.0
Setelah itu lakukan perintah :
Code: [Select]
#yum --enablerepo=timb upgrade php
#service httpd restart

2. masuk ke direktori /var/www/html
Code: [Select]
#cd /var/www/html

3.Download file installer
Code: [Select]
#wget http://nchc.dl.sourceforge.net/project/gallery/gallery3/3.0/gallery-3.0.zip

4 ekstrak file installernya
Code: [Select]
#unzip gallery-3.0.zip
#cd gallery3

5. ubah permission folder
Code: [Select]
#chmod -R 777 *


BUAT DATABASE
1. Masuk ke webconfig, Server - MySQL , isikan password untuk root MySQL, tekan update
2. Klik di GO , masuk ke PHPMyAdmin
3. Masukkan user = root, password= paswd yg anda buat tadi
4. Create new database = galerrydb
5. Masuk privileges - Add a new User
User name = galleryuser
Password  = gallerypwd
Database for user = Grant all privileges on database
Global privileges = Check All
Tekan GO..

TAHAP INSTALASI
1. Buka browser, URL : http://ip_COS/gallery3
2. Database server settings
database name= gallerydb
user                  = galleryuser
password         = gallerypwd
prefix                = gal_

3.catat dan simpan user admin dan password nya yang diberikan.
 contoh :
Code: [Select]
username: admin
password: 34fa20

4.isikan informasi sesuai dengan pertanyaan yg diminta
5.Gallery bisa diakses di http://ip_COS/gallery3

READ MORE - Instalasi Gallery (foto album server)

Instalasi Senayan (Sistem Informasi Manajemen Perpustakaan)


Apa itu senayan?
SLiMS merupakan akronim Senayan Library Management System. SLiMS atau sering juga disebut "Senayan" merupakan software untuk manajemen perpustakaan. Dirilis dengan lisensi GPL (http://www.gnu.org/licenses/gpl.html) yang menjamin kebebasan tiap orang (utamanya Rakyat Indonesia) untuk mendapatkan, menggunakan, memodifikasi, dan melakukan redistribusi, baik secara komersial ataupun tidak. Awalnya dikembangkan untuk kebutuhan "Library Automation" tetapi sekarang SLiMS sudah mengakomodasi kebutuhan untuk Perpustakaan Dijital.
(http://slims.web.id)

PERSIAPAN INSTALASI
1. Pastikan webserver dan mysql server telah jalan.

Upgrade PHP ke versi 5.2.17 --> http://forum.clearos-indonesia.com/index.php?topic=638.0
Setelah itu lakukan perintah :
Code: [Select]
#yum --enablerepo=timb upgrade php
#service httpd restart

2. masuk ke direktori /var/www/html
Code: [Select]
#cd /var/www/html

3. Download file installer
Code: [Select]
#wget http://www.slims.web.id/download/slims3-stable15.tar.gz

4. Ekstrak file installernya
Code: [Select]
#tar -xzvf slims3-stable15.tar.gz

5.Ganti nama
Code: [Select]
#mv slims3-stable15 senayan
#cd senayan

6. Ubah permission folder
Code: [Select]
#chmod -R 777 *


BUAT DATABASE
1. Masuk ke webconfig, Server - MySQL , isikan password untuk root MySQL, tekan update
2. Klik di GO , masuk ke PHPMyAdmin
3. Masukkan user = root, password= paswd yg anda buat tadi
4. Create new database = senayandb
5. Masuk privileges - Add a new User
User name = senayanuser
Password = senayanpwd
Database for user = Grant all privileges on database
Global privileges = Check All
Tekan GO..

TAHAP INSTALASI
1. Edit file sysconfig.inc.php
Code: [Select]
#vi sysconfig.inc.php
(Jika akan mengedit tekan tombol insert )

Code: [Select]
/* DATABASE CONNECTION config */
// database constant
// change below setting according to your database configuration
define('DB_HOST', 'localhost');
define('DB_PORT', '3306');
define('DB_NAME', 'senayandb');
define('DB_USERNAME', 'senayanuser');
define('DB_PASSWORD', 'senayanpwd');

Simpan dengan tekan tombol Esc, kemudian ketik :wq (titik dua wq)

2. Import file senayan.sql ke database
Code: [Select]
# mysql -u root -p senayandb < /var/www/html/senayan/install/senayan.sql
# mysql -u root -p senayandb < /var/www/html/senayan/install/sample_data.sql
isikan password jika diminta, dengan password root mySQL

3. Masuk via browser http://IP_COS/senayan
user     = admin
password = admin

READ MORE - Instalasi Senayan (Sistem Informasi Manajemen Perpustakaan)

Install Video Streaming Menggunakan PHPMOTION + ClearOS


1. Install dulu paket yang dibutuhkan caranya disini http://www.sohailriaz.com/how-to-install-ffmpeg-mplayer-mencoder-ffmpeg-php-on-centos-5x/

Pada saat compile ffmpeg kalau ada error    lakukan dibawah ini
solusi :
- Cari file ffmpeg_frame.c
- replace all PIX_FMT_RGBA32 to PIX_FMT_RGB32

2. Download PHPMotion ==> http://www.phpmotion.com/registration/download.php?php_version=52
 Cara Instalasi PHPMotion  ==> http://wiki.phpmotion.com/InstallingV3

Masalah yang phpshield yang biasa muncul saat instalasi solusinya ==>http://wiki.phpmotion.com/PHPShield525

Setelah sukses instalasi
Jalankan phpmotion biasanya masih ada error dimenunya karena pengaruh .htacces dan solusinya adalah :

Rubah  "/etc/httpd/conf/httpd.conf" di line 293 and 327 dari: AllowOverride None ke  AllowOverride All
Restart the web server.: # service httpd restart

3. Memperbaiki upload yang error
Solusi :
-  file Cgi-bin upload dengan mode binnary kemudian set permission file ke 755
- perbaiki /etc/httpd/conf.d  cari file vhost anda tambahkan script alias cgi-bin
seperti dibawah ini

<virtualhost *:80>
ServerName namadomain.com
ServerAlias *.namadomain.com
ScriptAlias /cgi-bin/ "/var/www/virtual/namadomain.com/cgi-bin/"
DocumentRoot /var/www/virtual/namadomain.com
ErrorLog /var/log/httpd/namadomain.com_error_log
CustomLog /var/log/httpd/namadomain.com_access_log combined
</VirtualHost>


# service httpd restart
READ MORE - Install Video Streaming Menggunakan PHPMOTION + ClearOS

Instalasi Moodle (e-learning)


Tentang Moodle : http://moodle.org/

Buat Coser yg bersedia mengembangkan system pengajaran online (e-learning) dengan moodle, mari sama-sama diskusi disini.


[TUT] Instalasi Moodle v 1.9.10

Upgrade PHP ke v5.2.17 untuk COS v52 sp1:--> http://forum.forum.clearos-indonesia.com/index.php?topic=638.0
Setelah itu lakukan perintah :
Code: [Select]
#yum --enablerepo=timb upgrade php

Create database moodle:
Original Link : http://docs.moodle.org/en/Windows_installation_using_XAMPP#Create_the_MySQL_database
Pastikan MySQL Running
Buat database baru untuk moodle misalkan dengan nama moodle
Kemudian untuk database moodle di tab privileges, Add New User untuk admin database moodle
- user : moodledb
- Host : Local : Localhost
- pass :clearos
- Database for use : Grant all privileges on database "moodle"
- Global privileges (Check All)
.
Download dan Extrak file Installer moodle:
Download File installer moodle-1.9.10.gz dari http://download.moodle.org/
Extrak file installer moodle dan copy ke folder web di COS ( /var/www/html/ )
sehingga akan menghasilkan /var/www/html /moodle (saya gunakan winscp)
.
Setup moodle Pertama kali:
Akses http://ip-cos/moodle atau dengan domain http://domainku.poweredbyclear.com/moodle
Jika akses menggunakan domain gagal, cek kembali settingan webserver defaultnya pastikan website yg tertera sesuai dengan website yg akan diakses "domainku.poweredbyclear.com(default)" dan Incomming firewall untuk port 80 (web) sudah di ijinkan
Setting bahasa : English - Pilih Next
Chek PHP setting, semua harus berstatus “Pass” - Pilih Next
Konfirmasi lokasi Instalasi Moodle - Jangan dulu pilih Next karean Data Directory belum tersedia
Buat folder baru di COS untuk data directory moodle di /var/www/moodledata/ dan Set permission menjadi 0777 (saya gunakan winscp)
Kembali ke Instalasi Moodle - Pilih Next
Konfigurasi database moodle, di isi sesuai database yg telah dibuat untuk moodle
- Type            : MySQL
- Host Server : localhost
- Database    : moodle
- User            : moodledb
- password    : clearos
- Table prefix : mdl_
Pilih Next
Pengecekan komponen system yg ada (seharusnya semua status OK) - pilih Next
Informasi untuk penambahan Bahasa (abaikan saja bisa di Add setelah instalasi)
Notifikasi untuk mendownload file config.php
Sebelum continue, Klik download file config.php, Copy file config.php ke /var/www/html/moodle/
Setelah dicopy kembali ke Instalasi dan klik Continue
Persetujuan Lisensi - pilih Yes
Informasi Versi Moodle yg terinstall - klik Continue
Setting & Update Database oleh Moodle, ada 12 step dan Tiap step harusnya “No Warning” - Klik Continue)
Setting Account sebagai  Administrator Web Moodle (misalkan moodleadmin)
Setting Halaman Muka - Isi Field yg diperlukan
Jika semua berjalan lancar maka akan terbuka halaman Moodle yang langsung login dengan account adminisrator Moodle (moodleadmin)
Berikutnya anda bisa mengakses Moodle melalui http://ip-cos/moodle atau dengan domain http://domainku.poweredbyclear.com/moodle

READ MORE - Instalasi Moodle (e-learning)

Instalasi ISP config


fungsi isp config adalah sebagai webhost management berbasis open source
disarankan sebelum menginstall ini server sudah bisa bekerja alias semua fitur sudah ada termasuk webserver, sql, webmail dll nya

cara installnya
1. install dulu development tool dan juda librarynya
#yum groupinstall 'Development Tools'
#yum groupinstall 'Development Libraries'

2. install ispconfig
#cd /tmp
#wget http://nchc.dl.sourceforge.net/project/ispconfig/ISPConfig%203/ISPConfig-3.0.3.2/ISPConfig-3.0.3.2.tar.gz
#tar xvfz ISPConfig-3.0.3.2.tar.gz
#cd ispconfig3_install/install/
#php -q install.php  <--memulai proses instalasi

[root@server1 install]# php -q install.php

-------------------------------------------------------------------------------- _____ ___________   _____              __ _|_   _/  ___| ___ \ /  __ \            / _(_)  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` | _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |                                              __/ |                                             |___/--------------------------------------------------------------------------------

>> Initial configuration
Operating System: Redhat or compatible, unknown version.
    Following will be a few questions for primary configuration so be careful.    Default values are in [brackets] and can be accepted with <ENTER>.    Tap in "quit" (without the quotes) to stop the installer.

Select language (en,de) [en]: <-- ENTER
Installation mode (standard,expert) [standard]: <-- ENTER
Full qualified hostname (FQDN) of the server, eg server1.domain.tld  [server1.example.com]: <-- ENTER
MySQL server hostname [localhost]: <-- ENTER
MySQL root username [root]: <-- ENTER
MySQL root password []: <-- yourrootsqlpassword
MySQL database to create [dbispconfig]: <-- ENTER
MySQL charset [utf8]: <-- ENTER
Generating a 2048 bit RSA private key......+++.................+++writing new private key to 'smtpd.key'-----You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are quite a few fields but you can leave some blankFor some fields there will be a default value,If you enter '.', the field will be left blank.-----Country Name (2 letter code) [GB]: <-- ENTERState or Province Name (full name) [Berkshire]: <-- ENTERLocality Name (eg, city) [Newbury]: <-- ENTEROrganization Name (eg, company) [My Company Ltd]: <-- ENTEROrganizational Unit Name (eg, section) []: <-- ENTERCommon Name (eg, your name or your server's hostname) []: <-- ENTEREmail Address []: <-- ENTERConfiguring JailkitConfiguring SASLConfiguring PAMConfiguring DovecotConfiguring SpamassassinConfiguring AmavisdConfiguring GetmailConfiguring PureftpdConfiguring BINDConfiguring ApacheConfiguring vloggerConfiguring Apps vhostConfiguring FirewallInstalling ISPConfigISPConfig Port [8080]: <-- ENTER
Configuring DBServerInstalling Crontabno crontab for rootno crontab for getmailRestarting services ...Stopping MySQL:                                            [  OK  ]Starting MySQL:                                            [  OK  ]Shutting down postfix:                                     [  OK  ]Starting postfix:                                          [  OK  ]Stopping saslauthd:                                        [FAILED]Starting saslauthd:                                        [  OK  ]Shutting down Mail Virus Scanner (amavisd):                [FAILED]Starting Mail Virus Scanner (amavisd):                     [  OK  ]Stopping Dovecot Imap:                                     [  OK  ]If you have trouble with authentication failures,enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWorkThis message goes away after the first successful login.Starting Dovecot Imap:                                     [  OK  ]Stopping httpd:                                            [  OK  ][Tue May 25 18:15:57 2010] [warn] NameVirtualHost *:80 has no VirtualHostsStarting httpd:                                            [  OK  ]Stopping pure-ftpd:                                        [  OK  ]Starting pure-ftpd:                                        [  OK  ]Installation completed.[root@server1 install]#



Installer secara otomatis mengkonfigurasi semua layanan pokok alias dasar, untuk selanjutnya diperlukan konfigurasi manual (silahkan di kembangkan)
setelah selesai konfigurasi isp config dengan membuka http://DOMAIN:8080/ atau http://IP:8080/
username:admin
password:admin
READ MORE - Instalasi ISP config

Instalasi Cacti di ClearOS


nstall paket-paket pendukung:

tambahkan repo dag
dengan winscp buka /etc/yum.repos.d
create new file kasih nama Dag.repo
copas ini

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el5/en/i386/dag
gpgcheck=0
enabled=1
protect=0

trus save

- atau bisa juga memakai repo rpmforge
#wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
#rpm -Uhv rpmforge-release-0.5.2-2.el5.rf.i386.rpm

di CLI pake perintah

#yum clean all
#yum update yum
#yum install php-snmp net-snmp net-snmp-utils rrdtool
ada peringatan download paket 19MB ketik "y"

Tahap-tahap instalasi CACTI:

1. Buat user untuk menjalankan database cacti
# groupadd cacti
# useradd -g cacti cactiuser
# passwd cactiuser
Changing password for user cactiuser.
New UNIX password: cactipassword
Retype new UNIX password: cactipassword
passwd: all authentication tokens updated successfully.

2. Download terlebih dahulu paket cacti nya:
# wget http://www.cacti.net/downloads/cacti-0.8.7g.tar.gz

3. Ekstrak hasil downloadan tersebut dan hasil ekstrakan letakkan di direktori apache anda.
# tar xzvf cacti-0.8.7g.tar.gz -C /var/www/html/

4. Pindah direktori ke direktori apache anda.
# cd /var/www/html/

5. Rubah nama forder cacti-0.8.7g menjadi cacti
# mv cacti-0.8.7g cacti

6. Buat database untuk cacti dengan nama “cacti”.
# mysqladmin -u root -p create cacti

7. Pindah ke direktori cacti
# cd cacti/

8. Buat tabel-tabel untuk database cacti dengan mengimporkan file “cacti.sql” ke database cacti.
# mysql -u root -p cacti < cacti.sql

9. Sekarang buat user yang nantinya akan mengelola database cacti.
# mysql -u root -p
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactipassword';
mysql> flush privileges;
mysql> exit

(bisa juga lewat webconfig seperti biasa)

10. Kemudian edit file konfigurasi cacti yang terletak di folder “/var/www/html/cacti/include/config.php”.
# vi include/config.php
/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactipassword";
$database_port = "3306";

11. Sekarang rubah kepemilikan user dari folder “rra” dan “log”.
# chown -R cactiuser rra/ log/

12. Sekarang saatnya membuat crontab untuk cacti.
# crontab -e
*/5 * * * * /usr/bin/php /var/www/html/cacti/poller.php

13. Langkah selanjutnya adalah test apakah instalasi cacti berhasil atau tidak menggunakan browser anda.
Arahkan browser anda ke http://ip_komputer_anda/cacti, jika yang muncul adalah halaman instalasi cacti berarti proses instalasi berjalan dengan lancar. Seperti gambar di bawah ini, Click Next untuk melanjutkan:


14. Setelah anda click tombol next, maka akan muncul gambar seperti dibawah ini. Click next lagi untuk melanjutkan.


15. Setelah anda click tombol “Next” maka kemudian akan muncul gambar seperti dibawah ini

Pastikan bahwa semua path binary sudah di temukan atau tertulis “FOUND”. Jika masih ada yang error maka pastikan lagi tidak ada langkah yang terlewatkan.

16. Setelah proses instalasi selesai maka akan muncul halaman login cacti, anda dapat login dengan menggunakan username=admin dan password=admin. Seperti gambar di bawah ini:


17. Setelah anda berhasil login maka akan muncul halaman untuk mengganti password admin anda, silahkan ganti sesuai dengan keinginan anda, ini dilakukan demi keamanan server anda.


18. Terakhir, setelah anda merubah password untuk user admin anda maka anda akan menuju ke halaman index untuk user admin. Silahkan edit sesuai dengan kebutuhan anda.

READ MORE - Instalasi Cacti di ClearOS

Instalasi Jibas


Instalasi manual jibas di Cos

silahkan download dulu source/kode sumber :

http://www.jibas.net/res/jibas/jibas.roadtocommunity.src-2.5.2.tar.bz2

1. pastikan fungsi webserver, php v.5 keatas dan MySql database sudah terinstal dan jalan.

2. setelah download selesai langkah selanjutnya adalah extract hasil download tadi ke /var/www/html (disini saya menggunakan WinScp)

3. kemudian di cli ubah permission untuk folder jibas dan fileshring :

   - chown -R 755 filesharing/
   - chown -R 755 jibas/

4. kemudian buat nama database di PhpMyAdmin dengan nama 'jbsakad'

5. selanjutnya database jibas di dump melalui cli dengan mengetik syntax :
 
Code: [Select]
mysql -u root -p (namadatabase yang baru dibuat tadi) < jibas_db.sql

6. setelah itu cek konfigurasi /var/www/html/jibas/include/application.config.php
 
   /* Awal tahun pendataan menggunakan SISFO JIBAS */
   $G_START_YEAR='2008';

   /* Alamat Server aplikasi SISFO JIBAS
      Alamat ini digunakan untuk menampilkan header cetak di laporan-laporan yang disediakan SISFO JIBAS
      Gunakan alamat IP atau nama domainnya, jangan menggunakan localhost */
   $G_SERVER_ADDR='localhost'; (silahkan diubah sesuai dengan address server)

   /* Direktori untuk menyimpan berkas-berkas unggahan dari aplikasi InfoGuru */
  $FS_UPLOAD_DIR='/var/www/html/filesharing/fileshare';

   /* Direktori tempat menyimpan galeri foto di aplikasi InfoGuru */
   $IG_GALLERY_DIR='';

   /* Direktori tempat menyimpan galeri foto di aplikasi InfoSiswa */
   $IS_GALLERY_DIR='';

   /* Sistem operasi yang digunakan ( win | lin ) */
   $G_OS='lin';

   /* Lokasi Sekolah */
   $G_LOKASI = "Bekasi";

7. dan cek juga configurasi /var/www/html/jibas/include/database.config.php

   /* Alamat basis data MySQL JIBAS */
   $db_host='localhost:3306';

   /* User basis data MySQL JIBAS */
   $db_user='root';

   /* Password basis data MySQL JIBAS */
   $db_pass=''; (sesuaikan dengan pass user database yang dibuat)

   /* Basis data default JIBAS */
   $db_name='jbsakad';

8. Selesai setelah itu simpan semua dan silahkan coba jalankan jibas



referensi :

1. jibas forum
2. blog desawarna
2 dll (pokoe lumayan banyak dah)

READ MORE - Instalasi Jibas

Install EasyHotspot di Server ClearOS 5.2


Hardware Requirements:
1. PC with at least 2 NICs ( I used 3 NICs on mine)
i. eth0: Internet
ii. eth1: Hotspot LAN
iii. eth2: Admin (optional)
2. Access Point

Software Requirements:
1. ClearOS 5.2 Enterprise (http://www.clearfoundation.com/Software/downloads)
2. FreeRadius2
3. Coova-Chilli (http://www.clearcenter.com/media/dev/coova-chilli-1.2.5-1.i386.rpm)
4. Easyhotspot-web_only_0.2 (http://sourceforge.net/projects/easyhotspot/)

Install ClearOS
- Install ClearOS as a Gateway i.e. choose Gateway mode on system mode
- Select software modules
- Graphical Console
- DHCP and Local DNS Servers
- Mail Server
- Web Server
- Database Server / MySQL
- Optional modules (Web Proxy, Antimalware, Antispam, Bandwidth Manager, Intrusion Protection, Protocol filter)

- Follow on-screen instructions to complete installation and reboot the system. The system reboots into a GUI screen. Login using root and password you set during installation and Complete Installation wizard tasks

Firewall Settings
Go to Firewall by clicking the Firewall link at the end of the installation wizard. Add firewall rules to allow SSH and HTTP

IP Settings
Go to Network>IP Settings and make sure eth0 is configured for Internet Access and eth1 is set on something line Hot LAN or LAN and on DHCP. If you are using 3 NICs like I did, set eth2 with static/dhcp LAN IP address. Ensure the links are up.

Check Internet connectivity by open a second terminal (CTRL+F2). Login and trying pinging a web address. This verifies that Internet and DNS are working well. If successful, proceed to install FreeRadius2 otherwise check your connections.


Install/Setup FreeRadius2
(http://www.clearfoundation.com/docs/howtos/setting_up_freeradius2_to_use_ldap)
For ClearOS 5.2, run your updates. For older versions, you must upgrade to 5.2 before you can use this module.
# yum update

Install the FreeRadius service by running the following from command line:
# yum --enablerepo=base-plus install app-freeradius

# service syswatch restart


In Webconfig, click on the RADIUS server link under Network » Settings » RADIUS Server
To start the service, click Start. To make the service start automatically on each reboot, click To Auto
You may assign a group to authenticate through your RADIUS server. Select a group and click Update.

To allow a remote device to use the RADIUS server, give the client remote device(s) a nickname without spaces. Insert an IP address or CIDR. Select a password to be used by these client devices (e.g. testing123 from HS_RADSECRET=testing123) and click Add.


NOTE: You can follow the complete HOWTO (http://www.clearfoundation.com/docs/howtos/setting_up_freeradius2_to_use_ldap) if you want to use LDAP authentication.

Configure FreeRadius2 to use SQL

Install freeRadius2-mysql
# yum install freeradius2-mysql

Edit radius.conf file
To do this, edit /etc/raddb/radiusd.conf and pretty much ignore everything except around about line 640 in the modules section uncomment or make sure that you have,

$INCLUDE sql.conf

and then further down make sure you have,

$INCLUDE sql/mysql/counter.conf

Then further around line 710 in the instantiate section make sure you have,

chillispot_max_bytes
noresetcounter


which are our counters which we define in the next section. Then in /etc/raddb/sites-enabled/default, in the authorise section after it has the "Look in an SQL database..." it has an "sql" entry that may be commented out so uncomment it and add the new counters so that it is now,


sql
chillispot_max_bytes
noresetcounter

and then later in /etc/raddb/sites-enabled/default in the accounting section uncomment the sql about line 343,

sql

and then later in /etc/raddb/sites-enabled/default in the session section uncomment the sql about line 370,

sql

and then finally in /etc/raddb/sites-enabled/default in the post-auth section uncomment the sql about line 370,

sql

That should be it. Now update the counter.conf in the next section.

FreeRadius SQL counter.conf settings needed
To match the radcheck and radgroupchecks we use then you also need to add two matching counter.conf checks as follows. Edit the /etc/radddb/sql/mysql/counter.conf file (unless the counter is already defined in that), add the following at the end,

sqlcounter noresetcounter {
counter-name = Session-Timeout
check-name = Session-Timeout
reply-name = Session-Timeout
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(Acctsessiontime) FROM radacct WHERE serName='%{%k}'"
}

sqlcounter chillispot_max_bytes {
counter-name = ChilliSpot-Max-Total-Octets
check-name = ChilliSpot-Max-Total-Octets
reply-name = ChilliSpot-Max-Total-Octets
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(AcctInputOctets) + SUM(AcctOutputOctets) FROM radacct WHERE UserName='%{%k}'"
}

IMPORTANT: Make sure you comment out all occurrences ldap and files in /etc/raddb/sites-enabled/default


Setup easyhotspot database to be used by FreeRadius

Go to Webconfig>Server>MySQL and set MySQL to Auto start On Boot and start the Service. You will be required to supply a password for MySQL (if you have not set one already)

On the terminal:

#mysql –u root –p

mysql> create database easyhotspot_opensource;
mysql>CREATE USER 'easyhotspot'@'localhost';
mysql>SET PASSWORD FOR 'easyhotspot'@'localhost' = PASSWORD('easyhotspot');
mysql>GRANT ALL ON easyhotspot_opensource.* to 'easyhotspot'@'localhost';
mysql> quit

Easyhotspot Database Setup
Download easyhotspot from here 2 http://sourceforge.net/projects/easyhotspot/
Recommended: Download the modified and ‘tested as working’ easyhotspot here http://www.prandah.com/wp-content/uploads/2011/11/easyhotspot.sql_.gz

NOTED: rename the file and change file extension from odt to sql

# mysql –u root –p easyhotspot_opensource < easyhotspot_opensource_2011-08-22.sql

Setup Easyhotspot

Preparation
#yum install php php-mysql php-gd php-pear php-db

# wget http://pear.php.net/go-pear.phar
# php go-pear.phar
# pear install DB

Restart Apache1
#Service httpd restart

Copy the easyhotspot folder to /opt
Create a soft link in /var/www/html for easyhotspot/htdocs
 # cd /var/www/html/  
 # ln –s /opt/easyhotspot/htdocs easyhotspot

Setup Raddb To Use Easyhotspot_Opensource Database
Edit /etc/raddb/sql.conf and set the following:-
# vi /etc/raddb/sql.conf


# Connection info:
        server = "localhost"
        #port = 3306
        login = " easyhotspot "
        password = " easyhotspot "

        # Database table configuration for everything except Oracle
        radius_db = " easyhotspot _opensource"

Install/Setup Captive Portal

(http://www.clearfoundation.com/docs/howtos/captive_portal)

Preparation
You will need the working RADIUS server to get this going. Be sure to do the 'Additional setup' items at the bottom so that PAP is working.

You will need to set up localhost as an authorized client of the RADIUS server.
Create a user called coovachilli with mail only and make a group called chilli.


Get the code.
wget http://www.clearcenter.com/media/dev/coova-chilli-1.2.5-1.i386.rpm
wget http://www.clearcenter.com/media/dev/haserl
cp haserl /usr/sbin/
chmod +x /usr/sbin/haserl

Install the code

rpm -Uvh coova-chilli-1.2.5-1.i386.rpm

Configure Coovachilli

/etc/chilli/defaults

Set the following values: HS_LANIF, change this value if it is wrong (ie. HS_LANIF=eth2).

HS_NETWORK, set this to the values of your network (ie. HS_NETWORK=192.168.1.0).
HS_NETMASK, change this value if it is wrong (ie. HS_NETMASK=255.255.255.128).
HS_UAMLISTEN, set this to the IP of your server (ie. HS_UAMLISTEN=192.168.1.1).

HS_DNS1 and HS_DNS1, set these to the IP address of your local DNS server, in this case your server (ie. HS_DNS1=192.168.1.1 and HS_DNS2=192.168.1.1).

HS_RADSECRET, set this to the secret password that you placed in the RADIUS configuration for the localhost entry in Webconfig (ie. HS_RADSECRET=mysecretpassword).

HS_RAD_PROTO=mschapv2, set this so the program knows to use the NT-Password infrastructure of LDAP described in the PAP section of the FreeRADIUS 2 Howto. This value does NOT exist and you must define it (set this to HS_RAD_PROTO=mschapv2).

HS_UAMDOMAINS, set all the domains that you want for your 'walled garden. These sites will work even if users don't authenticate via your captive portal:

HS_UAMDOMAINS=".clearcenter.com,.clearfoundation.com"

Start Coova Chilli
#service chilli start

Testing
Connect a client to network (or Wireless Network). This is where eth1 on your clearOS server is connected.
-The client should receive an IP address of say 10.1.0.x

If so, open a web browser on the client. You should get a redirection to the coova login page.

http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,26/func,view/id,28581/
READ MORE - Install EasyHotspot di Server ClearOS 5.2