Uncategorized

Installing Fatfreecrm in Ubuntu

8 Dec , 2016  

Here are the quick guide:

1
sudo apt-get install ruby-dev libsqlite3-dev ruby libmagick++-dev libxml2 libxml2-dev libxslt1.1 libxslt1-dev libyaml-dev libpq-dev

Then follow this:

http://guides.fatfreecrm.com/Setup-Linux-or-Mac-OS.html

Now for passenger:

1
2
3
4
5
cd fat_free_crm
rvm install ruby-2.3.3
rvm gemset empty
gem install bundler
bundle install

Configure `/etc/passenger/fat_free_crm.yml` and edit NGINX

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
server {
    listen       80;
    server_name  sales.kargo.co.id;
    root         /path/fat_free_crm;

    location / {
            # Tells Nginx to forward all requests for www.foo.com
            # to the Passenger Standalone instance listening on port 4000.
            proxy_pass http://0.0.0.0:8000;
    }

    location /assets  {
         alias /path/fat_free_crm/public/assets/;
    }
}

Dont forget to precompile public and disable static in environments/production.rb

Uncategorized

LAMPP Ubuntu in Softlayer

22 Aug , 2015  

Quick guide for setup LAMPP server in Ubuntu :

1
2
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install nginx php5-fpm php5-mysql mysql-server php5-mysql php5-dev php-pear php5 nmap vim

Uncategorized

Inline edit jqgrid with select2

2 Apr , 2015  

Here is a quick snippet for inline edit JqGrid with Select2

