Disclaimer:-Every thing provided on this website is only for Educational purposes and Author "Ramiz Khan" is not responsible for any damage done.

Ramiz Khan

Ramiz Khan : September 2012facebook.com/ramiz.khan.98478
Contact -E-mail: ramiz.khan.16@gmail.com

Search This Blog

Saturday, September 1, 2012


Oracle 11gR2 Installation On Redhat Linux 5


This article covers step-by-step installation of Oracle 11g R2 database software on Redhat Enterprise Linux 5 or Enterprise Linux 5 shipped by Oracle Corporation.

Pre-Installation Requisites

1. Create oracle User Account and Directories

As a root user create oracle user and groups: oinstall, dba, asmdba and asmadmin.
#groupadd dba
#groupadd oinstall
#groupadd asmdba
#groupadd asmadmin
#useradd -g oinstall -G dba asmdba asmadmin oracle
Create the directories in which the Oracle software will be installed:
mkdir -p /u01/app/oracle/product/10.2.0/db_1
chown -R oracle.oinstall /u01

2. Setting System parameters

Add following lines to /etc/sysctl.conf file.
#vi /etc/sysctl.conf
The shmall parameter defines the maximum amount of shared memory that may be in use at any time on the system
kernel.shmall = 2097192
kernel.shmmax = 536870912
The shmmni parameter defines the maximum number of shared memory segments across the system
kernel.shmmni = 4096
semaphores: semmsl, semmns, semopm, semmni
Here ,
semmsl: Maximum number of semaphores per set
semmns: Total number of semaphores in the system
semopm: Maximum number of operations per semop call
semmni: Maximum number of semaphore sets
kernel.sem = 250 32000 100 128
Maximum no of open files on Linux
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048576
Now run the sysctl-P command to apply above settings to change the current kernel parameters.
#/sbin/sysctl -p
Add following line to /etc/pam.d/login file.
#vi /etc/pam.d/login
session required pam_limits.so
To set system resource limits edit the /etc/security/limits.conf file and add following lines.
#vi /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

3. Set Oracle Environment

Login as the oracle user and add the following lines at the end of the .bash_profile file.
#su oracle
$vi ~/.bash_profile
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=localhost.oracle.com; export ORACLE_HOSTNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_SID=DB11G; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi
Save the .bash_profile file and run following commands to load new environment.
#cd /home/oracle
. .bash_profile
Now check current status of SELinux:
#/usr/sbin/getenforce
If the output is “Enforcing” then change mode to “Permissive” using following command:
#/usr/sbin/setenforce 0
To have this change after next reboots modify the /etc/sysconfig/selinux and change the value of SELINUX to permissive or disabled:
SELINUX=permissive

Download & Install

1. Download and install required .rpm packages

For successful installation of oracle on Linux some additional packages are required.
Install the following packages.
#cd /media/cdrom/Server
#rpm -Uvh setarch-2*
#rpm -Uvh make-3*
#rpm -Uvh glibc-2*
#rpm -Uvh libaio-0*
#pm -Uvh compat-libstdc++-33-3*
#rpm -Uvh compat-gcc-34-3*
#rpm -Uvh compat-gcc-34-c++-3*
#rpm -Uvh gcc-4*
#rpm -Uvh libXp-1*
#rpm -Uvh openmotif-2*
#rpm -Uvh compat-db-4*

2. Extract downloaded software of the Oracle 11g release 2from Oracle website

#unzip linux.x64_11gR2_database_1of2.zip
#unzip linux.x64_11gR2_database_2of2.zip

3. Start the Oracle software installation process

Now the system is prepared for Oracle software installation. Log into the oracle user and Start the Oracle Universal Installer (OUI) by issuing the following command in the database directory
$cd ~oracle/orainstall/oraclefolder
$cd database
$./runInstaller

Google Started World’s Fastest Internet Connection : 1GB per Second



Google, The biggest player of Internet World again in news for it’s latest invention. Internet giant Google has started world’s fastest Internet service called “Google Fibre” and the speed of this world’s most fastest  internet connection is more than any normal person can even think,  Google unveiled the world’s fastest internet connection through its ultra-high speed service, offering lightning fast access of one Gigabyte per second (1GB/second). The best search engine unveiled its ultra-high speed Google Fiber service in Kansas City, Missouri, and it hopes to roll out the service to other cities soon.
 Reason behind that ultra speed is the service which uses optical fibre to deliver speeds far in excess of traditional web services, the offered speed is faster than almost anywhere else on Earth. Users can choose to use a tablet or smartphone as a voice-activated remote control.Google is offering its Nexus 7 tablet with the Google TV app for early users of the service.
 Features of Google Fiber

