Ubuntu 13.10 Install jdk 7, netbeans, maven

JDK
terdapat 2 jdk pada ubuntu yaitu openjdk dan oracle jdk :
1. openjdk

sudo apt-get install openjdk-7-jre icedtea-7-plugin openjdk-6-jdk

2. oracle jdk

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-jdk7-installer

Netbeans
untuk meng-install netbeans bisa dilakukan dengan perintah :

sudo apt-get install netbeans

hanya saja biasanya netbeans yang terinstall bukan update yang terbaru, maka lebih baik download netbeans dari dari website resmi nya https://netbeans.org/downloads/
lalu install dengan cara :

sh netbeans-8.0-linux.sh

Maven
sudo apt-get install maven

tambahan setting :
sudo pico /etc/environment
tambahkan :

JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk
M2_HOME=/usr/share/maven

untuk yang memakai openjdk, atau tambahkan

JAVA_HOME=/usr/lib/jvm/java-7-oracle
M2_HOME=/usr/share/maven

untuk yang memakai oracle jdk

untuk yang sudah memiliki file repository untuk maven, bisa di-copy-kan ke /home/username/.m2/

note : jika tidak dapat create new project pada netbeans, maka disarankan mengganti openjdk menjadi oracle jdk.

Simple Plan Ft. Sean Paul – Summer Paradise

Oh, Oh
Take me back, take me back
Oh yeah
Back to summer paradise

My heart is sinking
As I’m lifting up
Above the clouds away from you
And I can’t believe I’m leaving
Oh I don’t kno-kno-know what I’m gonna do

But someday
I will find my way back
To where your name
Is written in the sand

Cause I remember every sunset
I remember every word you said
We were never gonna say goodbye
Singing la-da-da-da-da

Tell me how to get back to
Back to summer paradise with you
And I’ll be there in a heartbeat
Oh-oh
I’ll be there in a heartbeat
Oh-oh

(Tell ’em)

My soul is broken
Streets are frozen
I can’t stop these feelings melting through

And I’d give away a thousand days, oh
Just to have another one with you

(What’d you say?)

Well real life can wait
(Real life can wait)
We’re crashing like waves
(Uh-huh)
Playing in the sand
(Me and you)
Holding your hand

Cause I remember every sunset
I remember every word you said
We were never gonna say goodbye
Singing la-da-da-da-da

Tell me how to get back to
Back to summer paradise with you
And I’ll be there in a heartbeat
Oh-oh
I’ll be there in a heartbeat
Oh-oh

(Sean paul:)
The promised that we made
To about our friends
Thinking about it
Sunshine under trees
Summer time on the beach
Oh fine we get closer
Under them trees
Baby girl, you really got to me
It’s 3 o’clock, and we’re together
And the time doesn’t leave
In a heartbeat girl, sex on the beach
Don’t stand your world, ask me I’m rich
Loving you girl, is the best part of me

Someday
I will find my way back
To where your name
Is written in the sand

(Yeah, yeah, yeah, let’s go)

Cause I remember every sunset
I remember every word you said
We were never gonna say goodbye
Singing la-da-da-da-da

Tell me how to get back to
Back to summer paradise with you
And I’ll be there in a heartbeat

I remember where we first kissed
How I didn’t wanna leave your lips
And how I’ve never ever felt so high
La-da-da-da-da

Tell me how to get back to
Back to summer paradise with you
And I’ll be there in a heartbeat
Oh-oh
And I’ll be there in a heartbeat
(Summer paradise)
Oh-oh
I’ll be there in a heartbeat

ubuntu–Disable Force Check disk

Pada OS Ubuntu memang akan melakukan check disk secara berkala dilihat dari jumlah reboot ataupun dilihat dari range waktu, tapi terkadang check disk tidak dibutuhkan karena mengingat data yang ada sampai 1T bahkan lebih yang membutuhkan waktu seharian untuk menunggu check disk selesai.

Melihat kapan akan dilakukan check disk :

tune2fs –l /dev/sdb1

image

Disable Check Disk dengan merubah maximum mount count :

tune2fs –c –1 /dev/sdb1

Memundurkan Check Interval :

tune2fs –i 1m /dev/sdb1 

(1m = 1 bulan, 1w= 1 minggu)

Disable Check Interval :

tune2fs –i –1 /dev/sdb1

Memaksa Ubuntu untuk melakukan check disk on next reboot :

sudo touch /forcefsck

Frente – Bizzare Love Triangle

Every time I think of you
I get a shot right through
Into a bolt of blue
It’s no problem of mine
But it’s a problem I find
Living the life that I can’t leave behind

There’s no sense in telling me
The wisdom of a fool won’t set you free
But that’s the way that it goes
And it’s what nobody knows
And every day my confusion grows

Every time I see you falling
I get down on my knees and pray
I’m waiting for the final moment
You say the words that I can’t say

I feel fine and I feel good
I feel like I never should
Whenever I get this way
I just don’t know what to say
Why can’t we be ourselves like we were yesterday

I’m not sure what this could mean
I don’t think you’re what you seem
I do admit to myself
That if I hurt someone else
Then I’ll never see just what we’re meant to be

Every time I see you falling
I get down on my knees and pray
I’m waiting for the final moment
You’ll say the words that I can’t say

Every time I see you falling
I’ll get down on my knees and pray
I’m waiting for the final moment
You’ll say the words that I can’t say

Apache won’t start

Hari ini mencoba menyalakan service apache pada windows 7,  setelah beberapa kali dicoba service tersebut tidak mau start.

akhirnya mencoba mencari service apa yang sudah memakai port 80 (apache berjalan pada port 80) dengan cara :

Pada cmd ketikkan :

1. netstat –aon

Disana akan muncul list, cari port 80 pada bagian Local Address. mis (192.16.1.1:80) lalu catat PID nya.

Pada kasus saya, ternyata port 80 dipakai oleh PID nya 3412

2. tasklist

command ini akan menampilkan task yang sedang running, lalu cari PID 3412. Ternyata port 80 dipakai oleh skypekit.exe (service Trillian for skype).

3. taskkill /PID 3412

command ini untuk mematikan service tersebut

cara lain untuk mematikan service yaitu dengan cara membuka task manager –> processes, cari skypekit.exe lalu end proses.

 

setelah service dimatikan, apache dapat berjalan.

Sendy Stepvina – Be With You

Savior of my soul

I confide in You

Through all my darkest moments

In you I find my peace

My comfort when I’m weak

I trust in You, through storm and raging sea

 

Faithful, You’re my God

You’re the Glory and the Lifter of my head

Your light it fills my days

It leads me in Your ways

Forever I surrender all to You

Chorus

And I live to worship You

My Jesus You’re the only one for me

Nothing will ever take Your place

My precious Savior

Who can stand between my Lord and me

Lord I live to honor You

And I long to bring my life an offering

Take me higher

Draw me deeper

I give all to be with You