Remote Desktop Sharing Ubuntu

This is the quick how to on installing VNC on Ubuntu for Remote Desktop sharing,

To, install VNC on Ubuntu, run

sudo apt-get install x11vnc vnc-java

Now, we need to set up a password for clients, to do so run,

x11vnc -storepasswd

Now to start VNC in background run,

nohup x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 &

That’s it. Now you can access your UBUNTU machine from anywhere. Remember if you are behind firewall then you need to open 5800 and 5900 port.

Firefox 8 on Ubuntu 11.04

To install Firefox 8 on Ubuntu 11.04 you need to add mozilla-daily ppa to your repository. To add mozilla-daily ppa run following commands in terminal:

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-trunk

To start Firefox 8 click on the Applications launcher and type: Nightly

How to Install Weblogic on Ubuntu

Weblogic is an application server from Oracle which resides in Oracle Fussion Middlware. This howto will simply show how to install Weblogic on Ubuntu.

Note : Screen shot are in small resolution. Please click on the individual screens for better visibility.

Pre-Requirement
1. You must installed JAVA on Ubuntu before starting Weblogic installation
To install JAVA on Ubuntu click here
2. Download installer from here

In this how-to we are installing Weblogic in GUI(Graphical) mode.

Run java -version to check JAVA installation. In case java command not found you need to install JAVA. Please click here to install JAVA on Ubuntu.

Now install weblogic using java command. I have downloaded platform independent file of weblogic installer. So to execute the same run,

cd ~/Download
java -jar wls1035_generic.jar

Installer will get extracted in /tmp location, so ensure that you have more than 2GB space in /tmp location.

On the welcome screen, click NEXT

On Choose Middleware Directory, choose Create a new Middleware directory.
We have choose /app/Oracle/Middleware. From here onwards I will use MIDDLEWARE_DIR instead of full path i.e /app/Oracle/Middleware

On Register for security Updates, we disable the same as it is not needed in this setup.


On Choose Install Type, we are going to choose Typical

On JDK Selection, installer will detect java version automatically. If you want to select different java then click on Browse

On Choose Product Installation Directories, It should be like this
Product Installation Directories
Weblogic Server
MIDDLEWARE_DIR/wlserver_10.3
Oracle Coherence
MIDDLEWARE_DIR/coherence_3.6

On Installation Summary, verify everything and click NEXT.

Progress screen

That’s it Basic Weblogic has been completed.

Now we need to create a domain and Administrator server for the domain

To do so, run,

MIDDLEWARE_DIR/wlserver_10.3/common/quickstart/quickstart.sh

You will get Quick Start welcome screen. To create domain click on Getting Started with Weblogic Server.

Now select Create a New weblogic domain to create new domain

On Select Domain Source, by default Basic weblogic server domain get selected. Click NEXT to go ahead

On Specify Domain Name and Location, specify domain name. We are creating techienote as our domain. Click NEXT

On Configure Administrator User Name and Password, specify username and password for Administrator server and click NEXT. You are going to need this username and password while starting Weblogic and accessing admin console.

Our environment is Production, so in Configure Server Start Mode and JDK, choose Production Mode and click NEXT

On Select Optional Configuration Choose Administrator Server.

On Configure Choose Administrator Server, enter Server Name, Listen Address, Listen Port. By default weblogic will listen on 7001 TCP port.

On Configuration Summary verify details and click on NEXT


At the end setup will show you admin server URL. In my case it is http://ubuntu.home.network:7001

No we need to start Weblogic server to access Admin console.
To start admin console, run
MIDDLEWARE_DIR/user_projects/domains/techienote/bin/startWebLogic.sh

Now it will ask you username and password. Enter username and password which you have selected earlier.

At the successful startup, you will get server started in running mode text in command prompt.

Now to access Admin Console, open Browser and enter admin server url i.e. http://hostname:port/console
Enter username and password to access admin console.

Voila this is it. We have successfully installed Weblogic server on Ubuntu.

How to install Sun Java in Ubuntu

Today I need to install Sun Java for application testing. I tried the multiverse repo but it did not work. So here is the simple howto for those who want to install Sun Java (JDK) on Ubuntu.

Adding repository

sudo add-apt-repository ppa:ferramroberto/java

Installing JDK

sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin

Thats it.
You need to accept Agreement while installing JDK

Updating PATH

update-java-alternatives -s java-6-sun

Checking JAVA version

java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)

Managing Boot Service in Ubuntu

Boot-Up Manager is a Perl-Gtk2 application to handle runlevels configuration of any debian derivative system. With this program the user will easily start and stop boot-up scripts, without the necessity to handle through complex links and permissions.

Boot-Up Manager has been developed and tested on Ubuntu, but as it only relies on Perl-Gtk2 libraries, it can be run on any Debian-like system.

To install Boot-Up Manager on Ubuntu, run

apt-get install bum

To start / stop application at Ubuntu’s startup level just run bum as a root user:

sudo bum

Page 7 of 10« First...«5678910»
rss twitter facbook

Categories

Archives