Halaman Indeks SISFO Sekolah JIBAS Tutorial Instalasi Mono di CentOS, Fedora, RedHat

Instalasi Mono di CentOS, Fedora, RedHat

Tutorial mengenai instalasi, penggunaan atau pemeliharaan SISFO Sekolah JIBAS


Post: 2095
1. Unduh versi terbaru file-file berikut.
    - libgdiplus-x.y.tar.bz2 di http://ftp.novell.com/pub/mono/sources/libgdiplus/
    - mono-x.y.z.tar.bz2 di http://ftp.novell.com/pub/mono/sources/mono/
    - gluezilla-x.y.tar.bz2 di http://ftp.novell.com/pub/mono/sources/gluezilla/


2. Pastikan anda sudah menginstall paket-paket berikut:
    - Development Tools
    - Development Libraries
    - GNOME Software Development
    - KDE Software Development
    - X Software Development
    - Legacy Software Development


3. Jika belum terinstall atau belum yakin, anda dapat menginstallnya menggunakan yum:

    yum groupinstall "Development Tools" "Development Libraries" "GNOME Software Development" "KDE Software Development" "X Software Development" "Legacy Software Development"


4. Ekstrak dan Compile libgdiplus

    tar -xvjf libgdiplus-x.y.tar.bz2
    cd libgdiplus-x-y
    ./configure; make; make install


4. Ekstrak dan Compile mono

    tar -xvjf mono-x.y.z.tar.bz2
    cd mono-x.y.z
    ./configure; make; make install


NOTE: proses kompilasi nya membutuhkan waktu agak lama

5. Ekstrak dan Compile gluezilla

    tar -xvjf gluezilla-x.y.tar.bz2
    cd gluezilla-x.y
    ./configure; make; make install


6. Test instalasi

    mono -V


jika berhasil akan menampilkan output seperti berikut:

    Mono JIT compiler version 2.10.1 (tarball Mon Apr  4 20:44:38 WIT 2011)
    Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
            TLS:           __thread
            SIGSEGV:       altstack
            Notifications: epoll
            Architecture:  amd64
            Disabled:      none
            Misc:          softdebug
            LLVM:          supported, not enabled.
            GC:            Included Boehm (with typed GC and Parallel Mark)


Post: 29
gan..tolong step2nya kalo di install dalam centos 6.2
aq uda coba step2 di atas, tapi masi aja gagal... :cry: :cry: :cry:


Post: 2095
Bisa tahu errornya seperti apa?


Post: 29
waktu coba instal paket Develoment ada beberapa paket yang tidak bisa terinstal..

root@server mono-2.10.2]# yum groupinstall "Development Tools" "Development Libraries" "GNOME Software Development" "KDE Software Development" "X Software Development" "Legacy Software Development"
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.biz.net.id
 * epel: mirror.nus.edu.sg
 * extras: centos.biz.net.id
 * updates: centos.biz.net.id
Setting up Group Process
Checking for new repos for mirrors
Package flex-2.5.35-8.el6.i686 already installed and latest version
Package gcc-4.4.6-3.el6.i686 already installed and latest version
Package redhat-rpm-config-9.0.3-34.el6.noarch already installed and latest version
Package rpm-build-4.8.0-19.el6.i686 already installed and latest version
Package 1:make-3.81-19.el6.i686 already installed and latest version
Package patch-2.6-6.el6.i686 already installed and latest version
Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version
Package gettext-0.17-16.el6.i686 already installed and latest version
Package automake-1.11.1-1.2.el6.noarch already installed and latest version
Package bison-2.4.1-5.el6.i686 already installed and latest version
Package libtool-2.2.6-15.5.el6.i686 already installed and latest version
Package autoconf-2.63-5.1.el6.noarch already installed and latest version
Package gcc-c++-4.4.6-3.el6.i686 already installed and latest version
Package binutils-2.20.51.0.2-5.28.el6.i686 already installed and latest version
Package patchutils-0.3.1-3.1.el6.i686 already installed and latest version
Package byacc-1.9.20070509-6.1.el6.i686 already installed and latest version
Package indent-2.2.10-5.1.el6.i686 already installed and latest version
Package systemtap-1.6-4.el6.i686 already installed and latest version
Package diffstat-1.51-2.el6.i686 already installed and latest version
Package elfutils-0.152-1.el6.i686 already installed and latest version
Package cvs-1.11.23-11.el6_0.1.i686 already installed and latest version
Package rcs-5.7-37.el6.i686 already installed and latest version
Package subversion-1.6.11-2.el6_1.4.i686 already installed and latest version
Package gcc-gfortran-4.4.6-3.el6.i686 already installed and latest version
Package 1:doxygen-1.6.1-6.el6.i686 already installed and latest version
Package intltool-0.41.0-1.1.el6.noarch already installed and latest version
Package git-1.7.1-2.el6_0.1.i686 already installed and latest version
Package ctags-5.8-2.el6.i686 already installed and latest version
Package cscope-15.6-6.el6.i686 already installed and latest version
Package swig-1.3.40-6.el6.i686 already installed and latest version
Warning: Group development does not have any packages.
Warning: Group Development Libraries does not exist.
Warning: Group GNOME Software Development does not exist.
Warning: Group KDE Software Development does not exist.
Warning: Group X Software Development does not exist.
Warning: Group Legacy Software Development does not exist.
No packages in any requested group available to install or update


Post: 2095
O iya, ternyata step tutorialnya untuk Centos 5.x
Untuk Centos 6.x kelihatannya Package Group nya berbeda

Coba jalankan ini dI Centos 6.x

yum groupinstall "Additional Development" "Development tools" "Desktop Platform Development" "Server Platform Development"


Post: 29
TIdak bisa juga di install pada centos 6.2....

Mungkin versi libgdiplus, mono, gluezilla-x.y terbaru yang agak beda settingnya.
boleh tau versi yang digunakan untuk uji coba.
aq uda coba pake centos 5.6 tapi tetap tidak bisa juga untuk Ekstrak dan Compile libgdiplus..


Post: 2095
Disini kami menggunakan Centos 5.6 dan 6.1
Dua-duanya tidak ada masalah ketika compile dan menjalankan menggunakan Mono
Seperti terlihat pada gambar di bawah ini
Lampiran
mono.jpeg
Backup And Restore on Centos 6.1
mono.jpeg (100.23 KiB) Dilihat 13597 kali


Post: 45
apakah ini menggunakan desktop?


Post: 45
dear admin

minta link download CentOS 6.1
uji coba nya biar sama dengan yg di tutorial...

makasih


Berikutnya

Kembali ke Tutorial

cron