Google Fiber includes awesome features like the ability to record eight TV shows at a time and store up to 500 hours of high definition programming ,Google Fiber’s ultra high-speed connections and television allowing users to search live channels, Netflix, YouTube, recorded shows and tens of thousands of hours of on-demand programming. Google Fiber includes more than 100 networks and costs $120 a month for a package of TV and Internet, if offers 1 GB per second Internet speeds and 1 (TB) Terabyte for cloud storage.

General manager of Google Access, Kevin Lo said ‘Google is a very different company and this is not a short term project.’ Google also intends to roll out product packages for businesses, but would not provide details, officials said they are confident, Kansas City will be a showcase of success for a larger rollout. They explained now there is no need to wait, a movie of 1 GB will be downloaded in just one click, this is something on which many can’t believe, and it really sounds good.

According to Google executives, Charges for fastest Internet Connection : Consumers have to pay $10 to register their household online for service. About 50 ‘neighbors’ will need to register in order for their area to be eligible for installation services.

MAC ADDRESS SPOOFING



An approach to introduce people with the truth of HACKING", Today in this post I'll tell you how can you how can you spoof your MAC address. Every Network Interface Card 
(NIC) or network adapter in this world, is given a unique MAC address or Media Access Control Address. This number is given by the manufacturer and identification purpose.
Usually MAC address is written as 12 digit hexa decimal number. For example 00-45-32-K5-D7-23.
If you computer has an Ethernet network adapter or a wireless network adapter, then each of them will have two different MAC address.
On windows computer if you want to find out the MAC address of your network adapter then open command prompt and type ipconfig /all  

MAC ADDRESS SPOOFING

MAC address spoofing is a art of changing your MAC address. You can easily change your MAC address with the following steps.
  • Download one of my favorite command line tool called Ether Change(Download)
  • Go to command prompt and type ipconfig /all for checking your current MAC address.
  •  Run etherchange tool from command line to change your mac address.

  •  Select the network adopter with their assigned number and write new12 digit hexa decimal MAC address without any space, Press enter. Your MAC address is now changed.

Spider Cloud Computing Device



This 100% cloud computing device can be used as a phone or messenger.Unfold its legs so that you can place it in a flat surface and can be used as a computer with a projected screen and a laser keyboard.When unfolded it can be used as a phone having a circular LCD display with graphic interface. 





BECOME A ROBOTICS ENGINEER

What is Meant by Robotics :
• Robotics deals with the design, making and application of robots
• Robots are automated machines used in place of humans in many works like manufacturing, quality control, bomb diffusing etc.
• A Robot can do large amounts of work quickly, efficiently and more economically than human beings.
Robots and their uses:
Mobile Robots:
• Mobile robots are nothing but moving robots used for material transportation in large industries , patroling in space research etc.

Space robots:
• These robots are sent into space for reasearch, environmental state of planets, satellites, stars etc. like the Mars rover.
Industrial robots:
• These robots are used in industries for manufacturing works like welding, material handling, painting, assembling etc.
Military robots:
• These robots are used in military for bomb diffusal, target bombing, rescue process etc.
Telerobots:
These robots are used for works which are dangerous for humans like construction of spaceships, maintenance of satellites, development of space station etc.
Domestic or household robots:
This type of robots includes many quite different devices such as robotic vacuum cleaners, robotic pool cleaners, sweepers, gutter cleaners etc. for household purposes.
Medical robots:
These robots are used in pharmaceuticals, hospitals, medicine and medical institutions for medical treatments, surgeries etc.
Service robots:
These are robots that don’t fall into other types by usage. These could be different data gathering robots, robots made to show off technologies, robots used for research, etc.
Entertainment robots:
These are robots used for entertainment like toy robots such as robosapien or the running alarm clock etc.
Robots in agriculture:
There are many robots that are still in an experimental stage and have been used in agricultural field such as to gather harvest, plant seeds and transplant seedlings, pick apples, etc.
Research robots:
These robots are used in research laboratories for various labour and life saving works of scientists.
Swarm robots:
These robots have the behavior of swarms (a group of bees/ants) of thousands of tiny robots which together perform a useful task, such as cleaning, finding something hidden, or spying.
Nano robots:
These robots will be of nano size (10-9 metres) used for micro surgery (on the level of individual cells), manufacturing, weaponry and cleaning. Researchers are also trying to create entire robots as small as viruses or bacteria, which could perform tasks on a tiny scale.
CAREER IN ROBOTICS:
Study Period Long
Complexity of Study High
Academic Fees High
Competition level for Admission High
Job Offerings Medium
Salary and Employment Benefits High
Future Career Scope High
Job Complexity High
Job Satisfaction High
Work of technicians and engineers vary by location and specialization like electrical, electronics, mechanical, chemical etc.
Robotics engineers and technicians are responsible for designing, creating, testing and troubleshooting problems with their robots.
Robotics Engineers are most important employees in making of robots. Their work includes
• Working on computers (both software and hardware)
• Problem solving and analysing
• Drafting and layout drawing of all parts and specifications
• Thinking creatively
• Communication with coworkers and computers and so on.
Importance Of School Subjects For Robotics :
Languages:
• Every work in this world needs communication with different people to get successful, so as robotics.
• You have to study atleast below mentioned languages at school level.
• English, intenational language used for communication throughout world.
• National language (Hindi in India), to communicate with people inside country who don’t know english (less educated people)
• Any optional local languages (Urdu, sanskrit, telugu, bengali etc.), to communicate with people of particular region of country who don’t know english and hindi (usually labour and poorly educated).
Science:
• This subject teaches you basics of principles of nature which makes you understand every consept in robotics in further studies.
Mathematics:
• Mathematics is used every where in life right from daily life counting to problem solving and analysing in robotics.
Social Sciences:
• This subject will teach you about society, culture, ancient living etc. which helps you to understand what kind of robots are necessary, why and where.

