+4 votes
191 views
Mount a Cloud server in Ubuntu

in Web Servers by (552k points)
reopened | 191 views

1 Answer

+5 votes
Best answer

Installing a cloud server with the Linux Ubuntu operating system is not difficult since most of the required packages do not need a lot of configurations.

The Ubuntu Enterprise Cloud (UEC) consists of a cloud controller and one or more node controllers of the instances. The Ubuntu cloud is based on the Eucalyptus software

We will start download Ubuntu cloud from http://www.ubuntu.com/download , download the iso. We can install it on virtualbox to make tests.

image


We start the system, choose the language and then select the option Install Ubuntu Enterprise Cloud and then follow the installation steps that are like the installation of a normal server. once the system is rebooted we access the management console of the cloud controller node.

When starting again we go to the terminal window and with the command ifconfig | more we look for what is the IP that we are using

Once the IP address is known, we open a Chrome or Firefox browser, enter the ip in the address bar and access the virtual administration console where we can see some of the parameters of the cloud we are creating. The default username and password to access the administration console is admin for both the user and the password.

Suppose an ip 190.23.125.46, access from the browser will be http://190.23.125.46:8443
where 8443 is the port of the administration console service.

The first time the password and the user will be admin. Once the first configuration is complete, the credentials tab ("credentials") is selected in the upper left part of the screen.

image


We download credentials to obtain the certificates. They are downloaded and decompressed in the directory
 ~ / .euca cd ~ / .euca unzip -d ~ / .euca mycreds.zip 

Then from the terminal window we write the following commands to create certificates:

 mkdir -p ~ / .euca chmod 700 ~ / .euca cd ~ / .euca sudo euca_conf --get-credentials mycreds.zip unzip mycreds.zip ln -s ~ / .euca / eucarc ~ / .eucarc cd - 

We installed the euca2ools unit to use the certificates

 sudo apt-get install euca2ools 

To verify that certificates work from the terminal we write the following instruction

 . ~ / .euca / eucarc euca-describe-availability-zones verbose AVAILABILITYZONE myowncloud 190.23.125.46, AVAILABILITYZONE | - vm types free / max cpu ram disk AVAILABILITYZONE | - m1.small 0004/0004 1 192 2 AVAILABILITYZONE | - c1.medium 0004/0004 1 256 5 AVAILABILITYZONE | - m1.large 0002/0002 2 512 10 AVAILABILITYZONE | - m1.xlarge 0002/0002 2 1024 20 AVAILABILITYZONE | - c1.xlarge 0001/0001 4 2048 20 

We will see the result of the created certificates

Once the server is configured, we start installing the services to make it functional as a web server.

 Instantly install perl libraries sudo apt-get install libwww-perlfirewall 

Then the firewall csf, then php, Apache http, mysql, phpmyadmin. Once installed all the basic services you can install a control panel such as Cpanel, Directadmin or Zpanel.

by (3.5m points)
edited

Related questions

+5 votes
1 answer
+5 votes
1 answer
asked Jun 23, 2019 in Web Servers by backtothefuture (552k points) | 315 views
+5 votes
1 answer
asked Jun 23, 2019 in Web Servers by backtothefuture (552k points) | 232 views
+4 votes
2 answers
asked May 23, 2019 in Linux / Unix by backtothefuture (552k points) | 492 views
+3 votes
1 answer
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users