Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Konfigurasi Membuat Koneksi WDS di Mikrotik

WDS (Wireless Distribution System) adalah sistem yang memungkinkan interkoneksi antar Access point (AP). Sistem ini digunakan untuk memperluas jangkauan area wireless, dengan menggunakan beberapa perangkat AP yang menjadi satu kesatuan, tanpa membangun backbone jaringan. Syarat dalam membangun jaringan WDS adalah AP harus menggunakan Band, Frequency, dan SSID yang sama.
Network WDS dengan Mikrotik
Penjelasan sederhananya, WDS itu adalah suatu cara untuk memperluas jangkauan wireless dengan menambahkan access point sebagai penguat (semacam repeater-lah). Misalnya ada punya 2 Access Point (AP) nih. AP pertama bertindak sebagai router. Internet dari modem terhubung ke ethernet AP. Kemudian disebarkan melalui wireless (wlan). Pada AP kedua, cukup meneruskan wirelessnya, atau dengan kata lain dijadikan penguat / repeater, dengan system WDS. Dengan demikian jangkauan wirelessnya menjadi lebih luas / jauh. (Ethernet di AP 2 tidak perlu digunakan.)

Perbedaan Wireless non-WDS dan Wireless dengan WDS

Wireless AP non-WDS
Pada gambar di atas apabila user berpindahtempat dari area AP 1 ke area AP lain (AP2/AP3), maka user akan mengalami kehilangan koneksi beberapa saat sebelum terhubung ke area AP yang baru.

Wireless AP dengan WDS


Pada gambar di atas apabila user berpindah tempat dari area AP1 ke area AP lain (AP2/AP3), maka user seakan-akan tetap berada di area yang sama tanpa perlu kehilangan koneksi.

AP1
Prosedurnya :
  • Setting interface wireless dan wds. Wds-mode disetting static. Dan pada kolom wds-address masukkan mac address wlan AP2.
  • Setting bridge.
  • Setting ip address dan gateway yang menuju ke internet.
  • Setting dhcp server
  • Setting firewall nat masquerade dan dns
  • Setting option lainnya, yaitu Ntpclient.
Berikut konfigurasinya :
/system leds
set 0 interface=wlan3

/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n country=indonesia disabled=no \
    frequency=2462 l2mtu=2290 mode=ap-bridge name=wlan3 ssid=TEST-WIFI-MIKROTIK \
    wds-mode=static wireless-protocol=802.11

/interface wireless wds                                     
add disabled=no l2mtu=2290 master-interface=wlan3 name=wds1 wds-address=\
    XX:XX:XX:XX:XX:51

/interface bridge
add name=bridge3
/interface bridge port
add bridge=bridge3 interface=wds1
add bridge=bridge3 interface=wlan3

/ip address
add address=10.10.10.173/29 interface=ether1 network=10.10.10.168
add address=192.168.4.1/22 interface=bridge3 network=192.168.4.0
/ip route
add distance=1 gateway=10.10.10.169

/ip dns
set allow-remote-requests=yes servers=202.134.1.10,202.134.0.155
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1

/ip pool
add name=dhcp_pool1 ranges=192.168.4.10-192.168.7.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridge3 name=dhcp1
/ip dhcp-server network
add address=192.168.4.0/22 dns-server=202.134.1.10,8.8.8.8 gateway=\
    192.168.4.1

/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set api disabled=yes
set api-ssl disabled=yes

/system identity
set name=MikroTik-WDS-1

/system ntp client
set enabled=yes primary-ntp=152.118.24.8 secondary-ntp=202.169.224.16


AP 2
Prosedurnya :
  • Setting wireless dan wds. Settingannya harus sama dengan AP1. Hanya beda pada kolom wds-address, masukkan mac address wlan AP1.
  • Setting bridge.
  • Setting ip address dan gateway. IP addressnya adalah IP LAN dari AP 1. Dan gatewaynya adalah IP address AP 1. Pastikan AP2 dan AP1 connect, dengan melakukan ping ke arah lawan dari new terminalnya.
  • Setting dhcp server dan firewall nat, tidak perlu. Users nantinya akan mendapatkan IP address dari AP 1.
  • Setting option lainnya, yaitu dns dan ntpclient.

Dan berikut konfigurasi pada AP 2.
/system leds
set 0 interface=wlan1

/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no frequency=2462 \
    l2mtu=2290 mode=ap-bridge ssid=TEST-WIFI-MIKROTIK wds-mode=static \
    wireless-protocol=802.11
