Saturday, October 30, 2010

How to install oracle in ubuntu (tested on 9.10 karmic)

Min sys req:
a) SWAP space more than 1GB
b) RAM more than 512MB
c) hard disk space more than 1.5GB

To install do the following:
METHOD1:
1) download the required package from here
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
2) open terminal
3) type the following commands:

sudo apt-get install libaio1
sudo apt-get install bc
sudo dpkg -i oracle-xe-universal_10.2.0.1-0_i386.deb 
4) Then to configure your database write these commands in terminal:
sudo /etc/init.d/oracle-xe configure 
5) Enjoy....say thnx if u like it...

METHOD2:
1) GO TO SYSTEM>ADMINISTRATION>SOFTWARE SOURCES
2) in the "other software" tab add this:
deb http://oss.oracle.com/debian unstable main non-free
3) then open TERMINAL and write:
 sudo apt-get update
4)If you get a GPG-KEY error type the following in terminal:
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle  -O- | apt-key add -  
5) Enjoy....say thnx if u like it...
 
 
 
FOR any type of support feel free to contact me on my mail id
rahul300chaudhary400@gmail.com or comment here....   :)
 

FOR all those who are utterly confused in GPG-KEYS..

Guys this is a great document for those who want to learn about GPG_KEYS...
http://www.gnupg.org/gph/en/manual.html

if by any chance ypu have doubts regarding GPG-KEYS.....u can ask me by any means,,,,Happy to help...  :)

LINUX apache directives..

#Section 1. Global configuration options
ServerRoot /etc/apache2
Listen 80
Timeout 120
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
User apache
Group apache
HostnameLookups On
LoadModule load_module1
LoadModule load_module2
LoadModule load_module3
ErrorLog /var/log/apache2/error.log
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
Include /etc/apache2/conf.d/



#Section 2. Main server configuration options
ServerAdmin rahul300chaudhary400@gmail.com
ServerName example.com 80
DocumentRoot /var/www/html
DirectoryIndex index.html index.php index.txt
ErrorDocument 404 /errors/404.html
Options Indexes MultiViews


#Section 3. Directory Section
# Defaults for all directories
<Directory />
    Options FollowSymLinks
</Directory>
# Settings for DocumentRoot
<Directory “/var/www/html”>
    Options Indexes MultiViews
</Directory>
# Settings for /legal/
<Directory “/var/www/html/legal”>
    DirectoryIndex index.html
    ErrorDocument 404 /errors/legal/404.html
</Directory>



 Enable name-based virtual hosting
NameVirtualHost *.80
<VirtualHost *:80>
    ServerName www.example.org
    DocumentRoot /var/www/example.org
    #add other directives here
</VirtualHost>




Q3. Configuring DHCP

ddns-update-style interim;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
   #global parameters for the subnet
   option routers                  192.168.0.1;
   option subnet-mask              255.255.255.0;
   option domain-name              “example.com”;
   option domain-name-servers      192.168.1.1;
   range dynamic-bootp 192.168.0.128 192.168.0.254;
   default-lease-time 21600;
   max-lease-time 43200;
   # fixed address example
   host jadefox {
      next-server ns.example.com;
      hardware ethernet 12:34:56:78:AB:CD;
      fixed-address 192.168.0.4;
   }
}
shared-network third-floor {
   #global parameters for the shared network
   option routers                  192.168.0.1;
   option subnet-mask              255.255.255.0;
   option nis-domain               “example.com”;
   option domain-name              “example.com”;
   option domain-name-servers      192.168.1.1;
   default-lease-time 21600;
   max-lease-time 43200;
   subnet 192.168.10.0 netmask 255.255.255.0 {
      range dynamic-bootp 192.168.10.1 192.168.10.254;
   }
   subnet 192.168.20.0 netmask 255.255.255.0 {
      range dynamic-bootp 192.168.20.1 192.168.20.254;
   }
}
group {
   #common parameters for both host declarations
   option routers                  192.168.10.254;
   option subnet-mask              255.255.255.0;
   option domain-name              “example.com”;
   option domain-name-servers       192.168.10.24;
   default-lease-time 21600;
   max-lease-time 43200;
   host printer {
      option host-name “printer.example.com”;
      hardware ethernet 01:BE:BB:5E:1A:CC;
      fixed-address 192.168.10.7;
                                                   14
   }
   host payroll {
                                                   option host-name “payroll.example.com”;
                                                   hardware ethernet 02:B4:7C:43:DD:FF;
                                                   fixed-address 192.168.10.10;
   }
}

encrypt2ashes

encrypt2ashes
Hii friends...
This is one of my very first softwares...with this you can hide all your nasty stuffs and no one will know about it...
since this is my first software..(have mercy if u don't like it   :)   )...i am lukin frwd for your comments.......

SYSTEM REQ: MICROSOFT WIN XP

on running this soft a folder will be created and u can drag your files in it and then again double-clicking on the same icon will ask you to encrypt that folder...
pretty much easy to use,,,,,give feedback plz.........   :)