repo

华为云-CentOS7.5模板搭建部署

南楼画角 提交于 2019-12-26 12:44:03
配置 yum curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.myhuaweicloud.com/repo/CentOS-Base-7.repo 配置跳板机的 yum 源 安装工具包 yum -y install net-tools lftp rsync psmisc vim bash-completion lrzsz 优化系统服务 systemctl stop postfix ntpd yum remove postfix ntp yum install -y chrony 配置时间同步 vim /etc/chrony.conf server ntp.myhuaweicloud.com iburst systemctl enable chronyd systemctl start chronyd 来源: CSDN 作者: 戚酒歌 链接: https://blog.csdn.net/weixin_46033563/article/details/103710205

最小化安装Linux初始配置

限于喜欢 提交于 2019-12-26 00:45:43
最小化安装Linux初始配置 1.关闭firewalld systemctl stop firewalld systemctl disable firewalld 2.关闭seliunx(或兼容模式) sed -i 's/SELINUX=.*/SELINUX=permissive/' /etc/selinux/config setenforce 0 3.设置主机名 hostnamectl set-hostname xxxx 4.更换yum国内源、安装epel yum install wget mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo yum clean all yum makecache 5.配置基本环境:wget、net-tools、jdk、.... 来源: CSDN 作者: 且紅獣 链接: https://blog.csdn.net/qq

How do you merge two Git repositories when one is a subdirectory of the other without losing commit history?

