Kamis, 12 Desember 2013

Get an error message "No acceptable C compiler found in $PATH" in CentOS

If you attempt to compile an application from source and after you running it you got a message ‘no acceptable C compiler found in $PATH’ on your CentOS system, just run:

$ sudo yum install gcc

:)

Minggu, 08 Desember 2013

Install LINE messenger on CentOS 6 using WINEHQ


Here I wanna tell you about how to install LINE messenger on your CentOS 6 or maybe it can be followed for another linux distribution. I'll only show you the simple way to do it. Somethings that you have to do is that you must have wine in your system and LINE folder from your windows applications installation folder.
It's just simple right? So, first you have to install your wine.
For CentOS / RHEL family
$ sudo yum install wine
or for debian family
$ sudo apt-get install wine

Then copy your LINE installation folder from your windows into wine directory application folder in your home folder in your linux. Usually it's located in $ /home/.wine/drive_c/Program\ Files/
Just copy your LINE folder into that directory.
Here my windows installation applications folder.

And copy to this folder $ /home/.wine/drive_c/Program\ Files/

Finally, if you wanna to run the LINE using terminal just type $ wine  /home/.wine/drive_c/Program\ Files/LINE/Line.exe
or you can find the icon from your KDE menu if you'are using KDE. If there's no icon or menu in you KDE menu just add it manually by running $ kmenuedit

Sabtu, 07 Desember 2013

Getting Error When Running Adobe Reader 9.5.5 on 64 bit CentOS

After you installed AdbeRdr9.5.5-1_i486linux_enu.bin on CentOS / RHEL 6 but you get an error when you want to run it. To show the error open terminal and run acroread and the terminal will displays a series of missing libraries and modules.

$ acroread 
/opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

The problem is your system doesn't have libxml2 32-bit and you have install it on your 64 bit system.
Follow the yum install commands below to get it working:

Firstly, you can check your repository, and must have libxml2.i686.
$ sudo yum search libxml2
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror01.idc.hinet.net
 * centosplus: mirror01.idc.hinet.net
 * contrib: mirror01.idc.hinet.net
 * epel: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * jpackage: mirrors.dotsrc.org
 * rpmforge: ftp.riken.jp
 * rpmforge-extras: ftp.riken.jp
 * updates: mirror01.idc.hinet.net
 * webtatic: us-east.repo.webtatic.com
478 packages excluded due to repository priority protections
============================= N/S Matched: libxml2 =============================
libxml2-python.x86_64 : Python bindings for the libxml2 library
libxml2-static.x86_64 : Static library for libxml2
mingw32-libxml2.noarch : MinGW Windows libxml2 XML processing library
libxml++.i686 : C++ wrapper for the libxml2 XML parser library
libxml++.x86_64 : C++ wrapper for the libxml2 XML parser library
libxml2.i686 : Library providing XML and HTML support
libxml2.x86_64 : Library providing XML and HTML support
libxml2-devel.i686 : Libraries, includes, etc. to develop XML and HTML
                   : applications
libxml2-devel.x86_64 : Libraries, includes, etc. to develop XML and HTML
                     : applications
mingw32-libxml2-static.noarch : Static version of the MinGW Windows XML
                              : processing library
perl-XML-LibXML.x86_64 : Perl interface to the libxml2 library
python-lxml.x86_64 : ElementTree-like Python bindings for libxml2 and libxslt

  Name and summary matches only, use "search all" for everything.

Then, if libxml2.i686 is available in your repository just install it using command below:
$ sudo yum install libxml2.i686
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror01.idc.hinet.net
 * centosplus: mirror01.idc.hinet.net
 * contrib: mirror01.idc.hinet.net
 * epel: mirror01.idc.hinet.net
 * extras: mirror01.idc.hinet.net
 * jpackage: mirrors.dotsrc.org
 * rpmforge: ftp.riken.jp
 * rpmforge-extras: ftp.riken.jp
 * updates: mirror01.idc.hinet.net
 * webtatic: us-east.repo.webtatic.com
478 packages excluded due to repository priority protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libxml2.i686 0:2.7.6-14.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch           Version                  Repository      Size
================================================================================
Installing:
 libxml2           i686           2.7.6-14.el6             base           800 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total size: 800 k
Installed size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libxml2-2.7.6-14.el6.i686                                    1/1 
  Verifying  : libxml2-2.7.6-14.el6.i686                                    1/1 

Installed:
  libxml2.i686 0:2.7.6-14.el6                                                   

Complete!
[samsul@d1-0326-5 Downloads]$ sudo ./AdbeRdr9.5.5-1_i486linux_enu.bin 

Extracting files, please wait. (This may take a while depending on the configuration of your machine)

This installation requires 136 MB of free disk space.

Enter installation directory for Adobe Reader 9.5.5 [/opt]  
/opt

Installing platform independent files ... Done
Installing platform dependent files ... Done
Setting up libraries ... Done
Setting up desktop and menu icons ... Done
Setting up the browser plugin ... Done

Finally, In Sha Allah you can run the acroread to open the Acrobat Reader.

:)

Sabtu, 18 September 2010

Pidgin