/interface wireless wds
add disabled=no l2mtu=2290 master-interface=wlan1 name=wds1 wds-address=\
    XX:XX:XX:XX:XX:53

/interface bridge
add name=bridge1
/interface bridge port
add bridge=bridge1 interface=wds1
add bridge=bridge1 interface=wlan1

/ip address
add address=192.168.4.2/22 interface=bridge1 network=192.168.4.0

/ip route
add distance=1 gateway=192.168.4.1

/ip dns
set allow-remote-requests=yes servers=202.134.1.10,8.8.8.8

/system ntp client
set enabled=yes primary-ntp=152.118.24.8 secondary-ntp=202.169.224.16

Intinya, agar kedua AP bisa terhubung WDS, syaratnya adalah menyamakan ssid dan channel frekuensinya. Jika berhasil maka akan ada terlihat trarik yang akan lewat dari wds.  
Setting WDS di Mikrotik

Install Owncloud Cloud Server di Ubuntu 12.04 Server LTS

Jaman sekarang merupakan jamannya Cloud Computing. Salah satu implementasi dari sistem Cloud Computing adalah menjamurnya berbagai layanan Cloud Storage di internet, baik itu yang gratis maupun yang berbayar. Beberapa contoh yang terkenal adalah Dropbox, Ubuntuone, Skydrive, dan Google Drive.

Pada artikel kali ini, saya akan membahas cara pembuatan sebuah Cloud Server pribadi di Ubuntu 12.04 Server dengan menggunakan aplikasi Owncloud.

cloud

Owncloud merupakan salah satu aplikasi Cloud Storage Open Source yang memiliki beberapa fitur yang cukup bagus. Diantaranya adalah fitur Sinkronisasi otomatis dengan komputer, web, dan bahkan Smartphone. Selain itu Owncloud juga memiliki fitur sinkronisasi kontak dan kalender langsung ke Android.

Untuk instalasi Owncloud di Ubuntu 12.04 Server, ikuti langkah-langkah sebagai berikut :

1. Instal terlebih dahulu webserver di komputer kalian :

$ sudo apt-get install apache2 php5 mysql-server phpmyadmin

Nanti akan muncul beberapa pertanyaan untuk mengisi password dan sebagainya, isikan saja sesuai petunjuk yang ada.

2. Download paket Owncloud terbaru :

$ wget http://download.owncloud.org/community/owncloud-6.0.2.tar.bz2

3. Setelah download selesai, Ekstraklah file owncloud-6.0.0a.tar.bz2 dengan perintah ini :

$ tar -xvf owncloud-6.0.0a.tar.bz2

4. Kopikan folder owncloud hasil ekstraksi ke dalam direktori webserver kalian sekaligus berikan juga hak kepemilikan direktori tersebut menjadi milik user www-data :

$ sudo cp -R owncloud /var/www
$ sudo chown -R www-data.www-data /var/www/owncloud


5. Selanjutnya kalian harus membuat database sekaligus usernya khusus untuk menghandle aplikasi owncloud. Login terlebih dahulu ke Mysql :

$ mysql -u root -p
mysql> CREATE DATABASE dbowncloud;
mysql> CREATE USER owncloud;
mysql> SET PASSWORD FOR owncloud = PASSWORD("123");
mysql> GRANT ALL PRIVILEGES ON dbowncloud.* TO owncloud@localhost IDENTIFIED BY '123';
mysql> FLUSH PRIVILEGES;


nb : untuk yang saya tandai berwarna merah dan biru, silahkan kalian ganti sesuai dengan keinginan kalian masing-masing.

6. Sekarang tinggalkan komputer server kalian, lalu bukalah web browser dari komputer klien dan arahkan ke alamathttp://ipserver/owncloud kemudian isikan data-data yang diperlukan. Untuk username dan password admin, bisa diisikan terserah kalian. Sedangkan untuk informasi koneksi database, sesuaikan dengan database yang sudah kalian buat sebelumnya pada step 5. Jika sudah klik Finish Setup :

cloud

Pastikan tidak ada pesan error apapun ketika instalasi.

7. Berikut adalah tampilan ketika kalian sudah berhasil login ke dalam owncloud :

cloud

Semoga bermanfaat :)

Bocah 10 Tahun Berhasil Retas Instagram

Bocah 10 Tahun Berhasil Retas Instagram


