Posts

Showing posts from September, 2012

Creating Databases with the Oracle Database Configuration Assistant

Image
Creating Databases with the Oracle Database Configuration Assistant This chapter describes using the Oracle Database Configuration Assistant (DBCA) to create and delete Real Application Clusters databases. It explains how to decide whether to manually create your database and how to use the DBCA to delete Real Application Clusters databases. This chapter also briefly discusses migration and multiple Oracle homes issues. The topics in this chapter include: Using the Database Configuration Assistant Benefits of Using the Oracle Database Configuration Assistant Creating the Database after Installation Using the Database Configuration Assistant Creating a Real Application Clusters Database with the DBCA Deleting a Database with the Database Configuration Assistant Using the Database Configuration Assistant The DBCA creates your database using the optimal flexible architecture (OFA) . This means the DBCA creates your database file

Can We run the simple addition program without iostram.h and conio.h..........?

Yes we can do this.................... Solution .................. #include<constream.h> void main() { clrscr(); int a,b,c; cout<<"enter two number"; cin>>a>>b; c=a+b; cout<<"Sum="<<c; getch(); }

C Program to COPY DATA FROM ONE FILE TO ANOTHER File

#include<stdio.h>    int  main(){      FILE  *p,*q;      char  file1[20],file2[20];      char  ch;     printf( "\nEnter the source file name to be copied:" );     gets(file1);     p=fopen(file1, "r" );      if (p==NULL){         printf( "cannot open %s" ,file1);         exit(0);     }     printf( "\nEnter the destination file name:" );     gets(file2);     q=fopen(file2, "w" );      if (q==NULL){         printf( "cannot open %s" ,file2);         exit(0);     }      while ((ch=getc(p))!=EOF)         putc(ch,q);     printf( "\nCOMPLETED" );     fclose(p);     fclose(q);     return  0;   } 

Windows Azure Services..........!!!!!!!!!!!!!!!!!!!!!

Image
  Manage Center Deploy. Monitor. Scale. Automate. Windows Azure provides an easy-to-use management portal and powerful command-line tools to manage your applications from any platform. Create a virtual machine running Windows Server 2008 R2 Creating a virtual machine running Windows Server is easy when you use Windows Azure Management Portal. With no prior experience, you can easily create a Windows Azure virtual machine running Windows Server that you can then access and customize. Deploy a SQL Server virtual machine With the image gallery in the Management Portal, you can quickly create a virtual machine in Windows Azure running Windows Server 2008 R2, Service Pack 1 (64-bit) and a complete 64-bit installation of SQL Server. Create a virtual machine running Linux Creating a virtual machine running Linux is easy when you use the Windows Azure Management Portal. With no prior experience, you can easily create a Windows Azure virtual machine running

Getting started on Windows Azure with .NET and Visual Studio.

Image

Oracle Commands.............!!!!!!!!

SQL.RELEASE Oracle Version show release SQL.SQLCODE Current error code show sqlcode SQL.USER Currently connected user show user List SQL*Plus Parameters show all SQL> show all CONN as SYS CONN <logon> AS <SYSDBA | SYSOPER> conn / as sysdba conn sys@orabase AS SYSDBA Define / Undefine SQL*Plus: Release 10.1.0.2.0 - Production on Fri Nov 19 15:20:10 2004 Copyright (c) 1982, 2004, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production With the Partitioning, OLAP and Data Mining options SQL> DEFINE _CONNECT_IDENTIFIER DEFINE _CONNECT_IDENTIFIER = "ORABASE" (CHA

How to Connect Oracle Client to Oracle Server........!

Procedure Start Oracle Net Configuration Assistant. On the Welcome page, select Local Net Service Name configuration and click Next . On the Net Service Name Configuration page, select Add and click Next . On the Net Service Name Configuration, Service Name page, type RICM and click Next . On the Net Service Name Configuration, Select Protocols page, select TCP and click Next . On the Net Service Name Configuration, TCP/IP Protocol page, enter the host name and use default port number 1521 unless it has changed. Click Next . On the Net Service Name Configuration, Test page, select Yes, perform a test and click Next . For the first test, if the connection fails, click Change Login , and provide the new user name and password. Then, repeat the test. After the test connects successfully, click Next . On the Net Service Name Configuration, Another Net Service Name page, select No and click Next . On the Net Service Name Configuration Done page, click Next . C

Procedural vs object-oriented programming languages?

Procedural language fallows TopDown approach , that means flow starts from main and goes through functions ./ function calls. Object Oriented Programming fallows Bottom Up approach, That means.. everything is wrapped in object / classes, so these classes are building blocks of your application . So Classes with data, members joined will constructs your application with Object communication / messaging. and also OOPS has many benifits like Data Abstraction, Inheritance, Polymorphism (compile & runtime) etc.

Linux Server Types

Linux Server Types The types of services that we typically configure Linux servers to provide include: Linux Internet Servers Web - Apache HTTP Server, Apache Tomcat Databases - MySQL, PostgreSQL, Oracle Programming and scripting - PHP, Java, Perl, JavaScript, CSS, XHTML, Bash FTP - ProFTPD, Pure-FTPd, vsftpd SMTP (outgoing email) - exim, postfix, qmail, sendmail POP3 and IMAP (incoming email) - qpopper, UW IMAP, Courier-IMAP DNS (Domain Name System) - BIND, djbdns Web control panels - cPanel and WebHost Manager, Plesk, DirectAdmin, Webmin Linux Virtualization VMware ESX, ESXi, VMware Server Xen - Amazon EC2 Cloud, Citrix XenServer User Mode Linux (UML) Manage Large Networks (MLN) Linux Remote Access SSH (Secure SHell) - OpenSSH VNC (Virtual Network Computing) X Window System (X.Org, X11) OpenVPN Linux Security Network monitoring - SNMP, Nagios, Big Brother/Hobbit, MRTG, Cacti SSL/TLS encryption - OpenSSL, stunnel Intrusion Detection Systems (IDSs

Basic Linux Commands

mkdir - make directories Usage mkdir [OPTION] DIRECTORY Options Create the DIRECTORY(ies), if they do not already exist.  Mandatory arguments to long options are mandatory for short options too.  -m, mode=MODE  set permission mode (as in chmod), not rwxrwxrwx - umask  -p, parents  no error if existing, make parent directories as needed  -v, verbose  print a message for each created directory  -help display this help and exit  -version output version information and exit cd - change directories Use cd to change directories. Type cd followed by the name of a directory to access that directory.Keep in mind that you are always in a directory and can navigate to directories hierarchically above or below. mv