Skip to main content

Posts

Showing posts from October, 2013

What is (Computer) Networking?

In the world of computers, networking is the practice of linking two or more computing devices together for the purpose of sharing data. Networks are built with a mix of computer hardware and computer software. Area Networks Networks can be categorized in several different ways. One approach defines the type of network according to the geographic area it spans.Local area networks (LAN), for example, typically span a single home, school, or small office building, whereas wide area networks (WAN), reach across cities, states, or even across the world. The Internet is the world's largest public WAN. One way to categorize the different types of computer network designs is by their scope or scale. For historical reasons, the networking industry refers to nearly every type of design as some kind of area network. Common examples of area network types are: LAN - Local Area Network WLAN - Wireless Local Area Network WAN - Wide Area Network MAN - Metropolitan Area Network SAN -

What's different between Ctrl+Z and Ctrl+C in Unix command line?

Control + Z  is used for suspending a process by sending it the signal  SIGSTOP , which cannot be intercepted by the program. While  Control + C  is used to kill a process with the signal  SIGINT , and can be intercepted by a program so it can clean its self up before exiting, or not exit at all. If you suspend a process, this will show up in the shell to tell you it has been suspended: [1]+ Stopped yes However, if you kill one, you won't see any confirmation other than being dropped back to a shell prompt. When you suspend a process, you can do fancy things with it, too. For instance, running this: fg With a program suspended will bring it back to the foreground. And running the command bg With a program suspended will allow it to run in the background (the program's output will still go to the TTY, though). If you want to kill a suspended program, you don't have to bring it back with  fg  first, you can simply do the command: kill %1 I

How to copy Oracle database from one server to another server?

How do I copy Oracle Database from one server to another server? Defenitely there will be a need to copy Production Oracle DB at Demonstration/Training, QA/Acceptance or Development environment. Most of the times we will be using Oracle Export utility. step-by-step how to copy database to another server. Note: you may want to change DB name while copying it to another destination. This case does not change the procedure much and steps required to do so will be specially highlighted in the article. Also, you may want to change Oracle DBID of the Database. the reason is that Recovery Manager (RMAN) distinguishes databases by DBID, you could not register a seed database and a manually copied database together in the same RMAN repository. For changing Oracle DBID for a database please refer to the corresponding HOWTO. OK. Here we go. We will imagine a situation when you need top copy PRO (production) DB into TST (test) DB on test server... 1. Instance service creation. (If you

Step by Step Upgrading Oracle 10g to Oracle 11g

Pre-Requisite: You should have the Oracle database 10g, which you want to migerate. Also here we are upgrading to Oracle Database 11g – Beta 6 (11.1.0.6) Step 1) Installing Oracle 11g Home We cannot upgrade the existing Oracle Home, since 11g is not a patchset. We have to install 11g oracle home as a seperate ORACLE_HOME in parallel to 10g Oracle Home. Example my 10g Oracle Home is : /u01/app/oracle/oracle/product/10.2.0 then my 11g Oracel Home is : /u01/app/oracle/oracle/product/11.1.0 Just a parallel 11.1.0 directory can be created and we can install oracle home in this location. Start the installation using the below command ./runInstaller -invPtrLoc /u01/app/oracle/oracle/product/11.1.0/oraInst Screen 1 – Select Product Install select “Oracle Database 11g” Screen 2 – Select Installation Method Choose “Advanced Installation” Screen 3 – Specify Inventory directory and creditials Note: We are providing local inventory here inside the corresponding ORACLE_HOME l

How to mount Amazon EBS Volume ?

Amazon instance that does not have a volume attached as root (/dev/sda1) will not allow you to start the instance. Login to the AWS account and go to the Elastic Cloud Compute[EC2] section and go to  Volumes (under the Elastic block store) then right click on your volume, attach, select your instance, then type /dev/sda1 in the textfield. Now you can able to start your Instance without any issues.

List of FTP commands for the Microsoft command-line FTP client

Command-line options As you're starting the program from a DOS prompt: ftp [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [computer] -v  - Suppresses  verbose  display of remote server responses. -n  - Suppresses auto-login upon initial connection. -i  - Turns off interactive  prompting  during multiple file transfers. -d  - Enables  debugging , displaying all ftp commands passed between the client and server. -g  - Disables filename  globbing , which permits the use of wildcard chracters in local file and path names. -s:filename  - Specifies a text file containing ftp commands; the commands will automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>). -a  - Use any local interface when binding data connection. -w:windowsize  - Overrides the default transfer buffer size of 4096. computer  - Specifies the computer name or IP address of the remote computer to connect to. The computer, if sp