拟墨画扇 提交于 2019-12-25 08:59:38
问题 Current folder structure /root: server code exists here /root/client: client code exists here (a subdirectory within the server's directory). Current git tracking 1 repo tracking Server code in /root that gitignores the entire client directory 1 repo tracking Client code only within /root/client. The Problem I am trying to merge these two repos while keeping one as the subdirectory of the other , combining the historical commits of both (not losing any). Findings So Far I have found a lot of

MySQL5.6_Linux下yum安装

陌路散爱 提交于 2019-12-25 07:36:12
linux(centos)下通过yum安装mysql5.6 准备:安装MySQL Yum Repository, 下载地址 https://dev.mysql.com/downloads/repo/yum/ 查看当前Linux(red hat)版本号:cat /proc/version 查看CentOs版本号: cat /etc/redhat-release glibc升级:yum update glibc 新开的云服务器,需要检测系统是否自带安装mysql # yum list installed | grep mysql 如果发现有系统自带mysql,果断这么干 # yum -y remove mysql-libs.x86_64 接着执行这句,解释一下,这个rpm还不是mysql的安装文件,只是两个yum源文件,执行后,在/etc/yum.repos.d/ 这个目录下多出mysql-community-source.repo和mysql-community.repo # rpm -ivh mysql-community-release-el6-5.noarch.rpm 这个时候,可以用yum repolist mysql这个命令查看一下是否已经有mysql可安装文件 #yum repolist all | grep mysql 选择要安装版本, 比如mysql 5.6, 修改

2-1 RHEL6.5 环境搭建与部署

拈花ヽ惹草 提交于 2019-12-25 04:43:25
第二部分: Linux常见服务管理 2-1 RHEL6.5 环境搭建与部署 第二部分主要讲解的是开源服务搭建 学习方法与注意事项: 1. 端正态度,开始学习 2. 认真完成作业和实验(并详细记录) 3. 保持初衷,坚持到底! 4. 学习方法 总结一个属于自己的笔记 掌握学习服务的方法,触类旁通 作业(多做实验,多敲命令) 沉静,不浮躁 5. 沉不下心!去投简历吧 ############################################## 大纲: 1. RHEL6与RHEL7操作区别 2. RHEL6环境搭建 ############################################## 1. RHEL6.5 与RHEL7.2 操作区别 6.5 7.2 文件系统 ext4 xfs 网络配置 配置文件路径 /etc/sysconfig/network-scripts/ifcfg-eth0 格式化分区 partx/mkfs.ext4 fdisk/mkfs.xfs 服务管理 service systemctl 设置开机启动 chkconfig systemctl enable 开机启动级别 /etc/inittab systemctl set-default 等等... 2. RHEL6环境搭建 安装CentOS虚拟机: 要求

Publishing licensed artifact to Maven Central Repository

风格不统一 提交于 2019-12-24 23:09:48
问题 I need to push our project API's (bundled jar) to Maven Central Repository. As Part of that,i have gone through this link . However, am quite confused whether our project is eligible to publish in maven central repo, Our API is not open source. it need to distribute only to client who purchase from us. is Maven provides any restrictions to download jar only for specific user who has some key etc? POM.xml is requesting for licensing information. ours is not open source, if we allowed to

linux学习-DAY4-Docker

馋奶兔 提交于 2019-12-24 23:03:15
Docker Docker 的优点 提供简单轻量的建模方式 职责的逻辑分离 快速高效的生命周期 鼓励使用面向服务的架构 Docker 的组成 Docker C/S结构 ​ Docker是C/S(客户端client-服务器server)架构模式。 docker通过客户端连接守护进程,通过命令向守护进程发出请求,守护进程通过一系列的操作返回结果。 docker客户端可以连接本地或者远程的守护进程。 Docker Image 镜像 ​ 镜像是容器的基石,容器基于镜像启动和运行。镜像就好像容器的源代码,保存了容器各种启动的条件。镜像是一个层叠的只读文件系统。 Docker container 容器 ​ 容器通过镜像来启动,容器是docker的执行来源,可以执行一个或多个进程。镜像相当于构建和打包阶段,容器相当于启动和执行阶段。容器启动时,Docker容器可以运行、开始、停止、移动和删除。每一个Docker容器都是独立和安全的应用平台。 ​ 要注意的是,由于容器是基于镜像的,所以不管对容器怎样的操作,一旦容器重启,一切都会变成最开始的样子。 Docker registry 仓库 ​ docker仓库用来保存镜像。docker仓库分为公有和私有。docker公司提供公有仓库docker hub,网址: https://hub.docker.com/ 。我们也可以创建自己私有的仓库。 一、安装

gerrit + repo vs git + reviewboard

江枫思渺然 提交于 2019-12-24 18:19:06
git:代码版本管理工具 repo: 对git的封装。多个git库同时管理工具。 gerrit:代码审核工具。使用gerrit,必须使用repo 三者各自功能 git,版本管理库,在git库中没有中心服务器的概念,真正的分布式。 repo,repo就是多个git库的管理工具。如果是多个git库同时管理,可以使用repo。当然使用gerrit,就必须用repo。 gerrit,提交审核代码,图形化的界面,简单的操作 Review Board是程序员节约时间、资金和精力的代码审查好工具。语法高亮的代码,可便于更快读取。 来源: CSDN 作者: 糟心的事太多,唯有写作可以解忧! 链接: https://blog.csdn.net/weixin_44124323/article/details/103684203

Android10.0 系统源代码编译

只愿长相守 提交于 2019-12-24 06:46:02
AndroidQ已改名Android10, 今天我们换一种方式来编译Android10。 编译环境 Windows10,VMware15,Ubuntu18.04, 虚拟环境。 PC机,内存32G,CPU 16 核心,I7八代。 Ubuntu18.04 虚拟机。 源码下载 下载 git : sudo apt - get install git 配置PATH环境变量 mkdir ~ / bin echo "PATH=~/bin:\$PATH" >> ~ / . bashrc source ~ / . bashrc 安装curl库: sudo apt - get install curl 下载repo并设置权限: curl https : / / mirrors . tuna . tsinghua . edu . cn / git / git - repo > ~ / bin / repo chmod a + x ~ / bin / repo 安装python : sudo apt - get install python 下载源码 建立工程目录: mkdir aosp cd aosp 使用tanna源 export REPO_URL = 'https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/' 设置账户: git config --

centos yum repo 国内镜像

∥☆過路亽.° 提交于 2019-12-23 17:52:02
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 阿里云镜像 #备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup #如果你的centos 是 5 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo #如果你的centos是6 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo yum clean all yum makecache 163镜像 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS5-Base-163.repo wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/