Question

In: Computer Science

After you have fully installed the Ubuntu© operating system to your company’s production servers, you are...

After you have fully installed the Ubuntu© operating system to your company’s production servers, you are now responsible for managing and monitoring the servers with Ubuntu© installed. You need to use the virtual environment that you set up with Ubuntu to do the following:

Your team wants to deploy a new application on the servers that needs the latest Java© Development Kit (JDK) and GNU Compiler Collection (GCC). How do you check for which versions of these packages that are currently installed on the servers? In detail, how do you tell your team to update and install the latest versions of these packages on the servers? What commands should they be doing to check? How should your team ensure that the servers are using the latest versions of all packages on the servers in production?

Solutions

Expert Solution

First, open the terminal using ctrl+alt+T from keyboard.

Checking Versions:

          Now,in the opened window,simply type:

           java -version

            Normally,it should display some text similar to this:

        openjdk version "1.8.0_141"

         OpenJDK Runtime Environment (build 1.8.0_141-8u-b15-3~14.04-b15)

         OpenJDK 64-Bit Server VM (build 25.141-b15, mixed mode)

  

      For checking gcc version ,type:

               gcc --version or gcc -version

It should display something similar to:

        gcc (Ubuntu 5.0.1-19ubuntu1) 5.0.1

        Copyright (C) 2018 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

          Also check javac(java compiler) version using command:

            javac -version

It should return same version as jdk version above.

NOTE: The java and javac version mismatch can make programs to not run partially or in the entirety.

The ubuntu usually chooses the same or appropriate version automatically for java and javac when installing or updating.

Updating to latest version:

           Open terminal again and type:

                sudo update-alternatives-java


Related Solutions

Your company is considering the purchase of a new production system with an installed cost of...
Your company is considering the purchase of a new production system with an installed cost of $1,250,000. The cost will be depreciated on a straight-line basis to zero over the five-year life of the project, and the system can be sold at the end of the project for $225,000. It will provide additional revenue of $685,000 in the first year, and the additional revenue is expected to grow 5% per year thereafter. The associated cost of goods sold is estimated...
Upgrade your UBUNTU Linux system and document the steps that you took. What events, if any,...
Upgrade your UBUNTU Linux system and document the steps that you took. What events, if any, were logged? Next, search the repositories for the application nginx. If it’s not installed, install it. Document the steps you took.
A new production system for a factory is to be purchased and installed for $114,666. This...
A new production system for a factory is to be purchased and installed for $114,666. This system will save approximately 300,000 kWh of electric power each year for a 6-year period. Assume the cost of electricity is $0.10 per kWh, and factory MARR is 15% per year, and the salvage value of the system will be $8,666 at year 6. Using the AW method to analyzes if this investment is economically justified A. calculate the AW of the above investment...
A new production system for a factory is to be purchased and installed for $132,625. This...
A new production system for a factory is to be purchased and installed for $132,625. This system will save approximately 300,000 kWh of electric power each year for a 6-year period. Assume the cost of electricity is $0.10 per kWh, and factory MARR is 15% per year, and the salvage value of the system will be $8,351 at year 6. Using the AW method to analyzes if this investment is economically justified A- calculate the AW of the above investment...
A new production system for a factory is to be purchased and installed for $169,853. This...
A new production system for a factory is to be purchased and installed for $169,853. This system will save approximately 300,000 kWh of electric power each year for a 6-year period. Assume the cost of electricity is $0.10 per kWh, and factory MARR is 15% per year, and the salvage value of the system will be $8,297 at year 6. Using the AW method to analyzes if this investment is economically justified A- calculate the AW of the above investment...
A new production system for a factory is to be purchased and installed for $177,896. This...
A new production system for a factory is to be purchased and installed for $177,896. This system will save approximately 300,000 kWh of electric power each year for a 6-year period. Assume the cost of electricity is $0.10 per kWh, and factory MARR is 15% per year, and the salvage value of the system will be $9,551 at year 6. Using the AW method to analyzes if this investment is economically justified A- calculate the AW of the above investment...
Suppose you are trying to estimate the population mean for your company’s production. You have sampled...
Suppose you are trying to estimate the population mean for your company’s production. You have sampled 49 months and you calculated the average production (sample mean), in dollars, to be $900,000,with a standard deviation of $57,000. Note that this standard deviation is of raw data. Your company has population monthly production data for 950 months (quite a long time). Please calculate a confidence interval for your sample mean, assuming you wish to be 96% confident.
UNIX is a powerful multiuser operating system designed for use with servers. UNIX’s popularity has grown...
UNIX is a powerful multiuser operating system designed for use with servers. UNIX’s popularity has grown since it was developed by Bell Labs in 1969, as Internet usage has expanded dramatically. More recently, however, a branded version of another operating system has become available. This product, called Red Hat Linux, is a potential replacement for UNIX and other well-known operating systems. 1. Discuss the characteristics of this market and how they affect the conditions for entry. What uncertainties might Red...
Populate an excel sheet with the information, below. After you have installed the Analysis ToolPak, open...
Populate an excel sheet with the information, below. After you have installed the Analysis ToolPak, open “Data Analysis” and scroll down to “Regression” and click. The regression window will open. Run a regression analysis on the annual car sales, over the last three years, taken from William and Sam Automotive sales. Year Car Sales 2015 200 2016 250 2017 270.
Imagine you are the Corporate Financial Officer (CFO) of a Fortune© 500 company. Describe to your...
Imagine you are the Corporate Financial Officer (CFO) of a Fortune© 500 company. Describe to your classmates the process your company would use in approving the capital expenditure budget. Remember that companies try to minimize expenditures. What evidence would you submit to top management to support your request for requested expenditures the company needs and why?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT