Oracle Solaris 11.4 Virtualization
In this tutorial, we’re going to look at the prerequisites that we need for our installation process, either it’s hardware or software. We’ll cover prerequisites of Oracle VirtualBox, Oracle Solaris 11.4, Oracle grid infrastructure 18c, Oracle Database 18c, and Oracle JDeveloper 12c.
So, We’ll begin by requirements that we need to install Oracle VM VirtualBox on your machine. The most important thing is, Be sure that your machine CPU supports SSE2. SSE2 refers to Streaming SIMD Extensions 2, and SIMD is an abbreviation for a protocol known as “Single Instruction, Multiple Data.” That is an instruction set designed by Intel. It gives programs the language they need to perform operations on data stored in a central processing unit or CPU.
Examine your machine CPU if it supports SSE2 or not, that it’s straightforward. First, we need to download the CoreInfo tool. Then select Download Coreinfo. Once Coreinfo has been downloaded, unzipped the file into any location on your drive. Next, open the command prompt window on windows, terminal on Mac or Linux. Then, navigate to the Coreinfo directory and type Coreinfo.exe and hit enter on windows command on Mac. Our screen shows a map of the OS-visible processors that correspond to the specified resources, with ‘*’ representing the viable processors. So, Let’s looking for SSE2. That it’s, and it supports by my CPU. Now, I’m sure to have prerequisites that allow me to install VM VirtualBox on my local machine.
The next requirement we need to check is about Oracle Solaris 11.4. Oracle Solaris 11.4 supports x64 CPUs, either the Intel EM64T or AMD AMD64 processors. Oracle Solaris 11.4 requirements at least 13 GB of disk space for the Solaris desktop installation package and 9.5 GB for setting up package repository on a local server.
Oracle Solaris 11.4 requirements at least 4 GB of RAM at minimum system memory for the installation process. And about display cards, we need at least 1024 by 768 display resolution. For more information, you can check this link. The next requirements about Oracle Grid Infrastructure 18c, and as we see, support the installation on Solaris operating system versions 11.3, 11.2, 10, or later.
Any installation on other operating systems is out of the scope of this course. Oracle Grid Infrastructure 18c needs at least 12 GB of disk space for the installation process plus 9 GB for Oracle Database Enterprise Edition. The minimum (RAM) requirement for installing Oracle Grid Infrastructure 18c is 8GB. And finally, we need at least 1024 by 768 display resolution for the insulation process. The next requirements are about the Oracle Database 18c. Oracle Database 18c also supports installation on Solaris operating system versions 11.3, 11.2, 10, or later.
It needs 6.3 GB of disk space for Oracle Grid Infrastructure standalone server, as we’ll see later, plus 7.6 GB for Database installation. Also, it needs at least 1GB of RAM just in case you intend to install only the Oracle database.
But that is not available in our course because we’re going to make more of the installation and configuration process.
And at the end, we need at least 1024 by 768 display resolution for the installation process.
The last requirements about Oracle JDeveloper 12, the most common powerful integrated IDE for building different types of applications.
It needs CPU Intel Core 2 i5 or equivalent, Java Development Kit 8 or higher, 3 GB space for installation plus 90 MB of java, 4 GB of RAM, and 1024 by 768 for display resolution.
In the end, I display the configuration of my machine in case you need to follow this course with the same aspects.
For installing the Oracle Solaris 11.4 on Oracle VM VirtualBox, we have to download the VirtualBox software version that matches your operating system.
So, I’ll go to the official Oracle website, https://www.oracle.com/index.html, downloads, IT Infrastructure and then select VM VirtualBox. And from here, you could select your version that fit suitable with your operating system. I’m here on windows, so I’ll select windows installer 64 bit. I’ve already downloaded on my desktop here. It’s a straightforward setup, only double click the application file and follow the instruction wizard setup. Next, we need to download Oracle Solaris 11.4 software. So again, on the official Oracle website, select downloads, IT infrastructure, then select Solaris 11.
In the Oracle Solaris Downloads page, select installation from CD/DVD or USB link. Accept license agreements. Then select x86 Text Installer version. Once the download has finished, save the iso image file on a known place on your pc. I’ve already downloaded and saved it on drive c under Downloads directory under Solaris Software subdirectory.
Finally, we need to download an application is called Xmanager Power Suite. Actually, It contains three applications in one package Xshell (a powerful terminal emulator that supports SSH1, SSH2, SFTP, TELNET, RLOGIN, and SERIAL.), Xftp (a flexible SFTP/FTP client for transferring files securely over a network.), and Xmanager ( the program that runs X windows applications).
You could get all of these files from the official website https://www.netsarang.com or by looking for on google search engine. Simply typing (x manager power suite 6 download) on a google search engine, then many links will appear you can select any one of them. I’ve already downloaded on my desktop here. Double click and follow the instruction setup. Now, we’ve installed the Oracle VM VirtualBox and X manager power suite and, we’re ready to create a new Solaris Virtual Machine.
In this lesson, we’re going to create a new Solaris virtual machine. So, I’ll begin by opening the Oracle VM VirtualBox. I’ve created one before.
It’s called Solaris. So, let’s create a new one by clicking the new icon here.
The new virtual machine window will pop up.
I’ll give a name to a new virtual machine.
Let’s call Solaris 11.4.
In the type, be sure to select Solaris.
And in version, select Oracle Solaris 11 64bit.
And click next.
We’re going to set the memory size to be 8GB and click next.
Then, accept the default and click create.
In the hard disk file type window, accept the default.
The file will be a disk image and click Next.
In the storage type, accept the default option dynamically allocated and click next.
Here we’re going to locate where to save the new virtual hard disk file system on your computer.
For me, I’ll save it on drive E under Solaris 11.4 directory.
Also, we need to set the size of the file to be 70GB and then click create.
A new VM file has created on my computer.
Now, we have to make some configuration on the VM file.
So, I’ll select the setting icon on the VirtualBox toolbar.
On the setting dialog window, select system, and on the motherboard tab, reorder using up and down arrows for changing the bootloader sequence to make Hard Disk first, optical second, and then floppy.
On the storage tab, select the optical empty storage device and set the optical drive to the Solaris source image file downloaded in the previous lesson.
Finally, on the network tab, be sure that the network adapter is enabled, and select the bridged adapter with the name of your network on your machine.
Click ok, and now we’re ready to install Solaris.
In this lesson, we’re going to install Oracle Solaris 11.4 system on VM VirtualBox.
So, you only just need to click on that green arrow labeled start.
The system starts booting Oracle Solaris 11.4 and extracting the system files.
After the system has been done amounting the image file, It’s asking for the keyboard layout.
I’ll accept the US keyboard as a default keyboard and pressing enter on windows command on mac.
Next, it’s asking for language.
Again, I’ll accept the English language as a default language and pressing enter on windows command on mac.
Now, it’s asking me to select one of the five options.
By sense, We’ll select the first option, which is installing Oracle Solaris.
But before that, we need first to fix the following issues that might occur during or after the installation of Oracle Solaris 11.4.
If a message like that appears on the console in the menu selection screen, Oracle Solaris is not running with Spectre Vulnerability Mitigation Enabled.
First, shut down, VM.
Second, enabling Spectre vulnerability mitigation by running the following command inside the CMD on windows, terminal on Mac, or Linux.
And finally, restart the VM again.
===================== need test ============
On first boot, the welcome screen runs, prompting that the installer allows you to install Oracle Solaris on SPARC or x68 system.
Also, It indicates that the installation log file will be under the system directory under a volatile subdirectory with the name install_log.
Finally, It gives some information about how we can navigate using the function keys at the bottom of each screen.
So, I’ll press F2 to go next screen.
In this screen, we should specify which type of disk will be used for the installation process.
In our case, we’re using the local disk, not iSCSI.
So, I’ll accept the default and press F2 to continue.
Here, we need to specify the disk that we will use for the installation process.
We have only one, so I’ll accept everything and press F2 to continue.
Here, It tells me if I want to install Oracle Solaris on the entire space of the hard disk or use the GPT (GUID Partition Table) partition to define a limit space.
Again, I’ll accept the default, using the entire disk space and press F2 to continue.
Here, In the system identity screen, we need to specify a name for this computer.
Let’s give it the name solaris and press F2 to continue.
Here inside the Network configuration screen, you should select the network connection to configure.
So, I’ll select net0 and press F2 to continue.
About the Network configuration method, we should select the Static method, not the DHCP method, because we’re going to use our own static IP for connecting to the server by using the Xshell program, as we’ll see later.
Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically assign an IP address to a computer from a defined range of numbers (that is, a scope) configured for a given network.
Now, We’ll append our static IP. It’s 192.168.1.20 and F2 to continue.
Also, we need to configure DNS if you want to use the internet.
If you don’t, you can ignore this configuration and select do not configure DNS.
So, I’ll select configure DNS and press F2 to continue.
Here, I’ll append the DNS Server, 126.96.36.199 and 188.8.131.52, and press F2 to continue.
This screen displays the domain name associated with the DNS server configured in the previous screen.
Press F2 to continue.
In this screen, It prompts if we need to configure an alternate name service.
Select None, and press F2 to continue.
Next will be three screens to set the time:
– Set the region.
– Set the country.
– Set the time zone.
Here, I’ll select Africa and press F2 to continue.
Here, I’ll select my locations in Egypt and press F2 to continue.
Here, It is confirming me what I have selected on the previous two screens.
Press F2 to continue.
Here, I’ll set the local language to English and press F2 to continue.
Here, I’ll set language territory to Unicode UTF-8 and press F2 to continue.
If you want to know more about the language territory, you can check this link https://docs.oracle.com/cd/E23824_01/html/E26033/toc.html.
Here, I’ll set the date and time and press F2 to continue.
Here, I’ll set the keyboard to US English and press F2 to continue.
Here, It prompts to set the password.
Make sure you enter the root password.
You will log in through the root account.
We do not need to create a user account now, later, when creating groups and users.
Press F2 to continue.
Here, you can put an email for support if you wish.
For me, I’ll remove this example anonymous email and press F2 to continue.
Finally, It gives us the installation summary.
You can check it.
If you found anything that needs to change, you can back by using F3 and make your changes.
Now, everything is ready for installation.
Just press F2 to begin.
The installation process will take a while.
Once the installation process has been done, the system will reboot automatically.
Until this time, see you in the following video.
In this lesson, we’re going to complete the installation process of Oracle Salaries 11.4.
We’ll begin by login into our system by using the root account.
Then, we need to give the root user permission to access the ssh (Secure Shell) by modifying the sshd_config file.
SSH is a program for logging and executing commands on a remote machine.
So, I’ll type vi (editor command) /etc/ssh/sshd_config and press enter.
Then, I’ll be looking for a keyword that starts with a permit.
Now, I’ll change the value of the PermitRootLogin argument to be yes.
Press escape, colon, x, enter to save changes and exit.
Next, we need to restart the ssh and network services.
So, I’ll type the svcadm command, one of the system administration commands for manipulating service instances, followed by the subcommand restart, then the network service.
In the same way, we’ll restart the ssh.
So, I’ll type the svcadm command followed by the subcommand restart, then the ssh and press enter.
And now, we’re ready to connect our VM remotely by using the Xshell program.
So, I’ll open it.
I’ll log in to the root user by using the ssh command followed by the static IP address configured during the installation process.
It’s 192.168.1.20, and press enter.
Now, it prompts the username.
I’ll type root and press ok.
It prompts for the password.
I’ll type my password and press ok.
Now, we’re connected to a VM machine remotely.
And, we can use the following command for displaying the internet host table.
Cat command for displaying file contents followed by slash, hosts, and press enter.
# cat /etc/hosts
And as you see, it displays the name of our hosting with its static IP.
Also, you can use the following command for the same result.
Again, I’ll start with cat command followed by a slash,inet, slash, hosts, and press enter.
# cat /etc/inet/hosts
It gives the same result.
Finally, for more system administration commands, you can check this link “https://docs.oracle.com/cd/E18752_01/html/816-5166/docinfo.html”.
Thanks for watching.
See you in the next lesson.