Ubuntu cannot get IP address automatically via H3cloud OS

Source: Internet
Author: User
Tags cas get ip

"Applicable version": H3cloudos E1136 , CAS e0303h02 , Ubuntu 16.04.02

"Problem description":

Cloud hosting is not available via cloud platform IP address, but in CAS platform is already bound to the IP , in Ubuntu unable to inject on system IP .

"Problem analysis":

Ubuntu16.04.2 version default installation python3.5 , but CAS e0303h02 of the Castools is through python2.7 to run script injection IP , so cannot inject IP .

"Workaround":

  1. Install dependent packages

    $sudo Apt-getinstall binutils

    Description: Prerequisites First Configure the installation source

    $sudo vi/etc/apt/sources.list

    Add in the following: Deb https://cloud.r-project.org//bin/linux/ubuntuxenial/

    Configuration Key Certifications

    $sudo apt-keyadv--keyserver keyserver.ubuntu.com--recv-keys e084dab9

    Update the installation source (ensure that the Internet is properly connected)

    $sudo apt-getupdate

  2. Installing python2.7

    Installing python2.7

    $sudo apt-get Install Python

    Check python version

    $sudo python

    Description: If prompted after execution Python 2.7 Proof of installation complete

"Summary":

in the CAS when making the image, you need to check if it works properly. Castools to be issued IP address.



This article from "Think you think, no no no" blog, please be sure to keep this source http://joket.blog.51cto.com/3504252/1913768

Ubuntu cannot get IP address automatically via H3cloud OS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.