Administracion RedHat

November 10, 2017 | Author: José Manuel Rodríguez Porras | Category: Virtual Machine, Hyper V, V Mware, Red Hat, Installation (Computer Programs)
Share Embed Donate


Short Description

red hAT LINUX EB VMWARE...

Description

JOSE MANUEL RORIGUEZ

TOPICS

TECHNOLOGIES

LOG OUT

COMMUNITY

Enter your search term

HELP

DOWNLOADS

RED HAT ENTERPRISE LINUX The world’s leading enterprise Linux platform

Thank you for downloading Red Hat Enterprise Linux Your download should start automatically. If you have any problems with the download, please use the direct link

(https://access.cdn.redhat.com/content/origin/files/sha256/03/03f3a0291634335f6995534d829bd21ffaa0d000004dfeb1b2fb81052d64a4d5/ server-7.2-x86_64-dvd.iso?_auth_=1479322689_75917b287f80ea46e498a46a6e116771).

Get Started Bare Metal

Hyper-V

KVM

VirtualBox

VMware

1.

2.

3.

Download Red Hat Enterprise Linux (RHEL)

Install RHEL on VMware

Get ready for software development

4.

Build something today

1. Download Red Hat Enterprise Linux (RHEL)

2.

Install RHEL on VMware

This step provides an overview of the key steps for installing Red Hat Enterprise Linux Server (../overview/) (http://www.vmware.com/) in a VMware Virtual Machine (VM) so you can get started with software development. The VM you create will give you a Red Hat Enterprise Linux development environment that you can use on your system running Microsoft Windows or Mac OS X.

Overview of steps 1.

Download and install VMware

2.

Configure a VM to run Red Hat Enterprise Linux.

3.

Boot the VM using the ISO file you downloaded in step 1 as a virtual DVD.

4.

Install Red Hat Enterprise Linux.

Note: This tutorial does not replace the Red Hat Enterprise Linux Installation Guide or VMware documentation . Instead, this tutorial provides an overview of the key steps for software developers. For detailed instructions, see the respective manual. (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide) (https://www.vmware.com/support/pubs)

A few things to keep in mind: ○

You will be using the Server edition of Red Hat Enterprise Linux. This provides you with the widest range of software to develop and test with.



The VM will have a full graphical desktop. You will select Server with a GUI during installation.



After installation, you will configure additional software repositories that will provide you access to optional development software such as RHSCL and DTS.

System Requirements The requirements for your physical system that will host the Red Hat Enterprise Linux VM are: ○

a 64-bit x86 machine with hardware virtualization assistance (Intel VT-X or AMD-V).



4 GB RAM (8 GB preferred).



24 GB of available disk space for the VM, the installation ISO file, and VMware.

If you encounter difficulties at any point in this tutorial, see Troubleshooting and FAQ

(#troubleshooting).

Download and install VMware. You will need to download a VMware desktop virtualization product for your system: ○



(https://www.vmware.com/products/workstation) Microsoft Windows: VMware Workstation Pro or VMware (https://www.vmware.com/products/player) Workstation Player . (https://www.vmware.com/products/fusion)

Apple Mac OS X: VMware Fusion (https://www.vmware.com/products/fusion-pro)

or VMware Fusion Pro

.

After the download completes, click on the downloaded .exe or .dmg file to start the installation. During the installation you will need to agree to using administrative privileges for a number of the steps. The Windows enhanced virtual keyboard driver is not required. You may install it if needed for improved support of international keyboards. Note: This guide uses VMware Workstation 12 and VMware Fusion 8. Older versions may work but the steps might be slightly different.

Enable Intel VT-x or AMD-V Virtualization in BIOS/UEFI Intel and AMD processors have hardware extensions for accelerating virtualization. On some systems this support may be disabled by default in the system’s BIOS/UEFI. To enable the extensions, you might have to go into the system’s BIOS/UEFI setup configuration at boot time. Consult your system’s hardware documentation for more information.

Disable Microsoft Hyper-V to avoid conflicts with VMware On some Microsoft Windows systems it may be necessary to disable Microsoft Hyper-V virtualization in order to use VMware. Only one virtualization platform, or hypervisor, can be active on a host system at a time. While hypervisors like VMware only take control of the host system’s hardware virtualization capabilities when they are actually running a VM, Microsoft Hyper-V takes control at boot time. In order to use VMware, Hyper-V must either be disabled or uninstalled. Consult Microsoft’s documentation for more information. Note: if you are interested in using Microsoft Hyper-V instead of VMware, follow the steps in the Hyper-V tab at the top of this page.

Create and configure a VM in VMware In this step you will create and configure the VM that will run Red Hat Enterprise Linux. The system you are running VMware on is called the host system. The operating system running inside the VM is referred to as the guest. First, launch VMware from your system’s menu. The follow the steps for your operating system.

VMware Workstation Pro or Player on Microsoft Windows Click Create a New Virtual Machine to bring up the New Virtual Machine Wizard dialog: 1.

2.

On the Welcome to the New Virtual Machine Wizard dialog: a.

Select Installer disc image file (.iso)

b.

Click Browse, then locate the ISO file you downloaded in step 1.

c.

Click Next.

On the Select a Guest Operating System dialog a.

Select Linux under _Guest Operating _system

b.

Select Red Hat Enterprise Linux 7 64-bit from the list of choices under Version.

c. 3.

Click Next.

On the Name the Virtual Machine dialog: a.

Enter rhel or your preferred name in the Virtual machine name box.

b.

Change the location of the VMs files, including the virtual hard disk if necessary. By default it will be placed in your Documents folder. You will need 20 GB of space in the chosen location.

4.

On the Specify Disk Capacity dialog you will set the size of the VM’s virtual hard disk. The size of the virtual hard disk, should be a minimum of 20 GB. While this setting can be changed later, it is a multi-step process not covered by this guide. Therefore it is recommended that you size the virtual hard disk to be large enough for your software development activities. Note: The space on your host system’s physical disk will not be allocated until it is used by the VM. Complete the next set of dialog boxes to configure the virtual hard disk a.

Change the Maximum disk size (GB) if needed. The default is 20 GB.

b.

Click Next.

5.

Click Finish to create the VM.

At this point the basic VM configuration has been completed. You may optionally change the configuration: 6.

Select the newly created VM from the Home list on the left side. Then click Edit virtual machine settings on the lower right to bring up the Virtual Machine Settings dialog. On the Hardware tab: a.

Adjust the amount of Memory (RAM) if desired. A 2 GB or more is suggested for development.

b.

By default, the VM will have a single virtual processor. If your system has multiple processors or cores, you can add more to the VM.

c.

Under Network Adapter, you can set the VM’s networking configuration. The default is Network Address Translation (NAT) which is recommended because it is the easiest to manage. You may want to choose Bridged to attach the VM directly to the physical network. See VMware Networking

7.

(#_vmware_networking)

below for more information.

Click OK to close the Virtual Machine Settings dialog.

VMware Fusion or VMware Fusion Pro on Mac OS X When you launch VMware Fusion without having any VM’s it will automatically open dialog to begin creating a VM. If you already have a VM created, select New from the File menu. At the select 1.

Click Create a custom virtual machine on the Select the Installation Method dialog. Then, click Continue.

2.

Select Linux on the left side of the Choose Operating System dialog. a.

Select Red Hat Enterprise Linux 7 64-bit from the list on the right.

b.

Click Continue.

3.

Click Continue on the Choose a Virtual Disk dialog. The option Create a new virtual disk should be selected by default. The default virtual disk size is 20 GB.

4.

Click Finish.

5.

6.

Choose the name and location to start the VM files. Note: By default it will be placed in your Documents folder. You will need at least 20 GB of space in the chosen location. a.

Set the VM name to rhel in the Save As box.

b.

Change the location for the files in the Where box if needed.

c.

Click Save.

At this point the basic VM configuration has been completed, but some additional configuration is needed. Click the Settings button (wrench icon), or select Settings from the Virtual Machine menu.

7.

Click the CD/DVD icon in the VM Settings dialog. a.

Select Choose a disk or disk image… from the CD/DVD dialog. By default it is set to Autodetect.

b.

In the file dialog, Navigate to the location of the .iso file you downloaded in step 1. Then click Open.

8.

c.

Click the Connect CD/DVD Drive check box.

d.

Click Show All in the top left corner to return to VM Settings.

Optionally, you can tailor the configuration of the VM to suit your needs. a.

You can adjust the amount of memory and number of CPUs available to the VM by clicking the Processors & Memory icon. The minimum memory for the VM is 2048 MB, however 4096 is suggested. You can change the amount of memory later.

b.

You can change the size of the virtual hard disk by clicking the Hard Disk icon. The size of the virtual hard disk, should be a minimum of 20 GB. While this setting can be changed later, it is a multi-step process not covered by this guide. Therefore it is recommended that you size the virtual hard disk to be large enough for your software development activities. Note: The space on your host system’s physical disk will not be allocated until it is used by the VM.

c.

Under Network Adapter, you can set the VM’s networking configuration. The default is Network Address Translation (NAT) which is recommended as it is the easiest to manage. You may want to choose Bridged to attach the VM directly to the physical network. See VMware Networking (#_vmware_networking) below for more information.

9.

Close the VM settings dialog.

Boot the VM and install Red Hat Enterprise Linux To start the VM and begin installation: 1.

Start VMware if it isn’t already running

2.

select the rhel VM.

3.

click the Play button.

The VM should now boot up from the Red Hat Enterprise Linux Server DVD .iso file. Note: When you click inside the VM window, the keyboard and mouse will be captured by the VM until you hit

Ctrl and Alt on Windows or Ctrl and the Command key (⌘) on the Mac. When the system is fully installed this will no longer be necessary. See Open VM Tools replaces VMware Tools for Linux (#_open_vm_tools_replaces_vmware_tools_for_linux). This section provides a brief overview of the steps for installing Red Hat Enterprise Linux. Detailed instructions can be found in the Red Hat Enterprise Linux Installation Guide (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide).

There are a few key steps to remember during the installation process: 1.

The Installation destination will be the virtual hard disk you created for the VM.

2.

You should configure networking under Network and host name before starting the installation. You will need access to the Internet to complete registration and download additional software. The network can be configured after the system is installed. However, the steps are more straightforward during installation.

3.

Select Server with a GUI under Software Selection so the system will boot into the full graphical environment after installation. By default, Red Hat Enterprise Linux Server will not install a graphical desktop.

4.

Create your primary user account during installation: After the installation begins, you will be instructed to set a password for the root account and be given the opportunity to create a regular user account. You should create a user before the installation process completes. The regular user will be your primary login for development. The root account should only be used for system administration tasks. If you don’t create a user before the installation completes, you will need to reboot and then log in as root to create user accounts.

Installation instructions 1.

Start the system from the bootable disk and select Install Red Hat Enterprise Linux.

Note: you can skip the media checking step by hitting the Esc key. 2.

Select your preferred language and keyboard layout to use during installation.

3.

Under Localization review the settings and make any necessary changes for date and time, language, and keyboard layout. Note: The Done button to return to the Installation summary screen is located in the upper left corner of the screen.

4.

Perform the follow steps to make your software selection: a.

Click Software selection.

b.

On the next screen, under Software selection, in the Base environment list on the left, select Server with GUI.

c.

In the list Add-ons for selected environment on the right, select Development tools.

d.

Click the Done button. Note: After returning to the Installation summary screen it will take several seconds to validate your choices.

5.

Click Installation destination to specify the disk/partition to use. a.

On the Installation Destination screen, under Local Standard Disks, make sure the one disk is checked. This is the virtual hard disk you created earlier.

b. 6.

Click Done.

Click Network & host name to configure the network. If the system has more than one network adapter, select it from the list on the left. Then click the On/Off button on the right to enable the network adapter. a.

Click Configure to review and/or change the default settings for the network adapter. The default settings should be fine for most networks that use DHCP.

b.

Optionally, set a Host name for the system.

c.

Click Save to dismiss the network adapter configuration dialog.

d.

Before leaving the Network & Host name screen, make sure there is at least one network adapter enabled with the switch in the On position. A network connection will be required to register the system and download system updates.

e.

Click Done.

7.

Click KDump to disable KDump and free up memory. Click the box next to Enable kdump so that it is no longer checked. Then click Done.

8.

Click the Begin installation button when you are ready to start the actual installation.

9.

On the next screen, while the installation is running, click User creation to create the user ID you will use to log in for normal work.

10.

Click Root password to set the password for the root user. Note: If you choose a password that the system considers to be weak, you will need to click Done twice.

11.

After the installation process completes, click the Reboot button.

If you need help, see Troubleshooting and FAQ

(#troubleshooting).

3. Get ready for software development

 This section has a number of post-installation steps that complete the installation of Red Hat Enterprise Linux and prepare it for software development. The steps are: 1.

Accept the license agreements and register the system with the Red Hat Subscription Management..

2.

Install the latest software updates.

3.

Add additional software repositories containing development software.

Complete installation and register the system

After installation, during the first boot of the system, you will be asked to accept the license agreement and register the system with Red Hat Subscription Management. Completing these steps are required for your system to download software from Red Hat.

Note: In some cases, when booting the system for the first time, you may not see the graphical postinstallation screen shown above. If you see a text-based license acceptance prompt follow the instructions in Complete installation and register the system (alternate) instead.

1.

(#vmware-alternate-license)

Click License information to go the license acceptance screen. a.

Click the check box to accept the license.

b.

Click Done in the upper left corner to return to the Initial Setup screen.

2.

If you didn’t configure a network during installation, click Network and host name to configure your network connection.

3.

In the next step you will register your system with Red Hat and attach it to your subscription. Note: For this step to succeed, you must have successfully configured your network connection. a.

Click Subscription Manager

b.

Leave I will register with set to the default.

c.

if you need to configure an HTTP proxy server, click Configure Proxy

d.

Click Next to move the next screen.

e.

Enter your Red Hat username and password. This is the login that you use for Red Hat sites such as the Red Hat Customer Portal, access.redhat.com (https://access.redhat.com/).

f.

Optionally, enter a System Name that will be used to identify this system on the Red Hat Customer Portal.

g.

Click Register.

h.

On the next screen you will be shown the list of subscriptions that are available to your user ID. If you have more than one subscription available, select which subscription to attach this system to.

i.

Click Attach.

j.

Click Done.

4.

Finally, Click Finish configuration.

5.

Log in to the system with the username and password you created during installation. If you didn’t create a regular user, you will need to log in as root and create a user. See Troubleshooting and FAQ

(#troubleshooting).

If you get a text-based login screen instead of a graphical one, see Troubleshooting and FAQ (#troubleshooting).

6.

Select your preferred language for the GNOME desktop. Then click Next.

7.

Select your keyboard layout. Then click Next.

8.

Optionally follow the dialogs to connect your online accounts or click Skip.

9.

Click Start using Red Hat Enterprise Linux.

You are now logged into Red Hat Enterprise Linux. The Getting Started page of the GNOME Help viewer is opened automatically as a full screen application after your first login. You may minimize, resize, or exit out of that application by using the window controls on the upper right corner.

Proceed to Disable lock screen and screen power saving

(#vmware-lockscreen).

Complete installation and register the system (alternate) In some cases, when booting the system for the first time, you may not see the graphical post-installation screen. If you see a text-based license acceptance prompt as shown below, follow these alternate instructions:

1.

2.

3.

To accept the license agreement: a.

Enter 1 and hit return to enter the License information section.

b.

Enter 2 and hit return to accept the license agreement.

c.

Enter c and hit return to leave the License information section.

d.

Enter c and hit return to complete the initial setup.

Log in to the system with the username and password you created during installation at the graphical login screen. If you didn’t create a regular user, you will need to log in as root and create a user. See Troubleshooting and FAQ (#troubleshooting). a.

Select your preferred language for the GNOME desktop. Then click Next.

b.

Select your keyboard layout. Then click Next.

c.

Optionally follow the dialogs to connect your online accounts or click Skip.

d.

Click Start using Red Hat Enterprise Linux.

e.

The Getting Started page of the GNOME Help viewer is opened automatically as a full screen application after your first login. You may minimize, resize, or exit out of that application by using the window controls on the upper right corner.

Check that the network connection has been started: a.

Run Settings from the System Tools group of the Applications menu.

b.

Click the Network icon under the Hardware group of All Settings.

c.

Select the Wired network.

d.

Make sure the toggle switch in the upper right is switched on.

e.

Check that the settings for IP address, default route, and DNS are appropriate for your network. If you need to change them, Click the settings button in the lower right corner.

f.

When you are finished with network settings close the window by clicking the X in the upper right corner.

4.

Now register the system:

a.

Start Red Hat Subscription Manager from the System tools group of the Applications menu.

b.

Click the Register button in the upper right corner of Subscription Manager.

c.

Leave I will register with set to the default on the System Registration dialog.

d.

if you need to configure an HTTP proxy server, click Configure Proxy

e.

Click Next to move the next dialog.

f.

Enter your Red Hat username and password. This is the login that you use for Red Hat sites such as the Red Hat Customer Portal, access.redhat.com (https://access.redhat.com/).

g.

Optionally, enter a System Name that will be used to identify this system on the Red Hat Customer Portal.

h.

Click Register.

i.

On the next dialog, you will be shown the list of subscriptions that are available to for your Red Hat username. If you have more than one subscription available, select the subscription to attach this system to.

j.

Click Attach.

k.

Click the X in the upper right hand corner to close Red Hat Subscription Manager.

Disable lock screen and screen power saving For security and to save energy, the default configuration of Red Hat Enterprise Linux is to lock the screen and turn the screen off when idle. On a VM, it is best to disable these features since the host system will control screen locking and power saving. To disable these features, from the desktop Application menu, select the System Tools group, then select Settings. Follow these steps in the Settings application. 1.

Click the Privacy icon to bring up the Privacy dialog.

2.

Click on Screen Lock to bring up the Screen Lock dialog.

3.

Click on the On/Off switch to the right of Automatic Screen Lock.

4.

Click the X in the upper right hand corner to dismiss the Screen Lock dialog.

5.

Click the < button in the upper left corner of the Privacy dialog to go back to the main Settings screen.

6.

Click on the Power icon to open the Power settings dialog.

7.

Click the menu button to the right of Blank screen. Select Never from the list of choices.

8.

Finally, Click the ‘X’ in the upper right hand corner to close the Settings application.

Install the latest updates In this step, you will download and install the latest updates for your system from Red Hat. In the process,

you will verify that your system has a current Red Hat subscription and is able to receive updates. First, start a Terminal window from the Application menu. Then, after using su to change to the root user ID, use subscription-manager to verify that you have access to Red Hat software repositories.

$ su # subscription-manager repos --list-enabled

If you don’t see any enabled repositories, your system might not be registered with Red Hat or might not have a valid subscription. See Troubleshooting and FAQ (#troubleshooting) for more information. Now download and install any available updates by running yum update . # yum -y update If yum updates the kernel package or installs a large number of updates, you should reboot your system. You can do this from the VM’s desktop by clicking the down arrow icon in the upper right corner, then clicking the power icon. Alternatively you can reboot the system from the command line: # reboot

Enable additional software repositories In this step you will configure your system to obtain software from the Optional RPMs and RHSCL software repositories. The Optional RPMs repository includes a number of development packages. The RHSCL repository includes the both the RHSCL software collections as well as DTS (the Red Hat Developer Toolset).

# subscription-manager repos --enable rhel-server-rhscl-7-rpms # subscription-manager repos --enable rhel-7-server-optional-rpms

Finally, reboot the VM. You can do this from the VM’s desktop by clicking the down arrow icon in the upper right corner, then clicking the power icon. Alternatively you can reboot the system from the command line: # reboot

VMware Networking The default VMware network configuration is for the VM to share the host system’s network connection(s) and IP address using network address translation (NAT). This is the easiest to manage and will be fine for many uses. Using NAT, the VM will be able to access resources on your network or the Internet. However services, such as a web server, running inside the VM won’t be directly accessible from outside of the VM. Alternatively, you can attach the VM to directly network by sharing the network adapter from the host system as a bridged network adapter. In this configuration, the VM gets its own IP address, usually using your network’s DHCP server. The VM appears on the network the same way a physical computer would with its own hardware MAC address. The host’s network adapter is shared by a device driver that is installed by

VMware. The VM’s virtual network adapter can only be bridged to one physical network adapter at a time. If your system has more than one network adapter you need to choose which one to attach to. If your system switches between wired and wireless connections, you will need to switch bridged adapters for the VM. Networking, both physical and virtual, is a large topic beyond the scope of this guide. For more information see Networking options in VMware Workstation and Fusion vmware-workstation-and-fusion.html)

(http://blogs.vmware.com/kb/2013/03/networking-options-in-

or the networking section of the VMware Workstation User’s Guide

(https://pubs.vmware.com/workstation-12/index.jsp#com.vmware.ws.using.doc/GUID-0CE1AE01-7E79-41BB-9EA8-4F839BE40E1A.html)

.

Open VM Tools replaces VMware Tools for Linux Red Hat Enterprise Linux includes Open VM Tools which replaces the VMware’s Operating System Specific Tools (OST), also known as VMware Tools for Linux. You do not need to install VMware Tools as the functionality is implemented in the open source packages that are included with Red Hat Enterprise Linux. These tools are services and drivers that are installed in the guest operating system under the VM to: 

Enable copy-and-paste between the host system and the VM.



Provide better mouse pointer integration.



Allow resizing of the VM window which will change the size of VM’s graphical desktop.



Improve VM performance.

Open VM Tools does not currently include the driver that is needed for shared folders. To enable shared folders you need to run the VMware Tools installer.

Enable VMware shared folders You may create a folder that is shared between your host system and the Red Hat Enterprise Linux VM. This makes it easy to share files such as source code between the two systems. Enabling VMware shared folders requires installing the VMware Host Guest File System (VMHGFS) driver on the VM. The VMHGFS driver is included with VMware Tools. By default, the VMware Tools installer will install the VMHGFS driver and leave the existing installation of Open VM Tools intact. This is the suggested configuration for enabling shared folders. To install VMHGFS: 1.

VMware Tools are packaged as a .iso file, which will be used on the VM as a virtual CD. VMware will load the virtual CD when you select Install VMware Tools. For VMware Player on Windows, select Manage from the Player menu. Then select Install VMware Tools. For VMware Fusion on Mac OS, select Install VMware Tools from the Virtual Machine menu. Then click Install on the pop-up.

2.

Dismiss the Open with Files pop-up on the VM by clicking the X.

3.

If VMware adds a message at the bottom of the VM window, dismiss it by clicking on the X.

4.

Open a Terminal window in the VM from the Applications menu.

5.

Change to the root user with su ­ . You will need to enter the root password.

6.

Enter the following commands:

# mkdir /mnt/cd # mount ­o ro /dev/sr0 /mnt/cd # cd /tmp # mkdir vmware­tools # cd vmware­tools # ls /mnt/cd/*.tar.gz

In the directory listing, make a note of the exact file name of the .tar.gz file to use in the next command as the version number may have changed.

# tar xvzf /mnt/cd/VMwareTools­10.0.5­3228253.tar.gz

Enter the follow command to start the VMware Tools installer:

# cd vmware­tools­distrib # ./vmware­install.pl

The installer will ask a series of questions. Accept all the default choices by hitting the return key with the exception of Would you like to enable VMware automatic kernel modules?. Answer yes to enable automatic kernel modules. When the installer is finished, eject the virtual CD:

# eject

Create a shared folder mapping (Microsoft Windows) 1.

From the Player menu, select Manage, then select Virtual Machine Settings.

2.

Select the Options tab on the left from the VM Settings dialog.

3.

Select Shared Folders in the list on the left.

4.

Select Always Enabled under Folder Sharing on the right.

5.

Click the Add button.

6.

On the Add Shared Folder Wizard, click Next.

7.

Click Browse and navigate to the folder you wish to share.

8.

Enter the name for the shared folder on VM. Do not use spaces.

9.

Click Next.

10.

On the _Specify Shared Folder Attributes:

11.

a.

Make sure Enable this share is checked.

b.

Optionally, check Read-only if you want to prevent the VM from being able to modify the shared folder.

c.

Click Finish.

Click OK to close the Virtual Machine Settings dialog.

On the VM the path to the shared folders will be /mnt/hgfs/ .

Create a shared folder mapping (Mac OS X) 1.

Click the Settings (Wrench icon) button.

2.

Click the Sharing icon under System Settings.

3.

On the Sharing dialog: a.

Make sure Enabled Shared Folders is checked.

b.

Click the + button.

c.

Navigate to the folder you wish to share.

d.

Click Add.

4.

Optionally, change the name of the shared folder by clicking in the Name column. Do not use spaces in the name.

5.

If you want to prevent the VM from modifying the folder, select Read Only in the Permissions column.

6.

Close the Sharing dialog.

On the VM the path to the shared folders will be /mnt/hgfs/ .

4. Build something today

 In this step you will select your programming language and then set up and run a simple “Hello, World” application. You can a install languages, frameworks, and middleware by simply using yum install . For container development, a number of the development technologies are available as container images that can be installed with docker pull .

C++

JAVA NODE.JS PERL PHP PYTHON RUBY Developed by the GNU project, the GNU Compiler Collection (GCC) includes front ends for C, C++, and Fortran.

GCC 5 via Developer Toolset (DTS) on RHEL 7 Recommended In addition to the latest compilers, DTS includes Eclipse, GDB, SystemTap, Oprofile, Valgrind and much more.

GET STARTED

(../../DEVELOPERTOOLSET/GET-STARTED-RHEL7-CPP/)

GCC 4 base version on RHEL 7 The included GCC compilers are supported for the entire ten year life of Red Hat Enterprise Linux 7.

Get Started

(../get-started-rhel7-cpp/)

In addition to the above, see the entire list of software collections including databases (MongoDB, PostgreSQL, etc), web servers (Apache httpd, Nginx, etc.), and more, view the Red Hat Software Collections Technology Brief (https://access.redhat.com/sites/default/files/pages/attachments/red-hat-softwarecollections-technology-brief-new.pdf).

Want to know more about what you can do with RHEL?

Become a Red Hat developer: developers.redhat.com Red Hat delivers the resources and ecosystem of experts to help you be more productive and build great solutions. Register for free at developers.redhat.com (../../../register/). Follow the Red Hat Developer Blog http://developers.redhat.com/blog

(http://developers.redhat.com/blog)

Troubleshooting and FAQ

()

1.

As a developer, how can I get a no-cost Red Hat Enterprise Linux subscription? When you register and download (../download/) Red Hat Enterprise Linux Server through developers.redhat.com (../../../), a no-cost Red Hat Enterprise Linux Developer Suite subscription will be automatically added to your account. For more information, see Frequently asked questions: nocost Red Hat Enterprise Linux Developer Suite subscription (../../../articles/no-cost-rhel-faq/).

2.

My system is unable to download software or updates from Red Hat. Your system must be registered with Red Hat using subscription­manager register . You need to have a current Red Hat subscription. Registering your system attaches it to your subscription.

3.

How do I register my system after installation? Use Red Hat Subscription Manager, which can be started from the system menu as a graphical tool, or from the command line: # subscription­manager register ­­auto­attach For additional information, see How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription Manager

4.

(https://access.redhat.com/solutions/253273).

I’ve got a text-based login screen, how do I get a graphical one? During installation of Red Hat Enterprise Linux Server, selecting the Server with a GUI software option will install a full graphical desktop and configure it to start at boot time. You can install the graphical desktop with yum install after registering your system with Red Hat. Log in to the system as the root user, then use the following commands: # yum groupinstall 'Server with GUI' # yum install @gnome­desktop @x11 @internet­browser

When complete, type systemctl reboot to reboot your system. When the system restarts, you should see a graphical login screen. 5.

I didn’t configure a network connection during installation, how can I do this on a running system? Registration fails with the message that subscription.rhn.redhat.com is unreachable, how do I resolve this? If you did not configure a network connection during installation or the configuration was unsuccessful, see the Red Hat Enterprise Linux Networking Guide (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/) for information on configuring networking using either graphical or command-line tools.

Developing on Red Hat Enterprise Linux FAQ 1.

How do I install the C/C++ compiler that is included with Red Hat Enterprise Linux?

During installation, selecting the Development tools software option installs the C/C++ compiler GCC/G++ and other related development tools. You can install these tools with yum install after registering your system with Red Hat. Log in to the system as the root user then use the following command: # yum install @development

2.

How can I get a newer C/C++ compiler for Red Hat Enterprise Linux 7? Where can I get an IDE for C/C++ development on Red Hat Enterprise Linux 7? Red Hat Developer Toolset (../../softwarecollections/overview/) provides the latest, stable, open source C and C++ compilers and complementary development tools including Eclipse. DTS enables developers to compile applications once and deploy across multiple versions of Red Hat Enterprise Linux. Red Hat Developer Toolset uses Red Hat Software Collections to install a parallel set of packages in /opt/rh where they will not override the system packages that come with Red Hat Enterprise Linux. Red Hat Software Collections is available with select Red Hat Enterprise Linux subscriptions and has a three-year life cycle to allow rapid innovation without sacrificing stability. See Get started developing with C++ and Eclipse from the Red Hat Developer Toolset (../../developertoolset/get-started-rhel7-cpp/)

3.

How do I get newer versions of languages like Perl, PHP, Python, and Ruby on Red Hat Enterprise Linux? Red Hat Software Collections (../../softwarecollections/overview/) delivers the latest, stable versions of dynamic languages, open source databases, and web development tools that can be deployed alongside those included in Red Hat Enterprise Linux. Red Hat Software Collections is available with select Red Hat Enterprise Linux subscriptions and has a three-year life cycle to allow rapid innovation without sacrificing stability.

4.

How can I get Python 3 on Red Hat Enterprise Linux? See Get Started with Python 3 using RHSCL

5.

How can I get Node.js on Red Hat Enterprise Linux? See Get Started with Node.js using RHSCL

6.

(../../softwarecollections/get-started-rhel7-python/).

(../../softwarecollections/get-started-rhel7-nodejs/).

The RHSCL repository is not available or is not found on my system. The name of the repository depends on whether you have a server, workstation, or desktop version of Red Hat Enterprise Linux installed. Some Red Hat Enterprise Linux subscriptions do not include access to RHSCL. For information about which subscriptions include RHSCL, see How to use Red Hat Software Collections (RHSCL) or Red Hat Developer Toolset (DTS) (https://access.redhat.com/solutions/472793). As a developer, you can get a no-cost Red Hat Enterprise Linux Developer Suite subscription which includes both RHSCL and DTS. For more information, see Frequently asked questions: no-cost Red Hat Enterprise Linux Developer Suite subscription (../../../articles/no-cost-rhel-faq/).

7.

How can I get Eclipse installed on Red Hat Enterprise Linux?

For C/C++ development, DTS includes Eclipse with C/C++ Development Tooling (CDT). See Get started developing with C++ and Eclipse from the Red Hat Developer Toolset (../../developertoolset/getstarted-rhel7-cpp/). For Java development, Red Hat JBoss Developer Studio (../../devstudio/overview/) provides a single development tool, tailored for extreme productivity, that is built on Eclipse. Developers can get a nocost subscription by registering and downloading developers.redhat.com.

(../../devstudio/download/)

through

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF