Time of Update: 2016-08-08
標籤:log查看:sudo journalctl -fu docker.service 認證產生參考:https://docs.docker.com/engine/security/https/ vi /lib/systemd/system/docker.service:[Unit]Description=Docker Application Container
Time of Update: 2016-08-12
標籤:Centos查看連接埠佔用情況命令,比如查看80連接埠佔用情況使用如下命令:lsof -i tcp:80列出所有連接埠netstat -ntlp1、開啟連接埠(以80連接埠為例)方法一:/sbin/iptables -I INPUT -p tcp –dport 80 -j ACCEPT 寫入修改/etc/init.d/iptables save 儲存修改service iptables restart 重啟防火牆,修改生效方法二:vi
Time of Update: 2016-08-11
標籤:0-CentOS中文站http://www.centoscn.com/1-CentOS7安裝GNOME可視化介面http://www.centoscn.com/image-text/install/2016/0711/7609.html2-centos7切換映像介面和dos介面http://www.centoscn.com/CentOS/2016/0621/7501.html3-CentOS7配置Apache + MySQL +
Time of Update: 2016-08-10
標籤:Step 1: Setup Yum RepositoryFirstly we need to configure yum repository in our system. Create a new repo file/etc/yum.repos.d/wandisco-svn.repo and add following content as per your operating system version.[WandiscoSVN]name=Wandisco SVN
Time of Update: 2016-08-06
標籤:inux下tree命令詳解---linux以樹狀圖逐級列出目錄的內容命令 #############################################################################命令格式 tree <選項或者是參數> <分區或者是目錄> ############################################################################
Time of Update: 2016-08-06
標籤:轉自http://mirrors.163.com/.help/centos.html使用說明首先備份/etc/yum.repos.d/CentOS-Base.repomv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup下載對應版本repo檔案,
Time of Update: 2016-08-04
標籤:svn配置1.yum install subversion mysql-server httpd mod_dav_svn mod_perl sendmail wget gcc-c++ make unzip perl* ntsysv vim-enhanced2.mkdir /home/svn//建立一個目錄用於儲存SVN所有檔案3.svnadmin create /home/svn/project//建立一個版本倉庫4.mkdir project project/server
Time of Update: 2016-08-02
標籤:CentOS 7的設定檔位置略不同: 具體參見https://www.daocloud.io/mirror#accelerator-doc中set_mirror指令碼。vi /usr/lib/systemd/system/docker.service [Unit]Description=Docker Application Container EngineDocumentation=http://docs.docker.comAfter=network.target
Time of Update: 2016-08-02
標籤:1.查看是否已經安裝 ssl 組件[[email protected] wwwlogs]# cd /usr/local/nginx/sbin/[[email protected] sbin]# ./nginx -Vnginx version: nginx/1.0.15built by gcc 4.1.2 20080704 (Red Hat 4.1.2-52)TLS SNI support disabledconfigure arguments: --user=www -
Time of Update: 2016-07-23
標籤:系統管理員 網路連接 screen 伺服器 遠程協助
Time of Update: 2016-07-23
標籤:首先保證作業系統中已經安裝好了gcc,將apue.2e解壓後拷貝到linux作業系統中,然後輸入[[email protected] apue.2e]# cd lib進入apue.2e的lib檔案夾,輸入[[email protected] lib]# make -f
Time of Update: 2016-07-21
標籤: [[email protected] yum.repos.d]# pwd/etc/yum.repos.d[[email protected] yum.repos.d]# lsCentOS-Base.repo CentOS-fasttrack.repo CentOS-Vault.repoCentOS-Debuginfo.repo CentOS-Media.repo[[email protected] yum.repos.d]# mv
Time of Update: 2016-07-21
標籤:lamp centos 71.編譯安裝httpd-2.4.10(1)首先安裝”DevelopmentTools”和“Server Platform Development”~]# yum groupinstall -y “Development Tools” “ServerPlatform Development”(2)安裝增強版Regex分析器pcre-devel,以及openssl-devel,apr-devel,apr-util-devel,libevent-devel~]#
Time of Update: 2016-07-21
標籤: [[email protected] ~]# yum search pintaLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.tuna.tsinghua.edu.cn * epel: mirrors.ustc.edu.cn * extras: mirrors.163.com *
Time of Update: 2016-07-19
標籤:dockerfile1、安裝docker並啟動docker,不在贅述2、建立使用Dockerfile安裝sshd服務的目錄,名字路徑自訂mkdir sshd_centoscd sshd_centos3、編輯啟動sshd服務的指令檔vim run.sh內容為#!/bin/bash/usr/sbin/sshd -D4、產生宿主機和docker容器通訊的密鑰ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key650) this.width=
Time of Update: 2016-07-19
標籤:永久修改主機名稱:hostnamectl set-hostname <hostname>IP地址:BOOTPROTO=staticIPADDR=192.168.31.128NETMASK=255.255.255.0GATEWAY=192.168.31.2DNS1=192.168.31.2java環境:export JAVA_HOME=/usr/javaexport JRE_HOME=/usr/java/jreexport
Time of Update: 2016-07-19
標籤: 上篇我們講述了如何使用VMware安裝CentOS系統,接下來就看如何安裝我們最為熟悉的jdk吧!安裝前先看看系統上有沒有安裝過jdk,輸入java
Time of Update: 2016-07-19
標籤:1.臨時修改主機名稱顯示主機名稱:[email protected]:~$ hostname zhh64修改主機名稱:[email protected]:~$ sudo hostname zzofs [email protected]:~$ hostname zzofs看一下$PS1[email protected]:~$ echo $PS1 /[/e]0;/[email protected]/h:
Time of Update: 2016-07-18
標籤:設定檔 網卡 虛擬機器 網路 centos7 vm 環境win7 64bitVM workstation 10CentOS 7NAT模式訪問網路,所有虛擬機器都配置在同一個網段內即192.168.0.1~192.168.0.2542.查看並修改預設配
Time of Update: 2016-07-18
標籤:設定檔 網卡 虛擬機器 網路 centos7 vm 環境win7 64bitVM workstation 10CentOS 7NAT模式訪問網路,所有虛擬機器都配置在同一個網段內即192.168.0.1~192.168.0.2542.查看並修改預設配