Bocah berusia 10 tahun asal Finlandia, Jani berhasil membawa pulang hadiah uang US$ 10.000 setelah berhasil menemukan cara menghapus komentar pengguna lain dari server Instagram. Jani mengklaim rongga keamanan yang ditemukannya bahkan memungkinkannya menghapus komentar Justin Bieber.
Jony memamerkan aktivitas peretasannya kepada tim Instagram dengan menghapus sebuah komentar yang di-posting di akun uji. Ayah si bocah menyampaikan kepada situs berita Finlandia, Iltalehti bahwa Jani dan saudara kembarnya biasa mencari lubang keamanan situs web yang terlihat aman, tapi peretasan Instagram merupakan prestasi terbesar mereka hingga kini.
Hadiah uang senilai US$ 10.000 merupakan bagian dari program Bug Bounty milik Facebook yang menawarkan hadiah bagi para hacker White Hat dan peneliti lainnya yang menemukan rongga keamanan pada kode Instagram. Facebook dikabarkan telah membayar US$ 936.000 kepada 210 peneliti di 2015, dari jumlah total 13.000 pendaftar.
Sumber: Iltalehti via Mashable

Terungkap! Harga OnePlus 3 Mulai Rp 4 Jutaan

OnePlus 3 Akan Dihadirkan dalam Dua Varian – Kabar tentang smartphone OnePlus 3 memang tidak ada habisnya, jika sebelumnya beredar spesifikasi dari smartphone tersebut. Kini kabar baru datang lagi mengenai harga dari generasi ketiga flagship dari vendor yang berasal dari China.
Terungkap! Harga OnePlus 3 Mulai Rp 4 Jutaan
Info terbaru menyebutkan bahwa OnePlus 3 dibanderol dengan harga yang cukup terjangkau. Salah satu orang dalam OnePlus membeberkan harga dari OnePlus 3 akan dibanderol mulai dari 1.999 yuan atau jika dirupiahkan setara dengan Rp 4 juta. Harga awal ini lebih murah sekitar Rp 300 ribuan dibandingkan dengan harga OnePlus 2 saat pertama meluncur tahun lalu.
Selain itu, OnePlus 3 ini rencananya akan dihadirkan dalam dua varian. Dimana yang membedakan keduanya adalah kapasitas penyimpanan internal serta memori RAM yang diusungnya. Varian pertama adalah OnePlus 3 dengan RAM 4 GB dan ROM 32 GB. Varian inilah yang nantinya akan dibanderol dengan harga Rp 4 jutaan. Sedangkan untuk varian yang kedua adalah OnePlus 3 dengan RAM 6 GB dan ROM 6 GB, varian yang ini harganya tentu lebih mahal dari varian yang pertama.
Tetapi untuk dapur picu lainnya, kedua varian tersebut kabarnya akan sama-sama menggunakan layar 5.5 inci berosulusi Full HD atau sama dengan layar dari OnePlus 2. Kedua varian tersebut juga akan didukung dengan prosesor Snapdragon 820 dari Qualcomm yang dipermanis dengan kartu grafis Adreno 530.
Sementara untuk bagian fotografinya, OnePus 3 akan disenjatai dengan dual kamera. Dimana kamera utamanya akan didukung dengan resolusi 16 MP yang mempunyai kemampuan merekam video 4K serta lampu kilat LED. Sedangkan untuk kamera depannya akan didukung dengan resolusi 8 MP yang cocok digunakan untuk keperluan selfie maupun video call.
OnePlus 3 sendiri kabarnya akan diumumkan secara resmi pada tanggal 18 Mei 2016 mendatang dan akan mulai dijual pada awal bulan Juni 2016. Dan mengenai pasar penjualannya, belum diketahui juga apakah akan dijual di Indonesia atau tidak. Karena seperti yang sudah terjadi sebelumnya, OnePlus 2 tidak bisa djual di Indonesia lantaran adanya aturan mengenai tingkat kandungan lokal pada ponsel-ponsel 4G yang beredar.

Cara Membajak/Hack Login Hotspot Mikrotik & Wifi.id di Linux

