How to install Oracle Java 8 on Ubuntu 14.04 Trusty / LinuxMint 17 Qiana, and how to prepare Eclipse 4.3 Kepler for Java 8

Both Ubuntu and Linux Mint have OpenJDK in their repositories, and that should work fine for most stuff.
But when you are into serious development, especially to install the Eclipse IDE, you need Oracle Java.

To install Oracle Java 8 on Ubuntu 14.04 Trusty / LinuxMint 17 Qiana, use the following commands in Terminal:

[SOLVED] How to get the Broadcom BCM4312 802.11b/g LP-PHY wireless/WLAN/WiFi adapter working on Ubuntu 14.04 Trusty Tahr or LinuxMint 17 Qiana - (Tested on a Dell Studio 1435 Laptop)

Note: I did this for a friend's Dell Studio 1435 Laptop, while installing the latest LinuxMint 17 Qiana Mate Edition. This should work on Ubuntu / LinuxMint for any machine which has a Broadcom BCM4312 wifi (802.11b/g) adapter.

You can make sure that you have the correct device mentioned here, by typing in the following command in the Terminal:

lspci | grep -i bcm4312

It should show something like this:

How to install/set up an Android Development Environment on Ubuntu (12.04 Precise / 13.04 Raring / 13.10 Saucy) / LinuxMint (13 / 14 / 15 Olivia / 16 Petra), and get started with learning the basics of app development by creating your first app

1. First, follow the steps on the following URL to make your Ubuntu / LinuxMint machine ready for configuration as an Android development rig:
http://antojose.com/content/how-to-install-eclipse-4-3-kepler-eclipse-4-...

2. Then go to developers.android.com,
and from the menu on top, navigate to
Develop > Tools > Developer Tools > Download.

Using squid proxy on Linux to monitor and control internet usage in a network

NOTE: This is just a rough research note for now - I haven't done this myself yet. Will expand once I have experimented more with this. Till then, please use the following info to build upon, and let me know via the Comments box below if you have any quick doubts. Cheers!

[SOLVED] How to Fix on Ubuntu/Debian linux - MySQL/MariaDB: Out of resources when opening file (Errcode: 24)

This is an issue which occurs due to the maximum number of open files allowed for a process (mysql in this case) being very less that what is required - something that happens because you have lots of large tables / a large DB. To fix this, you just have to increase the limits in a few places.

Here is how you do it:

Step 1: Identify the issue
as limit on the max number of open files (1024) for a single process (mysql) by doing these as root user:
ulimit -a | grep open

[SOLVED][HOWTO] How to install Drush via PHP PEAR on your cPanel/WHM shared hosting server account

With SSH enabled, Drush is one of the best command-line tools that a Drupal developer/admin can have.

If you havent heard of Drush, checkout these pages to know more about it, and about how it can help make your life much saner:
https://github.com/drush-ops/drush#description
http://drush.ws/about

Here is how you can install Drush on your cPanel/WHM shared hosting account:

A letter to VisionTek to OpenSource their 82GH 3G USB Modem dialler to support Voice calling, USSD codes and Sending/Receiving SMS on Linux

Device: http://www.visiontek.co.in/3g-2g-wireless-products/82gh.html

Letter:

Developing a Linux Voice Dialler for VisionTek 82GH USB 3G modem

Hello VisionTek,

This is Anto Jose, a Linux developer + OpenSource consultant from Thiruvananthapuram.

As you know, the Linux dialler application that comes with the 82GH 3G USB modem, doesn't support Voice Calling and SMS/USSD facilities that the Windows version offers.

Setting up a LAMP (Apache, MySQL, PHP) development environment on Ubuntu 13.04 (Raring) / 12.10 (Quantal) / 12.04 (Precise) for Drupal/Wordpress development

Setting up a LAMP (Apache, MySQL, PHP) development environment on Ubuntu 11.04 (Natty) / 11.10 (Oneiric) for Drupal/Wordpress development

 
Package Installation
From Terminal, execute the following command to install the required packages:

sudo apt-get install apache2 mysql-server mysql-client php5 libapache2-mod-php5 php5-gd php5-mysql php5-cli  php5-curl kcachegrind  php5-ffmpeg php5-mcrypt php5-imagick php5-xdebug phpmyadmin

Additional Configuration

1. To fix the Fully Qualified Domain Name issue for Apache

How to install Eclipse 4.3 Kepler or Eclipse 4.2 Juno and pre-requisite Oracle Java 7 on Ubuntu 13.04 Raring / Ubuntu 12.04 Precise LTS / Linux Mint 15 Olivia (the recommended method)

Eclipse is one of the most widely used free and open-source IDEs out there in the professional Software Development industry.
Still, both Ubuntu 13.04 Raring (as well as the LST Ubuntu 12.04.x) and Linux Mint 15 Olivia has a seemingly very old version of Eclipse in their repositories.
Here is a how-to on installing the latest and greatest version of Eclipse 4.3 Kepler (this whould also work for Eclipse 4.2 Juno) on Ubuntu 13.04 Raring / Ubuntu 12.04 Precise / Linux Mint 15 Olivia:

[SOLVED] What to do when you see a missing include file error like "fatal error: something.h: No such file or directory" when you build/compile/install something from source on Ubuntu Linux Server/Desktop

These are some common errors that you might face when you try to build/compile/install something from source on Ubuntu Linux Server/Desktop:

fatal error: openssl/ssl.h: No such file or directory
fatal error: zlib.h: No such file or directory
fatal error: png.h: No such file or directory
fatal error: curl/curl.h: No such file or directory
fatal error: expat.h: No such file or directory

This would be because of some missing library packages which contain these include files.

The ideal way to deal with these would be:

Pages

Subscribe to antojose.com RSS
randomness