- Oracle linux apt get
- Installing Oracle Database XE on Debian, Ubuntu, and Kubuntu
- Catch-all disclaimer: These steps worked for me on my configuration; they might not work on yours.
- Oracle Database XE
- Known gotchas and workarounds FAQ:
- Birth of a .deb Package
- Пара слов про установку Oracle на Ubuntu
- ChapterВ 3В Installing Oracle Linux Manually
- 3.1В Performing Graphics-Based Installations
- 3.1.1В Starting the Installation
- 3.1.2В Setting Localization Options
- Adding Keyboard Layouts
- Adding Language Support
- Setting the System Time
- 3.1.3В Setting Software Options
- Selecting the Source of the Installation Image
- Selecting the Software to Install
- 3.1.4В Setting System Options
- Choosing Where to Install the Software and Configuring Storage
- Configuring Kdump
- Configuring Network & Host Name
- Setting the Security Policy
- 3.1.5В Configuring User Settings
- 3.1.6В Completing the Installation
- 3.2В Performing Text-Based Installations
Oracle linux apt get
По Вашему запросу ничего не найдено.
Рекомендуем сделать следующее:
- Проверьте правильность написания ключевых слов.
- Используйте синонимы введенных Вами ключевых слов, например “приложение” вместо “программное обеспечение”.
- Попробуйте воспользоваться одним из популярных поисковых запросов ниже.
- Начните новый поиск.
Installing Oracle Database XE on Debian, Ubuntu, and Kubuntu
By Todd Trichler
What happens when you try to install Oracle Database XE Beta on a new Linux distribution? You learn a whole lot!
Updated August 2007 — LinuxWorld Mexico Installfest
In my day job I get to work with .rpm-based Linux distros quite a bit in the form of RHEL, SLES, and Asianux. Recently I noticed that the Oracle Database XE doc mentions support for Debian. My sum experience with this could best be described as vicarious, having never before installed Oracle on a .deb-based distro.
What follows is one man’s walk through the technical steps to install the beta of Oracle Database XE on Kubuntu 5.10 Breezy, a Linux distro based on the .deb package format and KDE. The lessons learned and suggestions also apply to Debian, Ubuntu, and other .deb distros.
If you are interested in the «back story» about this journey from the various PHP developers and people who helped along the way, please read the sidebar.
Update (March 2006): With Oracle Database XE in production, it is even easier to install Oracle on Debian-based distros (thanks to Joel Becker).
There is now an apt-get repository up on oss.oracle.com for XE. Just add:
deb http://oss.oracle.com/debian unstable main non-free
to /etc/apt/sources.list and then:
# wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add — # apt-get update # apt-get install oracle-xe ‘libaio’ and ‘bc’ are in the repository, so dependancies will pull them in if the user doesn’t have them. (Note: You will need to ‘sudo’ or have ‘root’ privileges to install XE.)
Catch-all disclaimer: These steps worked for me on my configuration; they might not work on yours.
Download an iso of Kubuntu Breezy version and burn an install disc.
Do a standard install of Kubuntu. When prompted on the partioning choose «Erase entire HD and use LVM».
Do not set any of the kernel parameters because the latest beta versions of XE are supposed to check the parameters and increase them if neccessary. (Note: If you are using an older beta you will want to check those; better still, download the latest version.)
Confirm that the pre-requisite (glibc and libaio equivalent) libraries are installed. On Kubuntu and Ubuntu they are called «libc6» and «libaio1». (I used Adept, the new GUI package management tool, to install libaio1; libc6 was already installed.) As Wim Coekaerts described in his podcast on the subject, currently you need to use Debian unstable to get the equivalent packages, but in the future with Debian sid they would just be included.
As _root_ began installing the latest available Oracle XE beta:
# cd /home/todd/Desktop root@kubuntu:/home/todd/Desktop# ls DapperDevStatus02-Feb-2006.pdf oracle-xe_10.2.0.1-0.060128_i386.deb trash.desktop root@kubuntu:/home/todd/Desktop# dpkg -i oracle-xe_10.2.0.1-0.060128_i386.deb Selecting previously deselected package oracle-xe. (Reading database . 58594 files and directories currently installed.) Unpacking oracle-xe (from oracle-xe_10.2.0.1-0.060128_i386.deb) . This system does not meet the minimum requirements for swap space. Based on the amount of physical memory available on the system, Oracle Database 10g Express Edition requires 1006 MB of swap space. This system has 799 MB of swap space. Configure more swap space on the system and retry the installation. dpkg: error processing oracle-xe_10.2.0.1-0.060128_i386.deb (—install): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: oracle-xe_10.2.0.1-0.060128_i386.deb root@kubuntu:/home/todd/Desktop#
Note: I would not recommend using these types of commands to add swap unless you either understand what they are doing, or you trust the person who has recommended the fix and they are familiar with your system. Better still, add enough swap to start with. Well placed sources tell me that by the time Kubuntu 6.04 Dapper goes production (April 2006?), this might not be an issue.
root@kubuntu:/home/todd/Desktop# dpkg -i oracle-xe_10.2.0.1-0.060128_i386.deb (Reading database . 62016 files and directories currently installed.) Unpacking oracle-xe (from oracle-xe_10.2.0.1-0.060128_i386.deb) . Setting up oracle-xe (10.2.0.1-0.060128) . Oracle Database 10g Express Edition is not configured. You must run ‘/etc/init.d/oracle-xe configure’ as the root user to configure the database. Executing Post-install steps. You must run ‘/etc/init.d/oracle-xe configure’ as the root user to configure the database.
Although it is installed at this point you still need to configure it :
root@kubuntu:/home/todd/Desktop# /etc/init.d/oracle-xe configure
Oracle Database 10g Express Edition Configuration
Oracle Database XE
This will configure on-boot properties of Oracle Database XE. The following questions will determine whether the database should be starting upon system boot, the ports it will use, and the passwords that will be used for database accounts. Press to accept the defaults. Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]: Specify a port that will be used for the database listener [1521]: Specify a password to be used for database accounts. Note that the same password will be used for SYS and SYSTEM. Oracle recommends the use of different passwords for each database account. This can be done after initial configuration: Confirm the password: (* make sure you remember this password *) Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]: y Starting Oracle Net Listener. Done Configuring Database. Done Starting Oracle Database 10g Express Edition Instance. Done Installation Completed Successfully. To access the Database Home Page go to «http://127.0.0.1:8080/apex» root@kubuntu:/home/todd/Desktop#
At this point you can fire up Firefox http://127.0.0.1:8080/apex, login as ‘system’ with the ‘password’ you created during the install, and you should see the XE homepage:
Known gotchas and workarounds FAQ:
Q. Hey, if it’s installed, where are my menu items?
A. With this beta you will find XE’s lost menu items, in the conveniently named Lost & Found. But before you run off to fix the structure with KDE’s menu editor, you might try rebooting. For me, a reboot seemed to refresh the menu structure, offering a more presentable menu.
Q. Minor menu item anomaly after reboot: The refreshed menu still has an extra «Getting Started with XE.» Why?
A. I guess they really want us to get started with XE!
Q. How come my user ‘todd’ can’t start the database using the created menu item?
Q. How come my user ‘todd’ can’t start the database using the created menu item?
A. User ‘todd’ is not a member of the ‘dba’ group. You can add the user by navigating to the System Settings using the adminstrative mode to add user ‘todd’ to the ‘dba’ group.
Q. For some reason, default behavior in Konqueror does not mesh well with XE menu items.
A. the easiest fix here is to use Adept to install Firefox. They have done some work with Firefox recently and it is getting fairly stable on Kubuntu.
Q. Why do I get a ‘bc’ when I install on the Kubuntu server version?
A. The bc errors are because that package is not installed as it is on the dektop version. Either do a#apt-get install oracle-xe from oss.oracle.com to pull in the ‘bc’ package or install it manually before installing XE.
Q. When I install XE on the Kubuntu server version, sometimes the XE menu items show up in Lost&Found. Why?
A. This is because XE expects KDE to be already in place. If you install the Kubuntu server version, first do a #apt-get install kubuntu-desktop firefox and only then install XE ( #apt-get install oracle-xe). The graphical menu items will be correct.
If you have any interesting links about installing XE on other distributions, please post them via the «comments» email. After looking at the differences between the dpkg and .rpm-based systems, my curiousity has gotten the better of me and would like to compare the nuances.
Birth of a .deb Package
When XE came out in 2005 I downloaded the .rpm version and installed it succesfully on RHEL4 and SLES9. Seeing that it also would support Debian-based distros, I decided to try and install it on one. I chose Kubuntu as my target OS, mainly because it is a .deb-based distro that uses my familiar KDE desktop. In my opinion, KDE is easier for newbies and for people with a Windows background. (If you prefer Gnome desktop, you might want to try this on Ubuntu.) The only major problem I have with Kubuntu is that Firefox does not come installed by default.
In November I used the ‘alien’ tool to create a .deb packge from the .rpm version, and was able to install a rudimentary database with lots of errors and mangled menus. When I asked Wim about the menus, he said that Joel Becker on our Linux kernel team was looking into creating a .deb package.
Developers are «territorial»; they like to «mark their ground» and are the best champions of their chosen technologies. Paul Scott, a IT administrator for a South Africa university was minding his own business, sitting with his laptop in a Frankfurt lobby during the International PHP Conference. On his laptop was a Debian and another sticker I had seen being handed out in conjunction with Ubuntu CDs. Turns out that not only is he familiar with Debian’s packaging system, but he has also built packages for Ubuntu64 Linux. At the Installfest we also met Austrian Clemens Fink, who at a previous fest had succesfully installed Oracle Database 10g EE on his own custom-rolled Debian kernel.
Paul and Clemens spent about 4 hours cleaning up the menus on the initial OracleXE.deb alpha version, while I sat marvelling at their ability to navigate the differences between the .rpm menu system that XE had originally been built against and the dpkg system. About 30 minutes into it they had a working version. They then spent the rest of the time «debianizing» it and making sure it was done right or in a «Debian way»—I guess when it is a labor of love and you are working with your chosen technologies, attention to detail comes naturally. Thanks guys!
When I got back to HQ, Joel set up a workspace that we could use to collaborate with them, with Joel getting the latest tar balls from ST. After this six-city, three-continent, multi-culture collaboration and several iterations later, the beta version of oracle-xe_10.2.0.1-0.060128_i386.deb was born.
Источник
Пара слов про установку Oracle на Ubuntu
Не так давно мне нужно было быстро поднять маленькую виртуалку под Linux, чтобы проверить переносимость одного модуля в своем приложении, написанного на Java и вызывающего Oracle SQL Loader через java.lang.Process API.
Поскольку, как известно, Oracle SQL Loader не входит в поставку Oracle Instant Client, то для такой задачи надо или копировать руками нужные библиотеки с машины, где установлен сервер, либо ставить на этой виртуалке полный сервер Oracle.
Установка Oracle Enterprise Edition под Ubuntu это задача не на 5 минут. Полная и точная (по словам автора — я сам пробовал многочисленные похожие инструкции, все равно полностью без ошибок поставить ни разу не удавалось) инструкция находится здесь — www.excession.org.uk/blog/installing-oracle-on-ubuntu-karmic-64-bit.html. Сравните, насколько это геморройнее и сложнее, чем установка того же Oracle EE под Windows — там запустил OUI (Oracle Universal Installer) и следуешь его указанием. Короче, отличный пример протекающей абстракции в Linux среде (хотя, казалось бы, user-friendly дистрибутив) в духе Джоэля Спольски.
Но для Express (XE) версии есть все же человеческое решение.
Оригинал по английки тут — www.varyonic.com/2010/01/installing-oracle-xe-on-ubuntu., и я наткнулся на него не сразу, наверное потому что сначала пытался поставить Enterprise Edition.
Мой вольный перевод на русский:
Oracle XE официально доступен только под x86 системы, хотя, возможно, его можно с помощью бубна, удачи и чьей-то матери поставить и на x64. Требует это чудо природы 512Мб памяти и 1Гб свопа.
Для установки на Ubuntu через apt-get добавьте в файл /etc/apt/sources.list следующую строчку:
deb oss.oracle.com/debian unstable main non-free
и потом запустите под рутом (т.е. sudo . он спросит пароль текущего юзера и исполнит команду под рутом):
wget oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add —
apt-get update
apt-get install oracle-xe
Библиотеки libaio и bc доступны в самом репозитории, и будут подтянуты автоматически по зависимостям, ставить их вручную больше не нужно.
Источник
ChapterВ 3В Installing Oracle Linux Manually
This chapter describes how to perform a basic Oracle Linux installation by using a CD, DVD, or a USB drive. The installation can be in either graphics mode or text mode. The chapter describes both.
To install the operating system with the Btrfs file system, see ChapterВ 6, Installing a System With a Btrfs root File System.
3.1В Performing Graphics-Based Installations
The graphics-based installation is the default installation method which involves setting installation directives that are presented in a series of graphical screens. Use the appropriate keys to navigate through each screen.
3.1.1В Starting the Installation
To install Oracle Linux, you must boot the system from a boot image. You might also need to configure the host system’s BIOS or hypervisor settings to use the boot device that you have chosen.
The boot menu contains the following options:
Uses the graphical installation program to install Oracle Linux, provided that the system has sufficient memory and the video card is supported.
Test the media and then install Oracle Linux
Default option, which tests the installation media and then uses the graphical installation program to install Oracle Linux, provided that the system has sufficient memory and the video card is supported. Otherwise, text-based installation is used.
Provides access to a separate menu which contains options for resolving issues with installing or booting an Oracle Linux 8 system. See Section 8.1, “Troubleshooting Menu Options”.
By pressing Tab, you can also access the boot configuration options and add other needed options, as explained in ChapterВ 2, Options for Installation. For a system that has limited resources, for example, you can specify the inst.vnc option to run the graphical installation program in a VNC session. Or, you can use the network install method instead of using VNC.
Select one of the options to install Oracle Linux and press Enter. The Welcome to Oracle Linux 8 screen is displayed.
If your BIOS system or UEFI-based system in BIOS legacy mode has a disk size of less then 2 TiB, the boot loader is automatically installed on the master boot record (MBR). However, if you want to use the GUID partition table (GPT) instead, then you would need to configure the boot options from this menu. Do the following:
Select one of the options to install Oracle Linux and press Tab.
The boot command line appears, including some default options.
Add inst.gpt at the end of the line and press Enter.
The boot process begins. After it completes, the welcome screen is displayed.
From the language list, select the language to use for the installation. Alternatively, type the name of the language in the search box to locate your preferred language. The language that you select becomes the default language for the system. Then, from the locale list, select a locale. If necessary, you can change the default language after you have installed the software.
Selecting any of the menu options opens additional screens for configuring the options. As a minimum, you must visit the options with a warning icon next to them. However, going through all the options is recommended so that you can see the various configuration settings that are available for the installation. You can change the installation configuration options as much as you like. The installation does not begin until you click Begin Installation . As you visit the configuration options, pay attention to any warning messages that are displayed at the bottom of the screen.
At the top right of the screen is the Keyboard switch. This switch appears in all of the option screens to enable you to change to a different available keyboard layout at any time during configuration. See Adding Keyboard Layouts for more details about keyboard layouts.
3.1.2В Setting Localization Options
On this screen, you select the localization options to implement on the target system.
Adding Keyboard Layouts
To add support for additional keyboards to be used with the system, click Keyboard to display the Keyboard Layout screen.
The default keyboard is automatically listed on the left pane. Click the plus sign ( + ) to add keyboard layouts that you want to install on the system. To change the order of the list, use the arrow keys. A keyboard at the top of the list becomes the default keyboard.
To view a keyboard’s layout, select the keyboard and click the Keyboard icon at the bottom of the left pane.
To test a keyboard, click the Keyboard switch to change to the next keyboard layout on the list. Continue clicking until the keyboard you want to test is displayed. Then type some text on the text box. You can also click Options to configure the keyboard shortcut for switching between layouts.
Click Done to save your configuration and return to the Installation Summary screen.
Adding Language Support
To add support for additional locales to be used with the system, click Language Support to display the Language Support screen.
Select a language from the list of languages, or type a language in the search box, then select one or more locales from the list of locales.
Click Done to save your configuration and return to the Installation Summary screen.
Setting the System Time
To set the correct time for the system, click the Date & Time to display the Date & Time screen.
Pick a time zone by clicking your system’s location on the map or by using the region and city drop-down lists. You need to specify a time zone even if you intend to use the Network Time Protocol (NTP) to set the time on the system.
To set the date and time manually, ensure that the Network Time switch is toggled to OFF , then adjust the date and time.
To enable NTP, you must first enable the network through the Network & Hostname option on the Installation Summary screen (see Configuring Network & Host Name). Then, return to the Date & Time screen and toggle the Network Time switch to ON . Finally, click Settings to display a dialog box, where you can configure the NTP servers that the system should use.
Click Done to save your configuration and return to the Installation Summary screen.
3.1.3В Setting Software Options
This section describes how to use the options in the Software section of the Installation Summary screen.
Selecting the Source of the Installation Image
When you install Oracle Linux, you need to specify a location that contains the full installation image. To specify a location, click Installation Source to display the Installation Source screen.
Select the location of the installation image:
This option is only available if the installation program detected a local device that contains the installation image. If you did not check the installation media when you started the installation, click Verify to check the media.
On the network
The On the network option is not available unless you enable the network through the Network & Host Name option in the Installation Summary screen. See Configuring Network & Host Name).
Select the network protocol that is required to access a network installation server from the list and then specify the appropriate information:
For HTTP or HTTPS, the URL of the installation image.
If needed, click Proxy setup and configure the details for your organization’s proxy server that acts as an intermediary for Internet access.
Note that you can use the Oracle Linux yum server repositories as an installation source if the system has Internet access. Using these repositories as an installation source is particularly useful where a system is using an incomplete ISO, such as the Boot ISO or the UEK Boot ISO images, as installation media. If you choose to use this method, in the Installation Source dialog, use https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/x86_64 as the main installation source. In the Additional Repositories section, add the following repositories:
Name: ol8_AppStream
URL: https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/
URL Type: Repository URL
Name: ol8_UEKR6
URL: https://yum.oracle.com/repo/OracleLinux/OL8/UEKR6/x86_64/
URL Type: Repository URL
For NFS and FTP, the domain name or IP address of the server and the path to the directory that contains the installation image.
For NFS, the path can be the path to an ISO image. Enter any NFS mount options that are required.
Click the plus sign ( + ) to add repositories of software that you want to install.
Click Done to save your configuration and return to the Installation Summary screen.
Selecting the Software to Install
To select the software you want to install on the system, click Software Selection to display the Software Selection screen.
From the list of base environments, select the environment that best matches the purpose for which you will use your system. From the list of add-ons, select the software that you want to add to the selected base environment. The add-on list varies depending on the base environment that you select.
Only the Server with GUI base environment, which is the default option, includes a graphical desktop when the system boots. All other base environments boot into a command-line environment.
The Minimal Install base environment contains only the minimum set of packages that are required to run Oracle Linux. It does not include many administration tools that you might normally use, such as wget or unzip . This environment is the most secure environment to install and requires the least system resources to run. After the software is installed, you can install any other packages that you require.
There is no base environment or add-on for installing the Oracle Database (RDBMS). After you install Oracle Linux 8, you can use the Oracle RDBMS Server Pre-Install RPM to perform preinstallation configuration tasks for Oracle Database. For more information, visit https://docs.oracle.com/en/database/oracle/oracle-database/18/ladbi/automatically-configuring-oracle-linux-with-oracle-preinstallation-rpm.html#GUID-22846194-58EF-4552-AAC3-6F6D0A1DF794.
Click Done to save your configuration and return to the Installation Summary screen.
3.1.4В Setting System Options
This section describes how to use the options in the System section of the Installation Summary screen.
Choosing Where to Install the Software and Configuring Storage
To choose where to install the software and configure the storage, click Installation Destination to display the Installation Destination screen.
On this screen, you select the disks to use for the installation, as well as customize the disk configuration if you do not want to use the default settings.
Choose the devices on which you want to install Oracle Linux:
In the Local Standard Disks section, select the local disks that you want to use for the installation. A Tick icon is displayed next to the disks you have selected.
For specialized and network disks, you can add hardware RAID, iSCSI or Fibre Channel over Ethernet (FCoE) storage devices. Click Add Disk to display the options for adding and configuring these device types.
By default, storage configuration is set to automatic.
Automatic disk partitioning creates the following layout on the selected disks:
A standard partition for an XFS file system mounted at /boot .
An EFI system partition mounted at /boot/efi (UEFI-based systems only).
A partition in the remaining disk space configured as a Logical Volume Manager (LVM) physical volume for an LVM volume group that contains:
A logical volume for an XFS file system for the root file system ( / ).
A logical volume for an XFS file system for the /home file system (if the selected disks are larger than 50 GiB in total).
A logical volume for a swap partition.
If you want to customize the configuration, select the Custom option and then click Done to open the Manual Partitioning screen, where you can create partitions for mount points with assigned disk spaces. You can partition disks using standard partitions, LVM logical volumes, or LVM thin provisioning.
On a BIOS system whose disk size is less than 2 TiB, MBR is used by default. If you want to use GPT instead, configuring the boot menu with the inst.gpt option is the simplest approach. See the note in Section 3.1.1, “Starting the Installation” for instructions. However, if you were not able to configure the boot menu at the beginning, then you would need to create a BIOS Boot partition manually from this screen. After selecting Custom , do the following:
From the Manual Partitioning screen, if no partitions exist on the device yet, select Click here to create them automatically .
This step creates the standard partitions for an Oracle Linux 8 installation.
Click the plus sign ( + ) to create a new partition.
From the Mount Point drop down list, select biosboot .
For the Desired Capacity, enter 1 MiB then click Add mount point .
If the partition cannot be created, adjust the sizes of the other partitions to provide sufficient space to the new partition. Then create the BIOS boot partition again with the indicated partition size.
Select the newly created BIOS boot partition and on the right side of the screen that displays the partition’s details, ensure that Device Type is Standard Partition. The partition must not be on an LVM volume.
Click Done .
A summary of the changes is displayed. If you are satisfied with these changes, click Accept Changes .
If you are manually configuring a regular UEFI system, the following are some considerations:
You do not need to create a BIOS boot partition.
Verify that a /boot/efi partition is created.
From the Manual Partitioning screen, if you select Click here to create them automatically , the /boot/efi partition is included among the standard partitions. The partition size should be at least 50 MiB, although the optimal size is 200 MiB. Check that the partition is on Standard Partition, not on an LVM volume.
If partitions already exist on the system, then disk space might be insufficient for an Oracle Linux 8 installation. The information at the bottom of the screen indicates how much disk space is required to install the software you have selected. Ensure beforehand that disk space on the system is available for the software.
With automatic partitioning, you might not have sufficient space to install the software if the disk is already partitioned. The information at the bottom of the screen tells you how much disk space is required to install the software that you have selected. If you click Done while the destination disk has insufficient space, you would be prompted to free disk space.
To free up disk space, select I would like to make additional space available and click Done to display the Reclaim Disk Space window.
The option to create additional disk space is available only with automatic partitioning.
Select the partitions that you want to use, then click Delete , Shrink , or Delete all to free up disk space. Then, click Reclaim Space to available space.
If you select Encrypt my data on the Installation Destination screen, you are prompted to enter a passphrase for the encryption when you click Done .
This option encrypts all of the disk partitions, with the exception of the partition that contains /boot , by using Linux Unified Key Setup (LUKS).
If a partition is encrypted, you cannot access data on the partition without entering the passphrase. If you lose this passphrase, you cannot recover the data on the disk.
If you only want to encrypt particular partitions, then you must select Custom configuration at the Installation Destination screen so that you can manually partition the disk. Then, for the encryption option, select the partitions on which to implement encryption. Note the following important issues when encrypting data:
For LVM, selecting Encrypt my data encrypts the LVM physical volume and all of the logical volumes that it contains. If you do not select Encrypt my data , you can encrypt the logical volume by selecting the Encrypt check box on the Manual Partitioning screen or encrypt the physical volume by selecting the Encrypt check box on the Configure Volume screen.
Do not select the Encrypt check box for an LVM or LVM Thin Provisioning device type for the /boot file system. The /boot file system must be configured on a standard partition and should be of the type, ext4 or XFS.
Clicking Full disk summary and bootloader displays the disk configuration including the location of the boot loader. From the display, you can change the boot loader’s location or, if you prefer, skip the boot loader installation.
Click Done to save your configuration and return to the Installation Summary screen.
Configuring Kdump
To configure Kdump, click Kdump to display the Kdump screen.
In the event of a system crash, Kdump captures information that assists in determining the cause. By default, Kdump is enabled and the amount of memory reserved for Kdump is calculated automatically. Select the Manual option if you want to set the amount of reserved memory yourself.
Click Done to save your configuration and return to the Installation Summary screen.
Configuring Network & Host Name
Network connections are disabled by default. To connect the system to a network, either during installation or when the system boots, click Network & Host Name to display the Network and Host Name screen.
To enable a network interface, select the interface from the list of interfaces and then toggle the switch to ON . By default, the IP settings for a network interface are configured automatically by using DHCP for IPv4 and the Automatic method for IPv6. To edit the connection, click Configure to display the Network Connection Settings window.
To enable the connection whenever the network is available, select Connect automatically with priority on the General tab. Using the other tabs, configure the settings for the connection, as appropriate. To set a static IPv4 address, click IPv4 Settings and select Manual for the Method, and then enter values for the IP address, network mask, gateway, and DNS parameters. When you have finished configuring the connection. Click Save to save the configuration.
On the Network & Host Name screen, enter the host name of the system, either as a single name or as a fully-qualified domain name (FQDN), for example, host01.example.com . If you use the Dynamic Host Configuration Protocol (DHCP) to provide network settings, enter a single name and allow DHCP to assign the domain name.
You can also add special network devices such as an interface bond or team, or a VLAN (virtual local area network) device. Click the plus sign ( + ) to access the configuration settings for these devices.
Click Done to save your configuration and return to the Installation Summary screen.
Setting the Security Policy
You can optionally set security policy at installation time by configuring settings in the Security Policy screen.
Because security policy is not required on all systems, only use the Security Policy screen if you need to enforce a specific security policy as defined by your organization or by government regulations.
As shown in FigureВ 3.13, there are several pre-defined policies (profiles) that are available in the Security Policy screen. These security policies follow the recommendations and guidelines that are defined by the Security Content Automation Protocol (SCAP) standard.
For discussions on security topics in Oracle Linux 8, see Oracle В® Linux 8: Securing Oracle Linux.
You can also add custom security policies that you download from an HTTP, HTTPS, or FTP server. You use the Change content option in the Security Policy screen to configure custom policies.
Select a profile from the displayed list. Click Select profile . A message confirming the selection is displayed in the Changes that were done or need to be done: field. A check mark is displayed next to the selected profile.
By default, applying a security policy is enabled. If you do not select a profile, then no security policy is implemented despite the setting. Alternatively, you can set the Apply security policy switch to Off to disable applying security policy on the system.
To use a custom profile from either an HTTP server or an FTP server, select Change content . A window opens where you type the URL to access the custom profile. Click Fetch to download the custom security profile.
Check that the Changes that were done or need to be done: field shows the changes to be made. Click Done to save the changes and return to the Installation Summary screen.
During the installation, the security policy that you applied is installed according to the restrictions and recommendations that are defined in the specified profile. In addition, the openscap-scanner package is added to the packages that are installed. This package provides a tool for compliance and vulnerability scanning.
When the installation has completed, the system is automatically scanned to verify compliance, and the results are saved to the /root/openscap_data directory on the system.
3.1.5В Configuring User Settings
The User Settings section has the following options:
Create the root password.
Create a user account.
You can grant administrator privileges to the user to enable the user to run administrative tools by using the sudo command. To set additional configurations for the user, such as the user’s home directory, click Advanced .
You must configure at least one of the options. For example, if currently you want to enable only the root account, create its password. Then click Done to return to the Installation Summary screen where you can proceed with the installation. You can add users to the system later.
3.1.6В Completing the Installation
Click Begin Installation . This button becomes available only when the warning icon no longer appears next to any of the menu options in the Installation Summary screen.
At the end of the installation process, reboot the system as prompted.
Depending on your software selection, the system might prompt you to accept the license at the end of the system reboot. Click License Information and accept the license. Click Done to return to the previous screen, and then click FINISH CONFIGURATION . The process ends with a login screen.
However, if the system skips the license prompt and proceeds directly to a non-graphical login prompt, then you can review the license agreement at /usr/share/oraclelinux-release/EULA after logging in.
3.2В Performing Text-Based Installations
The Oracle Linux installation program can also run in text mode. Text mode is used automatically under certain circumstances, for example, if the system has insufficient memory or the video card is not supported. You can manually switch to the text mode by specifying inst.text as a boot option on the boot command line or by adding that option in a kickstart file.
If you are installing the operating system with the Btrfs file system, see Section 6.2, “Using the Text Installer”.
To add the option to the boot command line, do the following:
Boot the system from the ISO installation boot image.
The boot menu is displayed. For a description of the options in the menu, see Section 3.1.1, “Starting the Installation”.
Press Tab to access the boot line options.
At the end of this line, add inst.text .
Continue booting. At the end of the boot process, the text-based installation menu is displayed:
The numbered options on the menu are the equivalent of the screen options in graphic-based installations. Each option is preceded by a flag surrounded by brackets:
[ ] — Option is not configured.
[x] — Option is configured with the default setting.
The setting is displayed between parentheses under the option.
[!] — Option is configured but needs examination in case you want to specify your own setting.
To configure an option, type the option’s number. The screen displays numbered values that are available for that option. Choose the value by typing the value’s number. Then type c to continue. Continuing either returns you to the main menu screen, or displays additional related but non-obligatory options for you to configure. Type c also to skip screens.
After configuring all the necessary menu options, type b to begin installing. At the end of the installation, the system reboots.
Not all configuration options in graphical installations might be available in text-based installations.
Follow all the remaining prompts. At the end of the process, log in to the system and review the license agreement at /usr/share/oraclelinux-release/EULA .
Copyright В© 2019, 2021, Oracle and/or its affiliates. Legal Notices
Источник