Saturday, March 31, 2012

Top Things to do after installing Ubuntu

http://www.unixmen.com/top-things-to-do-after-installing-ubuntu-1104-natty-narwhal/

Ubuntu 12.04 LTS Precise Pangolin beta 1 is almost out. The final release it scheduled to be out in the 26th of April 2012. After you actually get done with the installation, there would likely exist a heap of things you still need to take care of. This post will share some interesting insight and ideas about what you can and should do after a successful installation.

How to install OpenJDK 7 in Ubuntu 12.04 ?
http://www.ubuntugeek.com/how-to-install-oracle-java-7-in-ubuntu-12-04.html

Thursday, March 29, 2012

VMWare ESXi tutorials

Intro 1. http://www.youtube.com/watch?v=WW8OlZ-s-Us

Intro 2. http://www.youtube.com/watch?v=GtoWAfrOWeU


Module 1. http://www.youtube.com/watch?v=HtNJD5cDpL8

Module 2. http://www.youtube.com/watch?v=rHUPWk64pmQ

Module 3. http://www.youtube.com/watch?v=uOhKVG9Sef0

Module 4. http://www.youtube.com/watch?v=5kxANMGm4jQ

http://www.youtube.com/watch?v=5kxANMGm4jQ&feature=results_main&playnext=1&list=PL89DE88402641452C


Module 5. http://www.youtube.com/watch?v=VepgExB_39E&feature=related

Ada string concatenation

I keep on getting CONSTRAINT_ERROR from the string concatenation code below:

for Line in 1 .. 5 loop
Fault_Data.Lru_Label := "Fault 0" & Integer'Image (Line);
...
end loop;

The link below shed light on how to do string concatenation in Ada:
http://stackoverflow.com/questions/4988438/ada-string-concatenation

The link below shows the differences between Java and Ada:
http://www.radford.edu/~nokie/classes/320/strings.html

IntelliJ Scala Plugin - nightly build

There is an alternative way to install the Scala plugin.Download the Scala plugin from the Nightly Builds page and unzip the archive to the directory /.IntelliJIdea/config/plugins. After that, run IntelliJ IDEA.

Wednesday, March 28, 2012

How to update AIR SDK for Flex Builder

Here's an overlay video for a previous version of AIR, but it should still be applicable.
http://www.youtube.com/watch?v=EpV9eUWzKMk


An Eclipse-like Ada IDE

The GNAT Programming Studio
http://libre.adacore.com/libre/tools/gps/

Installing And Configuring ESXI 4.1 Free edition

http://www.youtube.com/watch?v=8Uh1mBsVGYo&feature=related

The movie clip shows you how to:
1. Install VMWare ESXi Free on VMWare Workstation
2. Install vSphere Client to manage/configure ESXi

A good introduction to the VMWare vSphere Hypervisor (type 1 and 2)
http://www.youtube.com/watch?v=HtNJD5cDpL8&feature=related

http://www.youtube.com/watch?v=ZBl1Tf2A4lA&feature=related



How to install new virtual machine (VM) to ESXi



FAQ







Friday, March 23, 2012

Thursday, March 22, 2012

Managing diskk usage with quotas

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch28_:_Managing_Disk_Usage_with_Quotas

# who
# wall The system is shutting down now!

# init 1
# cat /etc/fstab | grep -w usrquota
(if not exist then add it to make it looks like below:)
LABEL=/home       /home          ext3    defaults,usrquota  1 2

# mount -o remount /home
# exit

# touch /home/aquota.user
# chmod 600 /home/aquota.user
# aquotacheck -vagum
# edquota -u mp3user
Disk quotas for user mp3user (uid 503):   Filesystem  blocks       soft       hard     inodes     soft     hard
/dev/hda3 24 0 0 7 0 0


change the soft value to 5000 to limit user mp3user to a maximum of 5MB of data storage.

Saturday, March 17, 2012

Shiro - A Java security framework

http://shiro.apache.org/index.html

Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management. With Shiro’s easy-to-understand API, you can quickly and easily secure any application – from the smallest mobile applications to the largest web and enterprise applications.

Note: Looks at the example at samples/web, it makes use of HtmlUnit to perform unit test on HTML pages. HtmlUnit is a "GUI-Less browser for Java programs". It models HTML documents and provides an API that allows you to invoke pages, fill out forms, click links, etc... just like you do in your "normal" browser.

Sunday, March 11, 2012

How to setup PostgreSQL

https://help.ubuntu.com/community/PostgreSQL

Basic Server Setup
To start off, we need to change the PostgreSQL postgres user password; we will not be able to access the server otherwise. As the “postgres” Linux user, we will execute the psql command.

In a terminal, type:

Dapper

sudo -u postgres psql template1
Karmic, Lucid, Intrepid and Maverick

sudo -u postgres psql postgres
Set a password for the "postgres" database role using the command:

\password postgres
and give your password when prompted. The password text will be hidden from the console for security purposes.

Type Control+D to exit the posgreSQL prompt.


Create database
To create the first database, which we will call "mydb", simply type:


sudo -u postgres createdb mydb
Install Server Instrumentation for Postgresql 8.4
To install Server Instrumentation for Postgresql 8.4 you may use the command line and type:


sudo apt-get install postgresql-contrib
Run the adminpack.sql script, simply type:

sudo -u postgres psql < /usr/share/postgresql/8.4/contrib/adminpack.sql