Author Archive

How to Run VNC Server at Startup / Boot

I’ve installed VNC server on my computer (vps), so I can control it using GUI, not just a terminal console. The default setting is, each time we reboot our machine, we need to run it again manually. Therefore I want to make VNC server to run each time my machine starting-up / booting. Create

How to Export and Import Oracle Database using IMPDP and EXPDP in Linux

In this article, we’ll talk about step-by-step or how to export an Oracle database, then import into a different schema name. I’m using Linux the example. Prerequisites before Export and Import Process Make sure you have set variable ORACLE_HOME in your environment. Yours may be vary from mine. export ORACLE_HOME /u01/app/oracle/product/11.2.0/db_1 Create a directory

Free Amazon ASIN Scraper Tool

I just released a new free tool namedĀ Amazon ASIN Scraper. This tool will help you to scrape ASIN on Amazon’s pages. How to use Amazon ASIN Scraper First, go to Amazon, and copy the URL of the page that you want to be scraped Open the Amazon ASIN Scraper Paste the Amazon’s page URL

How to Solve RA layer request failed in Eclipse

I want to synchronize my workspace with Subversion repository using Subclipse, but there’s some error message that says RA layer request failed. After I googling for a while, this error happened because my network is using proxy server. So, I need to edit some file. FYI, my computer OS is Windows Vista. You may

How to Install Nginx on Ubuntu 12.04

After struggling in Lighttpd, I’ve decided to uninstall Lighttpd, and change my web server to Nginx. Here’s how to install Nginx on Ubuntu 12.04. sudo apt-get install nginx Start the Nginx service: sudo service nginx start In some cases, you may need to reboot your system: sudo reboot Now, go to http://localhost/ from your

How to Disable IPv6 in Ubuntu 12.04

My network doesn’t support IPv6 yet, so I need to disable IPv6. This problem occurs when I tried to access some website like Facebook and Google, but it says Connection Timed Out. Weird, right? šŸ˜› In order to disable IPv6 in Ubuntu 12.04, you need to edit /etc/sysctl.conf file. sudo nano /etc/sysctl.conf Add these

REP-0004: Warning: Unable to open user preference file.

When I try to run Oracle Report from my Java program, I get this error message: REP-0004: Warning: Unable to open user preference file. Apparently it happened because the program can’t find or doesn’t have the privillege to access the prefs.ora file. You can find prefs.ora in here: $ORACLE_HOME/tools/admin/prefs.ora So, to fix this

How to Remove Duplicate Lines in Linux

There are 2 options to remove duplicate lines in some file. Sample file: aaaaa ddddd bbbbb aaaaa fffff eeeee aaaaa eeeee ggggg fffff Using sort, with option -u or --unique. The output will be sorted. sort -u sample.txt Output: aaaaa bbbbb ddddd eeeee fffff ggggg Using awk. With this, the order of the lines

How to Install IEs4Linux under Wine in Ubuntu 12.04

The story begins when I need to access one internal website on my office. This website only accept Internet Explorer (IE) as the compatible browser. While my PC at the office is using GNU/Linux Ubuntu 12.04. Because of that reason, I need to install Internet Explorer on my Ubuntu. I decided to choose IEs4Linux.

How to Solve Lighttpd PHP 403 Forbidden in Ubuntu

I’m using Lighttpd or “lighty” webserver on my local PC, because it’s very lightweight, low use of resources and quite powerful for file sharing through HTTP protocol. But now, I also wanna use Lighttpd for developing and testing some PHP scripts that I wrote. When I tried to access the PHP file, it gave