原创 rhel6.5:升級python3.6.1

創建安裝目錄: $ sudo mkdir /usr/local/python-3.6 下載python安裝包: $ cd /opt/ $ sudo wget https://www.python.org/ftp/python/3.6.

原创 centos7:升級python3.7.0

Python-3.7.0.tar.xz安裝包下載: https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz 安裝必要的依賴: $ sudo yum install -y

原创 linux下有趣的commands

接觸了這麼多年的Linux,今日才知道原來linux居然也有如此funny的一面啊!!!下面就簡單的介紹幾條Linux下非常funny的commands。 1、sl:蒸汽機車 注:第一輛蒸汽機車是在第一次工業革命時期,理查德·特里維西剋制

原创 ubuntu codename

1、查看當前系統的codename $ lsb_release -a 2、歷史版本codename Ubuntu 發佈版本的官方名稱是 Ubuntu X.YY ,其中 X 表示年份(減去2000),YY 表示發佈的月份。 Ubuntu

原创 ubuntu下如何配置靜態ip

前些天在xubuntu 18.04 desktop上設置了下靜態IP,發現與centos/linux中區別極大。 1、首先查看網卡名 $ ip a / ifconfig 2、 cp一份yaml文件,改個名字 $ sudo cp /et

原创 國內幾個主要的ubuntu軟件源

1、阿里源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/u

原创 一鍵install centos、rhel腳本(簡易版)

#!/bin/bash # install centos7 or rhel6.5 read -p "please select what version do you want to install, centos7 or rhel6.

原创 centos7:搭建部署lnmp

1. 環境準備 $ sudo yum update -y $ sudo yum install -y wget gcc gcc-c++ # 關閉selinux、firewalld等 2. nginx 1) 創建n

原创 centos7:主從NIS+NFS+autofs

Test environment: NIS-master-server 192.168.10.11 master NIS-salver-server 192.168.10.12 slave NIS-client

原创 xubuntu18-04-1-desktop:搭建部署mantisBT

1. # 先更新下軟件包 $ sudo apt update -y 2. # mantisbt官網下載最新版的mantisbt $ sudo apt install -y wget $ cd /opt $ wget https:

原创 centos7:confluence(6.10.0)+ jira(7.11.0)

1、test-env host-ip:20.20.20.20 host-name:centos7-ssh soft: 2、安裝jira 參考文檔:https://blog.csdn.net/qq_34889607/article/det

原创 rhel6.5:nis-ldap-jira-confluence參考文檔

目錄 1、搭建nis服務器 2、搭建ldap服務器 3、數據庫 4、安裝jdk 5、搭建jira 6、ldap ---> jira 7、搭建confluence 8、jira ---> confluence 參考文檔: 1、搭建nis服務

原创 Cobbler全自動批量安裝部署CentOS7操作系統(內附epel源包)

簡介 Cobbler是一款自動化操作系統部署的實現工具,由Python語言開發,是對PXE的二次封裝。融合多種特性,提供了CLI和Web的管理形式。同時,Cobbler也提供了API接口,方便二次開發使用。它不僅可以安裝物理機,同時也支持

原创 rhel6.5:安裝部署zabbix-3.4.12

目錄 1. # tar包 2. # 安裝php跟apache 3. # 修改主配置文件 4. # 編譯安裝mysql 5. # 編譯安裝libevent 6. # 編譯安裝zabbix 7. # 修改zabbix相關配置 8. # 添加Z

原创 centos7: 搭建ntp時鐘服務器

ntp-server: $ sudo yum install -y ntp $ cat /etc/ntp.conf # For more information about this file, see the man pages