Cara Hack Hotspot Mikrotik ini sebenarnya sudah ada sejak lama yang lebih dikenal dengan Mac-Address Spoofing. Jadi inti dari pembajakan atau hack ini adalah sebagai berikut.
  1. Cari Hotspot yang akan dijadikan target pembajakan.
  2. Konek ke hotspot tersebut --> Lakukan scanning mac-address user yang sudah konek dan berhasil login ke hotspot tersebut.
  3. Copy mac-address target.
  4. Ganti mac-address kita dengan mac-address target.
  5. Konek ulang ke hotspot, dan hasilnya kita tidak perlu login untuk menggunakan hotspotnya, karena session dari user target itu sudah kita bajak.
Simpel kan? Kita bisa lakukan hack hotspot Mikrotik ini menggunakan Komputer, Laptop, bahkan Smartphone Android. Khusus buat Android, HP nya harus udah di root dulu ya, karena untuk mengganti mac-address harus jadi superuser. Tapi kali ini kita belum akan bahas pembajakan via smartphone. 

Kita coba dulu pakai Laptop ya, tentunya via WiFi. Disini saya mencoba menggunakan OS Linux. Kenapa Linux? Karena di Windows tidak semua step diatas bisa dilakukan. Kecuali menggunakan Windows versi lama (Win XP - 7) dengan tambahan beberapa software scanning wifi dan manipulasi mac-address. Jadi kali ini saya coba menggunakan Pentest Tool nya Kali Linux.

Kali Linux merupakan salah satu distro Linux yang khusus diciptakan untuk penetration test (Pentest), yang sudah dibekali dengan berbagai macam tools yang bisa kita gunakan untuk melakukan Pentest (hack). Jadi kita akan memanfaatkan tools pentest nya kali linux untuk hack login hotspot wifi.id. Kalau Anda mau gunakan distro Linux lainnya silakan, disini saya contohkan saja menggunakan Kali Linux.

1. Silakan download dulu file image iso kali linux nya disini.
2. Disini kita akan gunakan live cd linux nya, jadi ga perlu install dulu, langsung pakai aja.
3. Burn iso image kali linux nya di CD atau bisa gunakan USB flash disk. Silakan baca disini.
4. Boot ke kali linux nya. Jalankan via live cd.
5. Langkah Hack Hotspot Mikrotik & Wifi.id nya silakan lihat di Tutorial Video yang saya buat ini :

 

Jadi pada Tutorial video hack hotspot mikrotik & wifi.id tersebut saya mencoba melakukan mac-address spoofing pada salah satu target yang terkoneksi ke Wifi.id. Target nya adalah HP Android saya yang sudah login ke wifi.id. Saya sengaja menargetkan hp saya sendiri supaya tau apa yang terjadi pada target ketika pembajakan ini dilakukan.

Dan hasilnya adalah sebagai berikut :


Karena Mac-address laptop saya sudah diganti dengan mac-address hp android saya, maka ip address yang didapatkan laptop saya juga sama dengan ip address hp saya. Hal ini akan membuat hp saya kehilangan koneksi, karena session nya sudah dibajak oleh laptop saya. Alhasil hp saya kadang bisa konek kadang tidak, begitu juga pada laptop saya yang koneksinya hidup mati, karena terjadi ip conflict. Tapi hal ini hanya terjadi sebentar saja, selanjutnya bisa lancar kok.. hehe

IBM Creates A Limitless Linux

With significant drivers expanding the mission critical applications in the industry, it's no surprise that Linux is the fastest growing operating system in the business. Speed, agility, a unified development environment and cost are all factors to this success. In addition to that, Linux's quality has advanced in recent years with mobile driving an increased focus on this platform. IBM has a lot of eggs in this basket, pushing its z Systems platform to take advantage of this trend and provide the strongest large scale offering around. IBM is convinced that they can expand their capability by taking Linux to new heights and are doing so by announcing the expansion of their coverage. Customers have begun wanting IBM to take Linux and give it the same focus as the company's most capable systems, and that's exactly what IBM is doing.

IBM's LinuxOne Portfolio is designed to provide a selection of Linux distribution of its choosing and with the scale and support you would expect from IBM's most powerful systems, like the z System. In addition to that, there are two other offerings, both of which are named after penguins. These two systems are known as the LinuxONE Emperor and the LinuxONE Rockhopper. Emperor is the premier offering, providing the greatest flexibility and scalability along with performance and trust for business-critical Linux applications. Emperor also has the greatest capacity range and no top end, meaning it can be expanded whenever and however you need to. Rockhopper is the entry system that starts much smaller than Emperor and provides a solution for a smaller company or unit.

