[CentOS] JDK installation and deployment
Catalog
JDK installation and deployment
I. software version
II. JDK installation
3. Uninstall openjdk
JDK installation and deployment
I. software version
JDK version: jdk-7u79-linux-x64.tar.gz
Other:
Linux Distribution: CentOS-7-x86_64-DVD-1804.iso
FTP Tools: FileZilla_3.32.0-rc1_ ...
Posted by goldfiles on Thu, 31 Oct 2019 15:16:18 -0700
Centos7 installs Redis5.0.5 and joins Systemd service
1. Install gcc-c++, tcl
yum install gcc-c++ tcl
2. Decompress, compile and test
tar zxvf redis-5.0.5.tar.gz
make
make test
3. Install to / opt
make PREFIX=/opt/redis/redis-5.0.5 install
# Create a soft chain
ln -s redis-5.0.5 latest
4. Configuration file. There is an example redis.conf in the source file directory. T ...
Posted by khovorka on Thu, 31 Oct 2019 13:54:46 -0700
Centos 7 installs nginx (source code)
Liunx installing nginx (source code)
First step
Get into Download on nginx official website , select the version you need
For example, I
wget http://nginx.org/download/nginx-1.16.0.tar.gz
decompression
tar -zxvf nginx-1.16.0.tar.gz
install
Enter nginx-1.16.0 directory
./configure
Here, ...
Posted by F.Danials on Wed, 30 Oct 2019 12:59:12 -0700
Using ANSI ble to write playbook to automatically install ceph cluster in Huawei cloud batch configuration management tool
ansible, playbook, huaweiyun, ceph
First, purchase the virtual machine needed to build the ceph cluster on Huawei cloud:
Then purchase the storage disk required by ceph
Mount the purchased disk to the virtual machine used to build ceph
Installing ansible on the springboard machine
Check the ansible vers ...
Posted by Mattyspatty on Sat, 26 Oct 2019 10:10:30 -0700
Super simple kubernetes high availability cluster installation
Precondition
System requirements: 64 bit CentOS 7.6
Turn off firewall and selinux
Turn off the operating system swap partition (it is not recommended to turn it on using k8s)
Please pre configure the hostname of each node to ensure no duplicate.
Please configure the first master to be able to log in all nodes (including itself) keyless
Envir ...
Posted by gotDNS on Sat, 26 Oct 2019 09:00:26 -0700
centos7 installs Docker and changes Alibaba source to download to solve the slow downloading problem of Docker image
I. installing Docker
Update yum package to the latest.[root@localhost ~]# yum update
Install the required software package. Yum util provides the function of Yum config manager. The other two are dependent on the device mapper driver. yum install -y yum-utils device-mapper-persistent-data lvm2
Se ...
Posted by andrew6607 on Sat, 26 Oct 2019 07:05:27 -0700
Python offline installation of python3 pip3 and offline installation of your third-party modules
In the case of many enterprise production networks, servers cannot be connected to the Internet. You can install python and third-party modules offline through the following learning
Install Python 3 dependency package
Off line installation
yum install --downloadonly --downloaddir=/home/files zlib-devel bzip2-devel openssl-devel ncurses-devel ...
Posted by devang23 on Fri, 25 Oct 2019 12:40:12 -0700
3. Docker learning, theoretical knowledge, the third day -- DockerFile
Docker learning
I. DockerFile analysis
1. What is DockerFile
DockerFile is a build file used to build Docker image. It is a script composed of a series of commands and parameters.
Three steps to build:
1. Manually write a DockerFile file
2. docker build to obtain a customized image
3,docker run
2. Analysis of the construction process of Doc ...
Posted by hchsk on Thu, 24 Oct 2019 02:31:41 -0700
[NOI2015] package manager tree chain segmentation
Title Description
Linux users and OSX users must be familiar with package manager. Through the package manager, you can install a package through a line of commands, and then the package manager will help you download the package from the software source, and automatically solve all the dependencie ...
Posted by jackson4me90 on Wed, 23 Oct 2019 22:55:00 -0700
CentOS install MySQL 8. X
MySQL installation (4, 5, 6 can be omitted)
Declaration: CentOS version is 7.6, MySQL version installed is 8.0.17
1. First, uninstall mysql, including MariaDB.
rpm -pa | grep mysql #Use 'rm -rf file name' to delete the found results, and skip if not
rpm -pa | grep mariadb #Use 'rm -rf file name' to delete the found results, and skip if not
fi ...
Posted by seavers on Mon, 21 Oct 2019 20:41:33 -0700