Sekarang ini banyak sekali applikasi IM massenger baik dalam bentuk web ataupun desktop yang dapat menjalankan beberapa aku IM massenger dalam sekali waktu. Beberapa diantaranya yaitu pidgin, Meebo, Empaty, Digsby, eBuddy dan masih banyak yang lainnya. Dan yang akan saya terangkan dibawah ini merupakan cara menambahkan akun masenger pada pidgin, karena tidak tahu kenapa di kampusq banyak banget yang pake. Dan ver. dari pidgin yang aku pake saat ini yaitu Pidgin 2.6.x. Untuk ver. 2.7.x aku belum bisa mencobanya karena terhalang proxy kampusq,tapi tidak tahu sekarang kalo udah bisa.. hehehee..
Untuk penambahan akunnya ada di menu Account, kmudian Manage Account dan di sana anda dapat menambahkan, memodifikasi, atau menghapus berbagai akun messenger Anda.
  • Yahoo
  • Untuk Protocol Yahoo secara umum bias dilihat pada gambar dibawah ini,
    Massukan Username dan Password Akun Yahoo Anda, Centang Remember password jika anda malas untuk memassukkan password setiap anda ingin menyalakan pidgin anda, dan New Mail Notifications untuk pemberitahuan email baru yang masuk.
    Secara default pada tampilan diatas sudah bisa terhubung. Dan untuk versi-versi sebelumnya jika tidak bisa terhubung mungkin bisa menyesuaikan dengan page server pada gambar diatas yaitu scsa.msg.yahoo.com.

    Untuk Proxy Bisa Anda Atur sesuai dengan proxy yag ada pada internet anda jika tidak ada saya sarankan untuk menggunakan secara default sesuai dengan gambar diatas. Namun anehnya di kampusq untuk protocol yahoo pada pidgin tanpa perlu menyetting proxy bias langsung digunakan, berbeda dengan protocol yang lain.
  • Google Talk

    Sesuai dengan gambar di atas, untuk pengaturan akun pada google talk, selain username dan pasword anda juga perlu memasukkan Domain gunakan defaultnya yaitu gmail.com, kemudian Resource bisa kalia isi dengan Home. Berikut gambar dari pengaturan akun saya.
    Secara otomatis protokolnya akan berubah menjadi XMPP.

    Untuk settingan advance bisa dilihat sesuai dengan gambar di atas.
    Centang pada bagian Require SSL/TLS dan Force Old (port 5223) SSL. Dan untuk koneksi portnya bisa pake yang 443, Connect server talk.google.com, dan File transfer protokol bisa menggunakan yang default proxy.eu.jabber.org.

    Untuk Proxy kalo misal yang Use global proxy setting gak bisa pake aja yang no proxy.
  • Facebook
  • Skype
  • Twitter

T

Kamis, 05 Agustus 2010

Mengatasi Problem ‘VT-x is not available’ pada VirtualBox

Pertama kali menjalankan virtual machine yang anda buat, VirtualBox mungkin akan menampilkan pesan error “Failed to start the virtual machine Windows XP. VT-x is not available. (VERR_VMX-NO-VMX). Unknown error creating VM (VERR_VMX_NO_VMX)”. Pesan error yang muncul akan tampak seperti gamber berikut ini.



Setelah googling sana-sini, rupanya error ini muncul karena secara default VirtualBox meng-enable VT-x/AMD-V pada Advanced | General Settingnya. Dan secara default VirtualBox menonaktifkan opsi ‘Disable VT-x/AMD-V. Cara untuk dapat men-disable VT-x/AMD-V adalah dengan merubah salah satu baris parameter Windows XP.xml yang terletak di /Users/Library/VirtualBox/Machines/Windows XP (dengan asumsi bahwa nama virtual machine yang kita buat adalah Windows XP) atau pada /home//.VirtualBox/Machines/.
Silakan anda buka file Windows XP.xml dengan menggunakan TextEdit atau editor favorit lain anda. Kemudian cari parameter yang menunjukkan , lalu anda rubah parameter tersebut menjadi . Save and close fie tersebut. Pastikan anda me-restart sistem anda sebelum menjalankan VirtualBox.

Sebelum



Sesudah



Sumber : http://blog.alytaufan.co.cc/?p=248

Mengembalikan Boot Ubuntu Setelah Install OS Lain

Jika Anda menggunakan Ubuntu dan booting anda telah hilang karena anda menginstall Sistem Operasi Lain atau terhapus karena kesalahan dalam mengolah booting, maka jika anda menginginkan grub dari ubuntu anda kembali, ikuti langkah berikut ini:
  1. Masuk ke ubuntu Live CD
  2. Buka terminal
  • jalankan fdisk untuk melihat partisi linux anda

$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa975a975

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        3824    30716248+   7  HPFS/NTFS
/dev/sda2            3825        6374    20482875   83  Linux
/dev/sda3            6375        8286    15358140   83  Linux
/dev/sda4            8287       30401   177638737+   5  Extended
/dev/sda5            8287       12110    30716248+   7  HPFS/NTFS
/dev/sda6           12111       15934    30716248+   7  HPFS/NTFS
/dev/sda7           15935       24858    71681998+   7  HPFS/NTFS
/dev/sda8           24859       29320    35840983+  83  Linux
/dev/sda9           29321       30085     6144831   83  Linux
/dev/sda10          30086       30401     2538238+  82  Linux swap / Solaris


  • Mount partisi dari ubuntu atau booting dari linux lain yang ingin anda recovery
$ sudo mount /dev/sda2 /mnt
$ sudo mount --bind /dev /mnt/dev
$ sudo mount --bind /proc /mnt/proc
  • Login ke root dari sistem ubuntu
$ sudo chroot /mnt
  • Update GRUB untuk menggenerate File Configurasi Anda.
# update-grub2
  • Install GRUB Ke MBR
# grub-install /dev/sda
  • Jika terdapat error anda dapat mencheck ulang installasi anda
# grub-install recheck /dev/sda
  • Sekarang anda dapat logout dari chroot dengan menekan Ctrl+D dan unmount semua partisi mnt tadi
$ sudo umount /mnt/dev
$ sudo umount /mnt/proc
$ sudo umount /mnt
  1. Tutup Terminal dan restart
Semoga cara ini berguna bagi anda.
Trimakasih..

Sumber: http://www.sonic2epix.web.id/2010/02/how-to-recovery-ubuntu-grub-2-after.html