Time of Update: 2018-08-02
如果你在windows裡寫的shell指令碼放到linux系統裡運行就可以會提示如下錯誤syntax error near unexpected token `...這是因為兩個平台下面的分行符號不一樣導致的。所以需要轉換下格式,notepad++就有這個功能。 具體操作步驟 1.首先開啟notepad++,讓指令碼顯示所有符號,發現是CR LF
Time of Update: 2018-08-03
twemproxy下載 https://github.com/twitter/twemproxy 安裝步驟 1、首先查看目前的版本 $rpm -qf /usr/bin/autoconf autoconf-2.63-5.1.el6.noarch 2.如果版本低於2.64則需要卸載如下 $rpm -e --nodeps autoconf-2.63 3、下載並安裝新版本 $wget
Time of Update: 2018-08-02
最近買了一台Centos環境的伺服器,在配置Nginx的時候出現了一點點問題,經過一番尋找終於解決了問題。以下為安裝配置過程: 一、準備工作 1、Nginx的安裝依賴於以下三個包,所以在安裝前要準備好以下的三個包: SSL功能需要openssl庫,下載地址:http://www.openssl.org/ gzip模組需要zlib庫,下載地址:http://www.zlib.net/ rewrite模組需要pcre庫,下載地址:http://www.pcre.
Time of Update: 2018-08-03
一:查看cpu more /proc/cpuinfo | grep "model name" grep "model name" /proc/cpuinfo 如果覺得需要看的更加舒服 grep "model name" /proc/cpuinfo | cut -f2 -d: 二:查看記憶體 grep MemTotal /proc/meminfo grep MemTotal
Time of Update: 2018-08-11
使用supermin製作CentOS的Docker鏡像 在CentOS7上安裝supermin $ sudo yum install -y supermin* 建立鏡像 (以下命令需要使用root運行) # supermin5 -v --prepare bash coreutils -o supermin.d# supermin5 -v --build --format chroot supermin.d -o appliance.d# echo 7 >
Time of Update: 2018-08-12
一、在安裝FastDFS之前必須先安裝libevent,安裝libevent步驟如下: 1.下載libevent: wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz 2.解壓libevent: tar -zxvpf libevent-2.0.21-stable.tar.gz 3.進入解壓目錄: cd
Time of Update: 2018-08-16
問題描述】CentOs系統中使用yum安裝軟體,出現如下錯誤 [root@localhost ~]# yum install gnuradio usrp Loaded plugins: fastestmirror Existing lock /var/run/yum.pid: another copy is running as pid 15069. Another app is currently holding the yum lock; waiting for
Time of Update: 2018-08-16
CentOS-6.5離線安裝docker-1.7教程 0. 準備 本文是類比實際上線時,沒有網路的情況下使用rpm包安裝docker-1.7的方法。不過安裝中也是使用yum,相比較直接使用rpm安裝,yum可以解決一些庫檔案的依賴關係。 # cd /etc/yum.repos.d/ # mkdir bak # mv * bak/ 1. 安裝libcgroup # cd cgroup/ # yum
Time of Update: 2018-08-19
先啟動一個純的centos容器 docker run -it --name=sample centos /bin/bash 然後打ssh localhost會發現如下錯誤。 bash: ssh: command not found 接下去就教你如何能夠ssh localhost. yum install openssh-serveryum install openssh-clients 這時候再試一下ssh localhost,發現錯誤改變: ssh: connect
Time of Update: 2018-08-20
安裝完vsftpd後,預設情況下,CentOS的防火牆是不開放ftp服務的,需要添加模組和開放21連接埠才能提供ftp訪問。 1.添加ip_conntrack_ftp 模組 [root@hexuweb101 ~] vi /etc/sysconfig/iptables-config 添加下面一行 IPTABLES_MODULES="ip_conntrack_ftp" 2.開啟21連接埠 [root@hexuweb101 ~] vi
Time of Update: 2018-08-20
系統內容:CentOS 7.3.10.0-693.el7.x86_64 teamviewer版本:v12.0.85001 (rpm) 1、teamviewer下載 # wget https://dl.tvcdn.de/download/version_12x/teamviewer_12.0.85001.i686.rpm 2、yum安裝 # yum -y install teamviewer_12.0.85001.i686.rpm 如無意外則會安裝完畢
Time of Update: 2018-08-10
標籤:replicat ase process ystemd scp 程式 col 技術分享 負載平衡 MariaDB-MMM高可用群集1.MySQL-MMM概述MMM(Master-Maste
Time of Update: 2018-08-14
標籤:bsp oca load nload 指令碼 伺服器 sys har hive 一、安裝並使用MariaDB作為Ambari、Hive、Hue的儲存資料庫。yum install
Time of Update: 2018-08-15
標籤:init har http oss 服務 install water my.cnf cli 1.輸入命令查詢系統中已安裝的mysql2. . 逐個卸載mysql yum remove
Time of Update: 2018-08-10
標籤:下載 system ora config general iso this 著作權 ml2 下載源碼包 &
Time of Update: 2018-08-06
標籤:ali cep tor chm sock starting rect out tail #!/bin/sh## mysqld This shell script takes
Time of Update: 2018-08-16
標籤:.com centos ted img lis rest 工具 英文版 分享 作業系統CentOS 7.5,安裝的時候選擇的事中文,後來想改成英文
Time of Update: 2018-08-08
標籤:tar.gz config efi prefix 需要 ftp tps eve mkdir 安裝python3大多數雲平台沒有安裝zlib和openssl的devel包,需要提前安裝&nb
Time of Update: 2018-08-02
標籤:ncurses ftp Fix line prefix config tools lin -shared 安裝必要的包yum groupinstall ‘Development
Time of Update: 2018-08-07
標籤:image 光碟片 vmware 預設 ctr 進入 完成 本機 win windows下VMware-workstation中安裝CentOS,可以分兩部分,安裝虛擬機器和安裝Cen