Thursday, April 19, 2012

upgrade from Ubuntu 10.10 to11.04 on a server


Server Upgrade:

To upgrade from Ubuntu 10.10 on a server system to Ubuntu 11.04:

1- install the update-manager-core package if it is not already installed:

sudo apt-get install update-manager-core
2- Edit /etc/update-manager/release-upgrades and set Prompt=normal;

3- Launch the upgrade tool with the command

sudo do-release-upgrade -d
and follow the on-screen instructions.

Wednesday, April 18, 2012

Install Teamviewer 7 (Beta) in Ubuntu

open Terminal. When it opens, run the commands to download  of Team viewer 7.
wget http://www.teamviewer.com/download/version_7x/teamviewer_linux.deb
Finally, run the commands below to install Teamviewer 7
sudo dpkg -i teamviewer_linux.deb



Thursday, April 12, 2012

How To – Find Out Your Ubuntu Version Name

It’s easy enough to do.

1) Applications -> Accessories -> Terminal
2) Type the following at the prompt:
vi /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"

Here is another command for the same purpose:

lsb_release -a

create a database manually IN CMD mode

1) I connect on sqlplus using the command: sqlplus / as sysdba
2) SQL>@ create_db.sql

SQL scrip "create_db.sql":

CREATE DATABASE VENKAT
MAXLOGFILES 3
MAXLOGMEMBERS 2
MAXDATAFILES 254
MAXLOGHISTORY 0
LOGFILE GROUP 1
('/u01/venkat/origlog/redo_g1m1.log','/u01/venkat/mirrorlog/redo_g1m2.log') SIZE 10 M,
GROUP 2
('/u01/venkat/origlog/redo_g2m1.log','/u01/venkat/mirrorlog/redo_g2m2.log') SIZE 10 M,
GROUP 3
('/u01/venkat/origlog/redo_g3m1.log','/u01/venkat/mirrorlog/redo_g3m2.log') SIZE 10 M,
DATAFILE '/u01/venkat/data1/system.dbf' SIZE 300 M,
DATAFILE '/u01/venkat/data1/undo_tbs.dbf' SIZE 500 M,
DEFAULT TEMPORARY TABLESPACE TEMP
TEMPFILE '/u01/venkat/data1/temp01.dbf' SIZE 500 M,
CHARACTER SET WE8ISO8859P1;