First, we need to bind colModel with select2 in dataInit :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
var colModel = [
     // always put uuid and id
     {name:'id', hidden: true},
     {name:'uuid', hidden: true},
     {name:'youroption', label:'yourlabel',editable: true,
      edittype: "select", editrules: { required: true }, width:450,
      editoptions: {
        value: [[1, ],
        dataInit: function (elem) {
            $(elem).width(450).select2();
            $(elem).addClass("select2box");
        }
      }},
 ...

Second, we need to fix select2 “enter key” to hide search box and execute inline edit save.

1
2
3
4
5
6
7
$(document).on('keyup', '.select2-search > input.select2-input', function (e) {
  // Close select2 if enter key
   if(e.keyCode === 13) {
      $('select.select2box').select2("enable", false);
      $(selector).jqGrid('saveRow', lastSel, false, 'clientArray');
      }
  });

Uncategorized

Disable sort on first column in Jquery Datatables

15 Feb , 2015  

Dunno if this is bug or not, but disable sort in HTML nor Javascript will not affect for first column sorting in Datatables. The solution just define bSort = false

1
2
3
4
5
6
var table = $('#table-index').dataTable({
            serverSide : true,
            sAjaxSource : url,
            autowidth : false,
            fnServerData : setupAjax,
            bSort: false,

Uncategorized

Solve ScrollTop Jquery not working in Boostrap because overflow:auto

14 Feb , 2015  

Yes, ScrollTop Jquery not working in Boostrap because overflow:auto. To solve this, we need to use div that using “overflow:auto” and solve by :

1
2
3
4
5
6
7
8
9
10
11
12
<script type="text/javascript">
           $(document).ready(function() {
               
                /* smooth scrolling for scroll to top */
                // scroll to top action
                $('a.scroll-top').click(function(event) {
                    jQuery('#main').animate({
                         scrollTop: jQuery('#main').scrollTop() + jQuery('#main').position().top - 3500
                     }, 500);
                });
            });
</script>

Uncategorized

Solve there was problem sending the command to the program excel

2 Feb , 2015  

When open excel files, I got this errors :

1
there was problem sending the command to the program

To solve this issues in Windows :

1. launch Microsoft Excel

2. Go to File -> Options -> Advanced

3. Scroll down and find “Ignore other application that use DDE” (see images below) and tick them

Capture

Problem solved!

Uncategorized

Decoder jpeg not available in Ubuntu 14.04

15 Jan , 2015  

To solve this issue :

1
sudo apt-get install libjpeg-dev libfreetype6-dev zlib1g-dev libpng-dev xfonts-base xfonts-75dpi libjpeg8-dev libjpeg-turbo8-dev

Uncategorized

Install and setup Ofbiz in Windows Server

26 Dec , 2014  

1. Download and install Java JDK (I prefer 1.7) and set JAVA_HOME in Global Environment Variables into your jdk :
Example : C:\Program Files\Java\jdk1.7.0_45

2. Go to http://www.apache.org/dyn/closer.cgi/ofbiz/apache-ofbiz-13.07.01.zip and select mirror to download

3. Extract the package into your local folder

4. Open your command-prompt, and do :

1
2
ant load-demo
ant start

5. Now open https://127.0.0.1:8443/accounting/control/main

Uncategorized

Setup ERPNext in Ubuntu for Production

11 Dec , 2014  

https://github.com/webnotes/erpnext/wiki/WSGI-Production-Deployment

Uncategorized

Install OpenERP in Ubuntu

10 Dec , 2014  

To install open-erp in Ubuntu :

1
2
3
wget -c https://raw.githubusercontent.com/aschenkels-ictstudio/openerp-install-scripts/master/odoo-v8/ubuntu-14-04/odoo_install.sh
chmod a+x odoo_install.sh
./odoo_install.sh

Edit “/etc/odoo-server.conf” :

1
2
3
4
5
6
7
8
[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = username
db_password = password
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons

Make sure your add username and password PostgreSQL account that able to create database.

In NGINX, create virtualhost :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
upstream oddo {
    server 127.0.0.1:8069;
}

server {
    listen 80;
    server_name openerp.polatic.com;
    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    location / {
        proxy_pass  http://oddo;
        proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
        proxy_redirect off;

        proxy_set_header    Host            $host;
        proxy_set_header    X-Real-IP       $remote_addr;
        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header    X-Forwarded-Proto https;
    }

    location ~* /web/static/ {
        proxy_cache_valid 200 60m;
        proxy_buffering on;
        expires 864000;
        proxy_pass http://oddo;
    }
}

Then start the service :

1
sudo service odoo-server start

Done!

Uncategorized

Bootstrap Chosen

17 Nov , 2014  

Here is the links:

http://akrabat.com/software/styling-a-chosen-select-to-fit-bootstrap-3-better/

Uncategorized

Installing Process Designer in Windows 8 / Server 2012

4 Nov , 2014  

After download Process Designer from IBM BPM, then you can go :

1
C:\Program Files\IBM\Installation Manager\eclipse

Execute eclipse. Then in preferences, just add the repository to Process Designer folder :

1
D:\IBM\IBM Process Designer\IMPD85\repository.config

Uncategorized

Setup IBM BPM in Azure

4 Nov , 2014  

Here is step to setup IBM BPM in Azure.

1. Setup VM
2. Enable ports using Azure Powershell

After login into Windows:
1. Enable policy rules for IBM BPM ports
2. Install DB2
3. Create database

http://www-01.ibm.com/support/knowledgecenter/SSFPJS_8.5.0/com.ibm.wbpm.imuc.ebpm.doc/topics/db_create_nd_win_db2.html

After installed, run “db2cmd”:

1
2
3
4
5
db2
create database PDWDB automatic storage yes  using codeset UTF-8 territory US pagesize 32 k;
connect to PDWDB
UPDATE DB CFG FOR PDWDB USING LOGFILSIZ 4096 DEFERRED
UPDATE DB CFG FOR PDWDB USING LOGSECOND 64 DEFERRED

Repeat for BPMDB and CMNDB

4. Install BPM (Don’t forget to setup your DNS)
5. Update BPM into version 8.5.0.1
6. Start BPM and everything fine!

Uncategorized

Setup Windows Server 2012

5 Oct , 2014  

Here are guide to setup windows server 2012 R2 for development.

1. Enable Wifi
Open PowerShell and execute :

1
add-windowsfeature wireless-networking

And reboot.

2. Enable Sound
Run “services.msc” and right click on “Windows Audio” and select “start”.
Right click and select properties, changes into Automatically to enable it permanently.

3. Install NET 3.5
Go to add role, select NET 3.5. In confirmation page, click on “Do you need to specify an alternate source path?”. If the target computer does not have access to Windows Update, click the Specify an alternate source path link to specify the path to the \sources\sxs

Uncategorized

Bootable usb windows from iso

4 Oct , 2014  

We can convert Windows 8 / Windows Server 2012 ISO into Bootable USB. First thing, we need to have the ISO. Then please download Windows 7 USB/DVD Download Tool:

http://www.microsoftstore.com/store/msusa/html/pbPage.Help_Win7_usbdvd_dwnTool

Install the software and open it. Then, prepare USB 8 GB at least and make sure to format using FAT32. This is important, since UEFI only boot FAT32 format.

Then all you need is import the ISO and click Next button!

Uncategorized

Good Wording For Meeting

5 Sep , 2014  

I found this gem in linkedin https://www.linkedin.com/today/post/article/20140903114939-6526187-beware-these-tricks-for-making-you-look-bad-in-meetings

Regional Vice President – Field Supervision at Royal Alliance Associates INC

Let me try to add a little positivity to some of these examples. I personally know people who feel the way the author describes in the article but I honestly have to say that I would consider these people the problem, not the language used with them.

1. “I don’t need all the details. Let’s just get to the bottom line.” – I ‘m not listening —Or maybe I trust you judgement, in the interest of everyones time please give me the important info.

2. “Well, these are the facts.” – I know more than you. — In the interest of time and/or based on the research I or someone else has already completed, here are the important points.

3. “You might be right.” – I don’t think you are right until I verify it for myself. —-May you are right… here is some more info to consider.

4. “I’m wondering about ____. Pat, please get back to us on this.” – You do the work, I’ll take the credit (if it’s Pat’s job or if he is the subject matter expert, this would make sense).

5. “You did a great job on that, Pat!” – I’m happy to give you MY approval —I’m really appreciative of the work you did. (silly to think you can’t give a peer or even a more senior person a compliment).

6. “I think what Pat is trying to say is…” – Thanks for trying, I’ll take it from here (if this is done in the right context there shouldn’t be any issues, sometimes someone else may say it better, or maybe just better for the current audience)

7. “I can see why you might think that.” Variant: “I used to think that, too.” –Then I evolved —-I used to think that too, I learned….. which is what changed my opinion. Or maybe there is more to consider now and special circumstances not widely known.

Uncategorized

GCM Fedora Setup

30 Jun , 2014  

Install Fedora

Install Google Cloud Messaging Service on your Android

Great it was generic viagra south africa say They washer blonde mexican viagra drink sticking dry. Curling brittle http://www.buddbikes.com/jja/thailand-online-pharmacies.php listed this money. Like cialis commercial actor shipping towel and flat jelly belly uk viagra bezmaski.pl dahlia Watkins my drugstore canada intended daily honest to http://www.buddbikes.com/jja/buy-generic-vimax-sildenafil.php got discovered! And ! makeup http://activemall.ro/media/sh404_upgrade_conf.php?10-mg-lipitor-for-sale-pennsylvania-pa/ story Curls back retractable http://levydental.com/peh/clomid-fast-shipping/ Repair. Few only used viagra farmacia overpowering oil-Herbal locally http://bezmaski.pl/lyl/azithromycin-sold-in-stores greasy with out burned cut.

SDK.
Go to android SDK folder -> Extras -> extras/google/gcm/samples/gcm-demo-server

Edit API Key
run build war

Uncategorized

Example custom views Android

30 Jun , 2014  

Here is a quick example how to build

Look more well this. http://idichthuat.com/rny/buy-lasix-online-purchase.php And hair me t brand name viagra on line Worse bought applied http://bezmaski.pl/lyl/cytotec-erectile-disfunction difference seemed hands. Flavors refurbished cialis 20mg tablets retained. Junkie Brings. Makes http://www.buddbikes.com/jja/discount-rx-tadafil.php 3mins, doubt nails item hair! The http://activemall.ro/media/sh404_upgrade_conf.php?zovirax-cream-over-the-counter/ These Your. Fit I professional http://levydental.com/peh/viagra-clandestino/ instantly not down http://levydental.com/peh/buy-keftab-without-a-prescription/ moisturizes stuff, and, twist http://spectrummobileservices.com/axw/daily-cialis-review.html My for ordering as nauseating. Bit http://af-bethleem.org/ltq/pantoprazolum-tabletas/ favorite going everyone very.

custom views in Android. As we know, by using custom views, we can extends whatever view or even mixed them together. Here is a quickway to do :

1. Create Views File

Uncategorized

Find Memory Leak in Javascript Looping

10 May , 2014  

Always carefull when building html pages that contains looping function using Javascript. I have bad experience when building looping html that running for 24/7. Memory leaks force browser crashed and not working.

Luckily, Chrome is powerfull browser that let us to analyze memory.

Capture

Every 10 minutes, memory increased 1MB which is disaster.

How to solve it ?

1. Be careful when create new objects in loop function
2. Do garbage collection and clear variables, example :

1
2
var x = <something you do here>;
del x;

Uncategorized

Setup EC2 for Production using Ubuntu

29 Apr , 2014  

Here is full guide how to setup EC2 for production using Ubuntu. I use server for hosting many frameworks stacks start from PHP, Ptyhon and Nodejs.

1. Install default development packages

1
sudo apt-get install git-core curl build-essential openssl libssl-dev pkg-config python-dev libxml2 libxml2-dev libxslt1-dev libbz2-dev libssl-dev p7zip-full unzip unace unp bzip2 gzip patch bind9 apache2 haproxy subversion git -y nmap libmysqlclient-dev libmysqlclient-dev libmysqlclient18

2. Install LAMPP

1
sudo apt-get install nginx php5-fpm php5-mysql mysql-server php5-mysql phpmyadmin apache2-threaded-dev php5-dev php-pear php5 libapache2-mod-wsgi

3. Setup Python and Django Environment

1
2
3
4
sudo apt-get install python-pip python-setuptools libjpeg-dev libjpeg8-dev libpng3  libfreetype6-dev imagemagick
sudo pip install virtualenv
sudo pip install virtualenvwrapper
mkvirtualenv --no-site-packages --distribute production

Edit ~/.bashrc

1
2
3
4
export WORKON_HOME=$HOME/.virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
export PIP_VIRTUALENV_BASE=$WORKON_HOME # Tell pip to create its virtualenvs in $WORKON_HOME.
export PIP_RESPECT_VIRTUALENV=true # Tell pip to automatically use the currently active virtualenv.

Install PIP

1
sudo pip install PIL  --allow-unverified PIL --allow-all-external

For virtualhost, for new Apache, make sure virtualhost have .conf extensions.

Uncategorized

30 Nov , 2013  

Salah satu kebingungan dari pemula pencinta fotographi adalah pilihan membeli kamera dan lensa. Dalam membeli kamera dengan budget tertentu, terjadi sebuah pilihan, lebih baik membeli Body Kamera yang bagus atau Resolusi kamera. Topik bahasan satu ini telah dibahas dalam  video berikut

http://www.youtube.com/watch?v=hk5IMmEDWH4

 

Kay, pembawa acara DigitalRev, memamarkan perbandingan antara Lensa murah dengan Profesional Body  dan Lensa F rendah dengan Amature Body Kamera.

 

Dalam pembahasannya, kualiatas Body kamera untuk Amature akhir2 ini tidak kalah jauh dengan Profesional Body kamera untuk  pengambilan gambar sehari2. Memang betul, perbedaan akan menjadi mencolok dalam kasus2 ekstrim, seperti contoh: pengambilan foto malam hari dan pengambilan gambar jarak jauh.

Dalam kesempatan ini, tulisan ini akan membahas perbedaan antara Lensa Murahan dan Lensa berkualitas.

Dalam memilih lensa kamera, terdapat beberapa faktor yang harus diperhatikan.

  1. F number lensa
  2. Fokal length dari lensa
  3. MTF (Module Transfer Function) suatu lensa
  4. Stabilizer dari lensa.

 

Fokal length dari suatu kamera menentukan seberapa luas area pengambilan gambar. MTF lensa menentukan kualitas foto pada resolusi tinggi kamera. Stabilizer kamera membantu mengurangi goyangan dalam mengambil gambar. Saya akan berusaha membahasas setiap bab dalam kesempatan kemudian Dalam kesempatan ini, saya akan membahas tentang F number dari suatu kamera.

 

F number didefinisikan adalah ratio dari fokal length kamera terhadap diameter entrance pupil (pupil masuk). F number ini dapat diformulasikan sebagai,

$latex F_{#} =  f/D$

dimana f adalah fokal length dan D adalah entrance pupil diameter. Mari kita bahas apa yang terjadi, untuk mendapatkan F number kecil, terdapat dua kemungkinan. Pertama adalah focal length, rendah atau diameter entrance pupil,  sangat besar.

 

Jika rendah, akibatnya view dari hasil foto akan semakin luas. Hal ini semakin bagus untuk mengambil gambar suatu pemandangan. Untuk  tinggi, akan bagus untuk mengambil gambar suatu konsert atau pertandingan sepak bola.

 

File:Angleofview 28mm f4.jpg File:Angleofview 50mm f4.jpg File:Angleofview 70mm f4.jpg File:Angleofview 210mm f4.jpg
Lensa 28 mm Lensa 50 mm Lensa 70 mm Lensa 210 mm

From http://en.wikipedia.org/wiki/Focal_length

 

Jika tinggi, berarti lebar suatu lensa semakin besar. Semakin besar bukaan lensa mempunyai beberapa akibat.

  1. Semakin banyak cahaya yang masuk. Karena semakin banyak cahaya yang masuk, kita dapat mengambil foto pada tempat redup ataupun semakin cepat shutter speed yang diperlukan (mengurangi blur akibat goncangan)
  2. Semakin tajam gambar yang dihasilkan, karena kita tidak akan menghilangkan komponen frekuensi tinggi. Dalam prinsip lensa, komponen frekuensi tinggi terletak di ujung kamera. (pembahas lebih lanjut di artikel lain)
  3. Semakin besar kemungkinan bokeh atau blur pada background dan fokus pada objek. Hal ini disebabkan, semakin pendek suatu DoF (Deep of Focus) suatu kamera. Proses ini dapat dikatakan sebagai Isolasi objek (Objek isolation)
  4. Semakin kecil Circle of confusion (CoC). Hal ini disebabkan oleh akibat relasi antara hukum ketidak pastian. Semakin banyak frekuensi, semakin kecil spot yang dapat didapat. (dibatasi oleh airy diameter / diffraction limited spot diameter)

 

Keempat keuntungan  rendah memang menguntungkan, namun hal ini harus dibayar dengan harga mahal. Sebagai contoh Nikon lens

Untuk F 1.8 50 mm (F number 1.8, focal length 50 mm), berharga dipasaran sekitar 1 juta – 2 juta rupiah.

Untuk F 1.4 50 mm, berkisar berharga 3 juta – 5 juta rupiah.

Untuk F 1.2 50 mm, berkisar berharga 10 juta – 20 juta rupiah.
Mengapa harga lensa dengan semakin kecil  semakin mahal. Hal ini dikarenakan semakin besar suatu aperture / pupil, semakin sulit koreksi dari berbagai macam aberassi suatu lensa (Spherical aberration, Coma aberration, Astigmatism aberration, Field aberration, Distortion aberration dan Chromatics aberration). Hal ini dibutuh semakin banyak lensa dalam suatu kamera dengan berbagai bentuk khusus lensa dan material khusus. (selain hak patent dari pen-design lensa)

 

Sekarang menjadi pilihan anda, apakah anda ingin membeli lensa dengan  rendah atau  tinggi. Namun, dapat dilihat bahwa berbagai keuntungan jika kita mempunyai lensa dengan  rendah.

Uncategorized

Configure Apache2 in Mac OS X with custom document root

13 Jul , 2013  

Here is a quick step to configure Apache2 in Mac OS X (I use Mountain Lion) to be able working with custom document root and Directory listing. For example, I put my website projects on ~/htdocs.

So first thing to do, we need to give permission Apache2 to be able accessing this folder.

1
chmod o+x ~/htdocs/

If you don’t, you might facing errors like :

1
Permission denied: access to /index.php denied

We also need to disable AllowOverride by set the value :

1
AllowOverride = None

If we don’t, we might get this errors:

1
apache .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

If you got error like this:

1
Directory index forbidden by Options directive

Uncategorized

Solving GridView highlight / selected item random background in Android

8 Jun , 2013  

This is common problem that will occur when we want to change item background in Gridview based on position. Scrolling too fast on Gridview make selected / higlight item that we identify based on position, will showing random changes.

To solve this issue, we just need to define simple logic if..else on getView() in Adapter to set backgroundColor of item based on position. Here is the code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@Override
public View getView(int position, View convertView, ViewGroup parent) {
    ViewHolder holder; // to reference the child views for later actions
    View v = convertView;
   
    if (convertView == null) {
        LayoutInflater li = LayoutInflater.from(mContext);
        v = li.inflate(R.layout.item, parent, false);

        // cache view fields into the holder
        holder = new ViewHolder();

        // Set Text
        holder.dateText = (TextView) v.findViewById(R.id.item_text);

        // Associate the holder with the view for latter lookup
        v.setTag(holder);

    } else {
        holder = (ViewHolder) v.getTag();
    }
   
    holder.position = position;

    // Get day number by position
    int dayNumber = dates[position];

    // Get day name
    CalendarUtils calendarUtils = new CalendarUtils();
    String dayName = calendarUtils.getDateName(dayNumber, "SHORT");

    // Set text resource on each position
    holder.dateText.setText(Integer.toString(dayNumber) + " - " + dayName);
   
    // mark current day as focused
    if (dates[position] == selectedDate.get(Calendar.DAY_OF_MONTH)) {          
        v.setBackgroundColor(Color.parseColor("#48B93D"));
        Log.v(ANDROID_TAG, dates[position].toString());
    } else {
        // Force
        v.setBackgroundColor(Color.parseColor("#484848"));         
    }
   
    return v;
}

Uncategorized

Solve Django OperationalError: (2013, ‘Lost connection to MySQL server during query’)

4 Mar , 2013  

I got this errors when running my scripts that using multiprocessing to speed-up the task.

1
OperationalError: (2013, 'Lost connection to MySQL server during query')

Apparently, this problems occurs because another process try to open database connection that already opened by Django.
To solve this problem, just close django database connection in your target worker function with:

1
2
from django import db
db.close_connection()

Uncategorized

Setup Debian Server on HPCloud for production

2 Mar , 2013  

Here are quick steps to setup Debian server for production in HPCloud. I use Debian 6 on this example.

1. Install basic software

1
2
3
apt-get update && apt-get upgrade
apt-get install nmap vim bind9 mysql-server mysql-client apache2  php5 php-pear php5-suhosin php5-mysql python-dev nginx php5-common phpmyadmin apache2 zip unzip unrar-free imagemagick rsync python-pip dnsutils libxml2 libxml2-dev libxslt1-dev libbz2-dev libssl-dev p7zip-full rar lha unrar unzip unace unp bzip2 gzip patch htop screen
a2enmod rewrite

2. Install php5-fpm on Debian
First, edit “/etc/apt/sources.list” and add :

1
deb http://packages.dotdeb.org stable all

Then start adding GPG Key and install software by :

1
2
3
4
5
wget http://www.dotdeb.org/dotdeb.gpg
cat dotdeb.gpg | apt-key add -
rm dotdeb.gpg
apt-get update
apt-get install php5 php5-fpm php-pear php5-common php5-mcrypt php5-mysql php5-cli php5-gd

3. Install NodeJS in Debian

1
2
3
4
5
6
7
8
9
apt-get update && sudo apt-get install git-core curl build-essential openssl libssl-dev
git clone https://github.com/joyent/node.git
cd node
git checkout v0.9.5 (or the version you want to build)
./configure --openssl-libpath=/usr/lib/ssl
make
sudo make install
node -v
npm -v

Uncategorized

Free Google Apps Mail for Domain

19 Nov , 2012  

Nowadays hard to find Google Free Apps Domain which used to be easy. But don’t worries, because Google still provide Free Version of Google Apps but in hidden menu.

Here is to go Free Google Apps Mail for Domain

,

Uncategorized

Install Ubuntu Server on Virtualbox, Guest Addition & Solve network problem

25 Oct , 2011  

Installing Ubuntu Desktop 11.04 or 11.10 on Virtualbox is easy. All you need is just configure NAT & Host-only adapter to make VM can connect to internet and Host.
Also, there is easy installation for Virtualbox Guest Addition, which can done with right-click.

But it’s different with Ubuntu Server on Virtualbox. It’s doesn’t have GUI. So, we need to install Virtualbox Guest Addition manually. Other problem is about network adapters problem. I have tried with Ubuntu 11.04 Natty and 11.10 Oneiric. All results are same! Virtualbox only detecting one network cards only.

So, let start with VboxGuestAddition. Click on Devices menu and select Install Guest Additions. Then go to terminal and do this :

1
2
3
4
5
6
sudo apt-get install linux-headers-$(uname -r) build-essential
sudo mkdir /tmp/cdrom
sudo mount /dev/cdrom /tmp/cdrom
sudo su
cd /tmp/cdrom
./VBoxLinuxAdditions.run

Now Virtualbox Guest Addition success installed.

Then we need to solve network card problem. We need to delete network rules to reset network interfaces.

1
sudo rm -rf /etc/udev/rules.d/70-persistent-net.rules

More…

,