![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
入门和整合
文章平均质量分 88
入门和整合
Chen不旧
重要的是第一步,还有那蜿蜒前行的每一步。
展开
-
05.git安装
通过yum安装yum install git -y查看版本git --version本地仓库初始化mkdir /usr/local/gitRepocd /usr/local/gitRepogit init设置用户名和邮箱git config --global user.email "695418816@qq.com"git config --global...原创 2020-01-21 14:45:04 · 121 阅读 · 0 评论 -
04.mysql安装
通过yum repository安装,地址https://dev.mysql.com/downloads/repo/yum/2.下载rpm文件wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm3.可以参考https://dev.mysql.com/doc/mysql-yum-repo-qui...原创 2020-01-21 10:31:38 · 155 阅读 · 0 评论 -
003.通过ssh登录centos
执行指令ssh-keygen -t rsa使用rsa协议生成公匙和私匙2.三次确认,使用默认存放位置,密码为空,确认密码为空[root@iZbp1gg50ddqbgxf1jpqwwZ ~]# ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/r...原创 2020-01-21 10:30:52 · 189 阅读 · 0 评论 -
centos下docker安装
安装相关依赖yum install -y yum-utils device-mapper-persistent-data lvm2配置国内源sudo yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo安装dockersudo yum -...原创 2020-01-22 14:28:50 · 124 阅读 · 0 评论 -
02.nginx安装
下载地址 http://nginx.org/en/download.html选择下载Stable version上传到服务器解压到安装目录并删除压缩包尝试编译nginx,先进入到ngixn目录cd /opt/nginx1.61./configure --prefix=/opt/nginx编译肯定不通过,需要安装相关的依赖,安装依赖(centos7.6)./configur...原创 2020-01-21 10:29:37 · 84 阅读 · 0 评论 -
06.redis安装
https://redis.io/download 下载安装包上传到服务器解压到目录tar -zxvf redis-5.0.7.tar.gz -C /opt/编译cd /opt/redis-5.0.7make安装cd srcmake install PREFIX=/opt/redis拷贝配置文件mkdir /opt/redis/confcp /opt/r...原创 2020-01-21 14:44:25 · 167 阅读 · 0 评论 -
004.开机启动(新)
一. 写在前面centos7建议使用systemctl来管理服务的自启动,它能够满足之前service和chkconfig的功能systemd有系统和用户区分;系统(/user/lib/systemd/system/)、用户(/etc/lib/systemd/user/)一般系统管理员手工创建的单元文件建议存放在/etc/systemd/system/目录下面创建servi...原创 2020-01-21 10:32:13 · 134 阅读 · 0 评论 -
pyspider + python2.7
升级pippip install --upgrade pippip安装pyspiderpip install pyspider安装phantomjs: https://phantomjs.org/download.htmlwget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux...原创 2020-01-22 14:30:11 · 396 阅读 · 0 评论 -
002开机启动
一.nginx在/etc/init.d/目录下创建脚本文件touch /etc/init.d/nginx粘贴官网给的脚本文件#!/bin/sh## nginx - this script starts and stops the nginx daemon## chkconfig: - 85 15# description: NGINX is an HTTP(S) ...原创 2020-01-21 10:30:18 · 106 阅读 · 0 评论 -
安装python3.7.5
1 .下载地址 https://www.python.org/ftp/python/wget https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tgz2.解压tar -zxvf Python-3.7.5.tgz 3.创建目录mkdir /usr/local/python3 4.执行配置文件,编译,编译安装cd /opt/...原创 2020-01-22 14:29:18 · 5493 阅读 · 1 评论 -
SpringBoot整合Mybatis简单版
一. 快速构建SpringBoot应用并引入相关依赖使用IDEA快速新建一个SpringBoot项目填写项目信息(JDK版本,group和artifact)选择需要的依赖(spring web,JDBC,Mybatis,Mysql Driver)点击完成,等待几分钟生成的POM文件<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.or.原创 2020-07-27 15:37:04 · 286 阅读 · 0 评论 -
01.安装jdk8
下载对应的jdk上传到服务器解压到安装目录tar -zxvf jdk-8u231-linux-x64.tar.gz重命名&删除压缩包rm jdk-8u231-linux-x64.tar.gz mv jdk-8u231 jdk1.8编辑环境变量配置文件vi /etc/profile在末尾处添加:# java env settingexport JAV...原创 2020-01-21 10:29:03 · 80 阅读 · 0 评论