Both of the systems allow you to choose your distribution, hypervisor, runtime, management tools, your choice of databases, and your choice of analytics. There are other coverages on hypervisors as well, including PR/SM. z/VM, and KVM. Languages include Python, Pearl, COBOL, Java, and Node.js. On the management side, we have WAVE, IBM Cloud Manager, OpenStack, Docker, Chef, Puppet, and VMware vRealize Automation. In terms of databases, there's Oracle, DB2LUW, Maria DB, MongoDB, and PostgreSQL with analytics include Hadoop, Big Insights, DB@BLU, and Spark. The range of offerings is also pretty good, including single platform, multi-platform, on premise, off premise, and multiple mixed cloud environments with a common toolset.


When it comes to pricing, things are pretty flexible. There's a Pay-Per-Use model with no upfront payment needed, a fixed monthly or quarterly payment, and variable costing that scales based on usage. A second pricing model uses a 36-month fixed lease with a 36-month usage contact and a right to return after 1 year. The final payment style is a Pre-Core rental model that allows you to order what you need when you need it, add licenses as needed, decrease licenses as needed or cancel with a 30-day notice.

Scale out and up supports up to 8 thousand virtual servers in a single system along with tens of thousands of containers, tens of thousands of concurrent users, and the ability to run test, development, and production in a single system. There is a significant focus on speed here as IBM has included its fastest processor, biggest I/O pipe, up to 10TB of memory, and 4 levels of cache, all of which brings you a sub-second end user response time at full load. The platform is designed to run at 100% utilization and to spin containers and virtual servers in a matter of minutes, automatically provide physical resources as needed in seconds via automatic resources provisioning and reallocation.

IBM testing has shown that it can handle up to 30 billion RESTful web interactions per day with up to 350,000 database read and writes per second. This is twice the performance of competitors for any NoSQL database, along with the longest single DB node. This assists in avoiding costs, complexity, and overhead of sharding.

This is Linux without limits. The Open Mainframe Project is a key element in the effort and it is being pushed forward by the Linux foundation in order to drive capabilities and growth. IBM is showing a commitment to driving this project with a lot of funding and company resources. This includes IBM Linux Technology Centers, Open Source Community Contributions, Academic Initiative and Training Programs, and open access to Mainframe community clouds. Members of this project include CA, CompuWare, BMC, Marris College, and the University of Washington.

IBM is pulling out all the stops here and this is definitely one of the most significant moves by the company in the past 10 years. IBM is enabling its centers worldwide to port, test, and benchmark key applications with free access to the Mainframe Community Cloud for developers and students across a plethora of top-tier universities. IBM definitely sees its future tied closely to Linux and a score of students coming from educational institutions and is focused on ever more mobile, flexible, applications.

Content originally published here
Sharing this story on Social Media? Use these hashtags! #IBM #Linux #LimitlessLinux #LinuxONERockhopper LinuxONEEmperor

Crytek's CryEngine Embraces Linux

Linux gaming is starting to catch on and build up some momentum. Following in the footsteps of Valve’s Source engine, Epic’s Unreal Engine 4, and Unity 5, Crytek's CryEngine supports Linux. This also means that it will have support for SteamOS. This also means that it will be way easier for developers who are currently making games on these engines to add support for Linux.

Even with this, developers will still have to go a little out of their way and do some work in order to add Linux support to their Steam games, so every game that comes out won't have it. So don't get your hopes up on that. But either way, there will be a lot of titles coming out in the future and the technology will become more widely adopted. It reduces the effort needed by a lot.

This might not be huge news to all of the indie game players out there. Smaller companies might not want to invest the extra time into adding support for Linux, but for the huge, new AAA games the cost of porting them to Linux goes way down, and because SteamOS is a really promising, big new platform, it's starting to look like a much better idea to these big gaming companies. When the core engine of the game already supports that platform, everything else is pretty simple because all the hard work is already done.


On top of all that, engines that already support Linux should get a huge improvement in the quality of ports. Some of the Linux games currently on Steam use a lot of Windows coding and Direct3D, which makes performance a little bit problematic for Linux users. This new change will mean that developers can do away with whatever tricks they were using to make Windows code run (badly) on top of Linux.

Content originally published here

Run Linux command on Android

Android system have to Terminal application in default. This example provide user to run Linux command using ProcessBuilder, and display the result. But most Linux command not support in Android.

(If you want try the APK only, scroll down to the bottom.)


package com.example.androidrunlinuxcmd;

