Installing Linux encountered a summary of problems and solutions __linux

Source: Internet
Author: User
recently began to study Linux, but also used before, but with the company bought Cloud server, now began to install their own virtual machine in the way Linux, as a learning. In the course of the process encountered some problems, summed up, but also on the Internet to see some of the ideas of others, and now share to everyone. Version: Ubuntu 16.40LTS website can download download address for Http://101.96.10.73/releases.ubuntu.com/16.04/ubuntu-16.04-desktop-amd64.iso
The following are the problems encountered and the solutions available1. Display Connection failed with Xshell connection. Workaround: 1 Ubuntu does not install the OpenSSH server by default, so to use SSH to telnet to the Ubuntu host, you first need to install the SSH server.

First, determine if Ubuntu has an SSH service installed:

1, Input: Ps-ef | grep SSH If the service is started, you can see "sshd", otherwise there is no service installed, or no boot started

2, install SSH service, input command: sudo apt-get install Openssh-server

3, start the service:/etc/init.d/ssh start

4, the native test is able to successfully log in: Ssh-l user name native IP    2) may be due to the lack of open 22 ports, or firewall blocking. Open 22-Port  sudo UFW allow 22 disable firewall  sudo UFW disabled
2.xshell connect Ubuntu tool error "No matching OU if development port is not available tgoing encryption algorithm found "
Workaround: This is due to the Linux version of the encryption method, Xshell can not decrypt, so you need to select Xshell file >> Properties Select SSH   Security to set the encryption MAC and key exchange inside the following
Note: If you do not have the above option to show that your Xshell version is too low, you can switch to a high version and then check the above, can be.
3. Running the software is an error "error:you must be root to run this script"
Workaround: This problem is because running this program requires root permissions to execute, so you can switch users sudo su switches back to the user account by Su user

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.