Linux series-a collection of installation in various environments

Source: Internet
Author: User
Tags install redis
The articles on various installation environments on the Internet are messy. I have obtained a set of standard Linux environment installation tutorials.

The articles on various installation environments on the Internet are messy. I have obtained a set of standard Linux environment installation tutorials.

Use VirtualBox to install Linux

Baidu Encyclopedia:

Http://jingyan.baidu.com/article/b2c186c8caaf72c46ff6ff7a.html

1. ubuntu installation text tutorial reference document:Http://blog.csdn.net/liaolu2999/article/details/52081438

-Note that all the items are in English and an error will be reported during installation.

Http://www.linuxidc.com/Linux/2016-08/134580.htm

-The host name is localhost.

-Assists the common root user in setting jupiter

-The current user is jupiter and the password is abcd1234.

2. how can I find the shared folder in VirtualBox?

-This problem is how to copy external content in a linux virtual machine, but it is not implemented.

Http://blog.chinaunix.net/uid-27034868-id-3412024.html

3. export the VM to the file-TODO

4. use the vagrant tool-TODO: Instructions for Use

Https://my.oschina.net/u/3424381/blog/888205

Preparations

1. enable the administrator permission. the root account is disabled by default in utunbu. to enable the root account, run sudo passwd on the terminal.

-First, you are prompted to enter the password of the current user.

-Then, you will be prompted to set the root password. enter the new password twice. OK.

Sometimes you must add sudo to Linux commands, because even if the root user logs on, it does not necessarily have the highest system permission.

2. how to enable ssh on linux

-External content cannot be copied or pasted in VirtualBox, so we log on through ssh

Install the SSH service

-Sudo apt-get install ssh

-Reference:

Http://www.360doc.com/content/13/1116/17/3777348_329691460.shtml

Use root to log on to ssh

-Once the Ubuntu system is installed, you cannot log on to the system through ssh using the root account. Instead, you can log on to the system using another user, configure the root account, and then log on

Procedure

-Use a common user to log on to Ubuntu and open the command line window.

-Change the root user password. Command: sudo passwd root

-First, enter the password of the current user.

-Enter the password of the root account.

-Confirm the password of the root user.

-Edit the ssh configuration file. Command: sudo vi/etc/ssh/sshd_config

-In the Authentication section, comment out "PermitRootLogin without-password"

-In the Authentication section, add "PermitRootLogin yes"

-Save the data and exit the editor.

-Restart the ssh service with the command: sudo service ssh restart.

-Then you can use the root account to log on to ssh.

Reference:

Http://jingyan.baidu.com/article/8ebacdf02f552b49f65cd5c9.html

Password-free logon

-Use ssh-keygen on the client to generate the public key and dead key

-Upload the public key ~ /. Ssh/authorized_key file for password-free login

3. how to use sftp to upload and download things from a linux server is also very inconvenient, so we can use FileZilla to implement

Operation

-To use the sftp function, add the following configuration text to the ssh configuration file/etc/ssh/sshd_config. take SLES 10.3 as an example:

-Subsystem sftp/usr/lib64/ssh/sftp-server

-Restart the ssh service by using ssh restart.

Reference:

Https://zhidao.baidu.com/question/646621162747500445.html

Common commands, but we do not need to use the command line tool.

4. new methods for installing node in Linux

-Apt install nodejs

-Apt install npm

-Npm install-g n

-N lts

-Corner stone: https://github.com/tj/n

References:

Http://www.cnblogs.com/cike8899/p/5954553.html

Old approaches

Http://www.linuxidc.com/Linux/2016-09/135487.html

Http://jingyan.baidu.com/article/25648fc18ee5bd9190fd0058.html

Install java jdk 1.8 in Linux

1. ubuntu installation

Reference:

Http://www.linuxdiyf.com/linux/22044.html

Old approaches

Http://blog.csdn.net/yebhweb/article/details/55098189

-Wget http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.tar.gz

2. centos install yum-y install java-1.8.0-openjdk *

Install jenkins in Linux

1. install jenkins on ubuntu

5.1.1. installation documentation

-Reference: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins

-Chinese reference documents: http://blog.csdn.net/Mungo/article/details/52453544

Http://www.linuxdiyf.com/linux/22000.html

-After installation, you can log on to Port host: 8080 for access.

-Find the initialization password in the specified file in the figure.

-Install the plugin required by jenkins and set the username to admin and password to abcd1234.

5.1.2. several problems during installation

-It seems that there is a version problem. it can only be Java jdk1.8.

Http://stackoverflow.com/questions/21338721/gpg-no-valid-openpgp-data-found

-Https://www.google.com/webhp? Sourceid = chrome-instant & ion = 1 & espv = 2 & ie = UTF-8 # q = ubuntu16.4 % E5 % AE % 89% E8 % A3 % 85 jkens

2. install jenkins on centos

Install docker on Linux

Official website:

Https://docs.docker.com/engine/installation/linux/ubuntu/

Installation steps

-Delete the docker image and working directory.

-Rm-rf/var/lib/docker

-The node image of dockerhub contains python2.7.9.

Install nginx on Linux

Improving ......

Install redis on linux

Http://blog.csdn.net/mungo/article/details/51322665

Https://my.oschina.net/ghm7753/blog/653303

Install mongo on Linux

Https://my.oschina.net/ghm7753/blog/653264

Install gogos on Linux

Improving ......

Install gitlab on Linux

1. documents-official website: https://about.gitlab.com/downloads/

-The http://www.tuicool.com/articles/bYbi2mJ seems to have a new image method.

-Https://yq.aliyun.com/articles/74395? Spm = 5176.1096799.0.0.7fp6s9

Install mysql on Linux

Improving ......

Related Article

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.