import java.io.IOException;
import java.io.InputStream;

import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;


public class MainActivity extends ActionBarActivity {

EditText cmdBox;
Button btnRun;
TextView textResult;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

cmdBox = (EditText)findViewById(R.id.cmdbox);
btnRun = (Button)findViewById(R.id.run);
textResult = (TextView)findViewById(R.id.result);
textResult.setTypeface(Typeface.MONOSPACE);

btnRun.setOnClickListener(new OnClickListener(){

@Override
public void onClick(View v) {
//Split String from EditText to String Array
String[] cmd = cmdBox.getText().toString().split("\\s+");
try {
String cmdResult = runLinuxCmd(cmd);
textResult.setTextColor(Color.WHITE);
textResult.setText(cmdResult);
} catch (IOException e) {
e.printStackTrace();
textResult.setTextColor(Color.RED);
textResult.setText("Something Wrong!\n"
+ e.getMessage());
}
}});
}

//Run a Linux command and return result
private String runLinuxCmd(String[] command) throws IOException {

StringBuilder cmdReturn = new StringBuilder();

ProcessBuilder processBuilder = new ProcessBuilder(command);
Process process = processBuilder.start();

InputStream inputStream = process.getInputStream();
int c;

while ((c = inputStream.read()) != -1) {
cmdReturn.append((char) c);
}

return cmdReturn.toString();
}
}


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="vertical"
tools:context="com.example.androidrunlinuxcmd.MainActivity" >

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:autoLink="web"
android:text="http://android-er.blogspot.com/"
android:textStyle="bold" />

<EditText
android:id="@+id/cmdbox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true" />

<Button
android:id="@+id/run"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Run Linux Command" />

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#A0A0A0" >

<TextView
android:id="@+id/result"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp" />
</ScrollView>

</LinearLayout>


download filesDownload the files.

Download and Try the APK.

Setup JAVA_HOME and path to JDK on Linux


Setup JAVA_HOME and path to JDK on Linux (Ubuntu in this example), edit the file .bashrc
$ nano .bashrc

Add the line:
export JAVA_HOME=<path to jdk>
export PATH=$JAVA_HOME/bin:$PATH

Where <path to jdk> is the path to the installed JDK.


Save it and exit.

To reload .bashrc without log-out and log-in, enter the command:
$ source ~/.bashrc


Mozilla Launches Firefox 9.0.1 Right After Firefox 9 Due to Bugs

Firefox 9Just one day after it released Firefox 9, Mozilla quickly released an update after backing out of a bug fix that was causing users on Mac, Linux and Windows computers to experience browser crashes. Mozilla released Firefox 9.0.1 on Wednesday which made many people think that it was fake due to the fact that it released right behind version 9.

According to a post on the Mozilla support forum, "Seeing links for [Firefox 9.0.1], why is it being released? Or is it a hoax?" Other discussions on the support forum's threads included messages from users asking whether or not Mozilla actually updated the Firefox browser and if so, why?

Mozilla did not specify in the release notes of v9.0.1 why it needed to re-release the browser though developers did note that the update was prompted by crash reports, specifically for Mac users, though Windows and Linux users also experienced crashes. According to a statement from Alex Keybl, one of the engineering Project Managers on Mozilla's Release Team, "We built Firefox 9.0.1 with bug 708572 backed out. We've pushed Firefox 9.0.1 for all platforms. Although, we think Windows is mostly unaffected, we still decided to move forward with Windows-v9.0.1."

In order to rectify the problem, one that caused crashes whenever users ran certain add-on toolbars (like the one distributed by the Dallas Cowboys), the developers at Mozilla removed a patch that had been applied previously. The rush update that occurred on Wednesday was the second by Mozilla in the last 30 days. Mozilla shipped Firefox 8.0.1 back on November 21 to deal with a large number of crashes with Mac OS X. The crashes were eventually traced back to an Apple update of Java that occurred earlier in the month.

Anybody who upgraded to Firefox 9 in between the time of its release and the release of 9.0.1 can update to the new version by choosing "About Firefox" from the Firefox menu on the Mac or "About Firefox" from the Help menu under the Firefox button on Windows and then approving the new version's installation after it has completed downloading.

Source: Computer World - Mozilla re-releases Firefox 9, backs out fix causing crash

A Tech Travel Agent can get a laptop rental to you within 24 business hours in over 1000 cities worldwide. Call Me Toll Free 800-736-8772