Monday 8 June 2015

Initial Setup ClearOs Community Edision 6.4SP1

=======================================================
|               Step-by-Step Initial Setup             |
|            ClearOS Enterprise Server 6.4SP1          |
||        Rev 1.2                        |
|               http://www.clearos.or.id/              |
========================================================

NOTES: STANDALONE SERVER (NO FIREWALL) for PROXY SERVER

*) INITIAL SETUP
Screen Shoot ada di Folder "ClearOS Community Edition 6.4SP1\02. Intial Setup ClearOS Community Edition 6.4SP1\Screen Shoot"
Files pendukung yang diperlukan ada di Folder "ClearOS Community Edition 6.4SP1\02. Intial Setup ClearOS Community Edition 6.4SP1\Files\"

1. Login ke server anda menggunakan Putty dan buka aplikas WinSCP.

2. Modifikasi tampilan bash login shell (Gambar 01) :
   Edit file /etc/profile
   # vi /etc/profile
   Kemudian paste script dibawah ini,
 
   PS1='\[\033[01;31m\][\[\033[01;37m\]\u\[\033[01;31m\]@\[\033[01;37m\]\h\[\033[01;31m\]](\033[01;32m\]\d\[\033[01;31m\]@\[\033[01;32m\]\t\[\033[01;31m\]) \[\033[01;34m\][\w]\n\[\e[36m\]\# \[\033[00m\]\$ '
 
   save tekan 'ESC :wq' (tanpa tanda kutip, arti dari perintah tersebut adalah menyimpan hasil perubahan pada /etc/profile
   w yang berarti write dan q yang berarti quit. Simpel bukan :)
   # logout
   Kemudian login kembali kedalam server anda menggunakan putty, tampak tampilan shell anda telah berubah lebih menarik.

2. Install repo yang diperlukan (Gambar 02) :
   untuk mesin dengan arsitektur 32-bit :
   # rpm -ivh http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
   # rpm -ivh http://download.clearfoundation.com/community/timb80/repo/clearos/6.4/os/i386/timb-release-1-1.noarch.rpm
   # rpm -ivh http://centos.alt.ru/pub/repository/centos/6/i386/centalt-release-6-1.noarch.rpm
   # rpm -ivh http://dl.atrpms.net/el6-i386/atrpms/stable/atrpms-repo-6-6.el6.i686.rpm
   
   untuk mesin dengan arsitektur 64-bit :
   # rpm -ivh http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
   # rpm -ivh http://download.clearfoundation.com/community/timb80/repo/clearos/6.4/os/x86_64/timb-release-1-1.noarch.rpm
   # rpm -ivh http://centos.alt.ru/pub/repository/centos/6/x86_64/centalt-release-6-1.noarch.rpm
   # rpm -ivh http://dl.atrpms.net/el6-x86_64/atrpms/stable/atrpms-repo-6-6.el6.x86_64.rpm

   Repo lainnya
   # http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
   # http://mirror.rndc.or.id/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
     http://mirror.rndc.or.id/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
 
   Mirror lainnya
   # http://kartolo.sby.datautama.net.id/

3. Lakukan disable pada repo rpmforge & CentALT,
   edit file /etc/yum.repos.d/centalt.repo
   ubah seperti pada Gambar 03a, save dan close.
 
   edit file /etc/yum.repos.d/rpmforge.repo
   ubah seperti pada Gambar 03b, save dan close.

4. Update sistem anda (Gambar 04 sd 04g) :
   # yum update

5. Install module/app dan package yang diperlukan (Gambar 05 sd 11) :
   # yum install app-bandwidth-viewer app-bandwidth-viewer-core
   # yum install app-proxy-report app-proxy-report-core
   # yum install app-software-repository app-software-repository-core
   # yum install app-disk-usage app-disk-usage-core
   # yum --enablerepo=clearos-epel install ccze
   # yum --enablerepo=rpmforge install perl-File-ReadBackwards
   # yum --enablerepo=clearos-core install patch
   # yum --enablerepo=clearos-core install sharutils

6. Refresh webconfig anda, dan akan muncul menu baru untuk :
   - Bandwidth Viewer
   - Filter & Proxy Report
   - Software Repository
   - Disk USage

- END -