
安裝使用Git
安裝git #apt-get install git 配置git用戶名 #git config –global user.name GIT-NAME 配置git郵箱 #git config –global user....
安裝git #apt-get install git 配置git用戶名 #git config –global user.name GIT-NAME 配置git郵箱 #git config –global user....
分布式存儲(chǔ)已經(jīng)研究很多年,但直到近年來(lái),伴隨著谷歌、亞馬遜和阿里等互聯(lián)網(wǎng)公司云計(jì)算和大數(shù)據(jù)應(yīng)用的興起,它才大規(guī)模應(yīng)用到工程實(shí)踐中。如谷歌的分布式文件系統(tǒng)GFS、分布式表格系統(tǒng)google Bigtable,亞馬遜的對(duì)象存儲(chǔ)AWS,阿里的TF...
處理方法: 1、I just backed up redis (by copying /var/opt/gitlab/redis/dump.rdb). 2、I deleted all keys inside: 3、a) Login to r...
應(yīng)帥氣的領(lǐng)導(dǎo)要求,需要腳本監(jiān)控生產(chǎn)環(huán)境mysql和mongo數(shù)據(jù)庫(kù)服務(wù)。不僅要connect successful還要進(jìn)行數(shù)據(jù)交互進(jìn)一步確認(rèn)數(shù)據(jù)庫(kù)服務(wù)正常。 代碼如下: #!/bin/bash #author:吳青聰 #email:wuqi...
一、cobbler安裝部署 1、修改YUM倉(cāng)庫(kù) vim /etc/yum.repos.d/my.repo [epel] name=epel baseurl=https://mirrors.aliyun.com/epel/7Server/x8...
一、cobbler安裝部署 1、修改YUM倉(cāng)庫(kù) vim /etc/yum.repos.d/my.repo [epel] name=epel baseurl=https://mirrors.aliyun.com/epel/7Server/x8...
PHP:Hypertext Preprocessor超文本預(yù)處理器的縮寫,是一種被廣泛應(yīng)用的開發(fā)源代碼的多用途腳本語(yǔ)言,它可以嵌套在HTML中,尤其是web開發(fā)。 PHP代碼塊被包含在特殊的起始符和結(jié)束符中的。 PHP功能: 1.服務(wù)端腳本...
第1章環(huán)境描述: [root@ops-tmp-app-2~]#cat/etc/redhat-release CentOSLinuxrelease7.4.1708(Core) [root@ops-tmp-app-2~]#getenforce ...
需求:在生產(chǎn)上,要把服務(wù)器日志傳到日志備份服務(wù)器上 生產(chǎn)服務(wù)器上只保留7天前的日志 用shell腳本實(shí)現(xiàn) 備份腳本為 [root@xxx scripts]# cat back_log.sh #!/bin/bash #majihui #bac...
最小化安裝后,有時(shí)候會(huì)需要桌面,這時(shí)用下面方法可搞定: 1:yum groupinstall "GNOME Desktop" "Graphical Administration Tools" 執(zhí)行完畢...