Converting from Dynamic to Basic Hard Disk


Converting to a dynamic disk is intended to be a one-way process. It is only possible to convert a dynamic disk back to a basic disk at the expense of losing all your data. If it is necessary to convert a dynamic disk back to a basic disk you should back up your data and delete all the volumes on the disk. You can then convert the disk to basic and restore your data.
You must remove all volumes (and therefore all data) from a dynamic disk before you can change it back to a basic disk. After you convert a dynamic disk back to a basic disk, you can only create partitions and logical drives on volumes, striped volumes, dynamic RAID-5 volumes, or spanned volumes, respectively.
After being converted from a basic disk, a dynamic disk can no longer contain partitions or logical drives and the only operating systems which can access it are Windows Server 2003, Windows 2000, or Windows XP Professional. To convert a dynamic disk back to a basic disk, perform the following steps:


Convert a Dynamic to a Basic disk from the Windows 07 command line.
  1. Open a command prompt window, type diskpart, and press Enter.
  1. Type commands or help to view a list of available commands.
  1. Type select disk 0 to select the first hard disk, select disk 1 to select the second hard disk etc. and press Enter.
  1. Type convert basic and press Enter.
  1. Type exit to quit diskpart.exe, then restart the computer to have the new configuration take effect.

"Aw, Snap!" For Google Chrome


Issue

You may see the "Aw, Snap!" message if a webpage crashes unexpectedly.

Solutions

If a webpage crashes unexpectedly, you can simply reload the page. If you're seeing the "Aw, Snap!" message for every page you visit, try the solutions below:

Check your anti-virus and firewall applications


Some anti-virus or firewall applications, such as Symantec Endpoint Protection, can prevent Google Chrome from working properly. Test whether such applications on your computer are causing the error by turning them off temporarily. Then try opening Google Chrome again. If you are able to open the browser, you'll need to create an exception in your anti-virus or firewall settings for Google Chrome. Once you've done so, you can then re-enable the applications.
Conflicting applications that users have reported include the following:
  • Spyware Doctor
  • Comodo firewall
  • McAfee Enterprise
  • McAfee Virus Scan

Check your extensions


Try disabling your extensions one by one to see if a particular extension is causing the problem.
  1. Click the wrench icon wrench menu on the browser toolbar.
  2. Select Tools.
  3. Select Extensions.
  4. On the Extensions page, click Disable for the extension you'd like to temporarily remove.
Go back to your list of extensions at any time to re-enable disabled extensions. You may need to refresh the page in order to use extensions you've re-enabled. Learn more about managing your extensions.

Check for malware


Use the latest version of AVG anti-virus software to check your computer for malware. Learn more aboutremoving malware from your computer 

Create a new user profile


If the browser continues to display the "Aw, Snap!" message, your user profile may be corrupted.
To create a new user profile, follow these steps:
  1. Exit Chrome.
  2. Find the "Default" folder. It's usually located in the following locations:
    Windows
    • Windows XP: %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User Data\
    • Windows Vista and Windows 7: %LOCALAPPDATA%\Google\Chrome\User Data\
    Mac OS X~/Library/Application Support/Google/Chrome/Default
    Linux~/.config/google-chrome/Default
  3. Rename the folder as "Backup default."
  4. Restart Chrome.