ssh-agent的使用

ssh-agent的使用 今天遇到的問題是我在qa機器上ssh code gerrit機器,需要輸入passphrase。 不輸入password而需要passphrase說明信任關係已經建立,但是key沒有加入到ssh-agent中。  www.2cto.com

Linux查看記憶體,負載狀態

Linux查看記憶體,負載狀態 查看記憶體使用量情況  www.2cto.com   cat /proc/meminfo MemTotal:       16332644 kBMemFree:         5635360 kBBuffers:          787976 kBCached:     &

rsync啟動指令碼

rsync啟動指令碼 01#!/bin/bash  www.2cto.com  02#03# rsyncd      This shell script takes care of starting and stopping04#             standalone rsync.05#06# chkconfig: - 99 5007# description:

在Gentoo下交叉編譯

在Gentoo下交叉編譯 “Sometimes it pays to stay in bed in Monday, rather than spending the rest of the week debugging Monday’s code. “ – Dan Salomon 前幾天攬了個“髒活”,交叉編譯raspbian的檔案系統鏡像。好久沒幹過這麼繁瑣的

Lock screen when logged in gnome env as root

Lock screen when logged in gnome env as root gnome案頭環境下,root使用者不能鎖屏,官方的解釋是出於各種安全性的考慮。  www.2cto.com  我知道對於Linux主義者,直接用root作為第一身份登入系統是必須被千刀萬剮的,可惜我不是完美主義者,我是方便主義者。 OK,無論如何,我現在非常需要在root下有一個鎖屏的方法——為了應付公司的安全檢查。 Google+

suse開啟telnet服務

suse開啟telnet服務 1. 檢測suse的telnet服務是否已安裝(預設安裝時是不安裝telent-Server的) # chkconfig -list | grep telnet   www.2cto.com  在列表中,有如下顯示,表示telnet服務已安裝。 xinetd based services: telnet:            

linux Shell中常用的條件判斷

linux Shell中常用的條件判斷 -b file            若檔案存在且是一個塊特殊檔案,則為真-c file            若檔案存在且是一個字元特殊檔案,則為真-d file            若檔案存在且是一個目錄,則為真-e file    

Linux儲存實驗二:LVM操作

Linux儲存實驗二:LVM操作 Linux儲存實驗二:RAID操作http://www.bkjia.com/os/201303/195811.html  (1) 建立LVM        步驟一:再建立5塊10MB SCSI的硬碟               這一步和上一步製作raid的操作是一樣的,請參見上一篇  

安裝linux jdk錯誤

安裝linux jdk錯誤 安裝linux jdk 出現以下錯誤: ./install.sfx.XXX: not found  系統內容:ubuntu 11(64位) , jdk-6u43-linux-i586.bin 32位  在安裝的過程中會出現以上錯誤,./install.sfx.XXX: not found  sudo ./jre-6u43-linux-i586.binUnpacking...Checksumming.

shell指令碼報錯:-bash: xxx: /bin/sh^M: bad interpreter: No such fi

今天寫了一個shell指令碼,然後在執行的時候報錯,指令碼內容很簡單,僅供測試:Shell代碼:  #!/bin/sh  echo "test shell " 具體報錯資訊如下:Shell代碼:  [root@localhost test]# ./test.sh -bash: ./test.sh: /bin/sh^M: bad 

用expect編寫Linux自動化互動登入指令檔

用expect編寫Linux自動化互動登入指令檔 #本文中所有伺服器名,使用者名稱,密碼都不是真實的。什麼是expect,就是突破shell不能自動互動的局限,可以實現用指令碼進行互動的語言。上代碼吧:goto檔案,用於簡化登入很長名字,不容易管理的伺服器的步驟。前面是個switch,後面是互動的代碼,可以自動輸入密碼,自動進入想去的目錄。[plain] #!/home/users/liuzuocheng/local/tcl/bin/expect -f  set

git常用命令(一些小技巧)

git常用命令(一些小技巧) 安裝git Java代碼  sudo apt-get install git   初始化git  Java代碼  git init   查看目前的目錄下檔案變化  Java代碼  git status  跟蹤修改檔案Java代碼  git add 檔案名稱  e.g  git add README

Nginx: error while loading shared libraries: libpcre.so.1解決

Nginx: error while loading shared libraries: libpcre.so.1解決 Shell代碼  [ew69@localhost conf]# /usr/local/nginx/sbin/nginx  /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file:

fedora18下的xen安裝與管理

fedora18下的xen安裝與管理 ############################# xen installation ############################## 關閉防火牆和禁用selinux# iptables -F# service iptables save# vim /etc/selinux/config    SELINUXTYPE=permissive xen的安裝# yum update# yum -

Linux命令查看主機配置資訊

Linux命令查看主機配置資訊 在Linux中可以使用lspci 和 cat /proc/cpuinfo 查看主機的資訊,這個相當於Windows下CPU-Z軟體哦. 我用的Vmware 裝的虛擬機器 這個是我原生資訊 01[root@localhost home]# cat /proc/cpuinfo02processor       : 003vendor_id       :

linux捷徑啟動tomcat

linux捷徑啟動tomcat 1.指令碼路徑 /etc/init.d/tomcat 首先執行: vi /etc/init.d/tomcat 按 a 編輯,將下面內容根據你自己的情況(主要是修改 /usr/local/tomcat6/bin/ ) 修改後copy到編輯框中, esc 退出編輯,:wq 儲存退出 Java代碼  # !/bin/bash          #

DEBUG (blkif:27) exception looking up device number for xvda

DEBUG (blkif:27) exception looking up device number for xvda: [Errno 2] No such file or directory: '解決      在 RHEL-5.8 安裝 XEN 時報錯如下: [plain] ERROR    POST操作失敗: xend_post:來自 xen 守護進程的錯誤:(xend.err

linux下apache+php搭建配置記錄

linux下apache+php搭建配置記錄 第1章  環境說明1.1 系統說明Centos 6.2 (迷你安裝)1.2 軟體說明httpd-2.4.2.tar.gzapr-util-1.4.1.tar.gzapr-1.4.6.tar.gzpcre-8.13.tar.gzphp-5.4.3.tar.bz2libmcrypt-2.5.8.tar.gzmhash-0.9.9.9.tar.gz第2章  Apache搭建說明2.1 安裝依賴包yum install

/etc/profile,/etc/bashrc,~/.bash_profile,~/.bashrc,~/.bash_l

/etc/profile,/etc/bashrc,~/.bash_profile,~/.bashrc,~/.bash_logout檔案 /etc/profile:此檔案為系統的每個使用者佈建環境資訊,當使用者第一次登入時,該檔案被執行. 並從/etc/profile.d目錄的設定檔中搜集shell的設定.  /etc/bashrc:為每一個運行bash shell的使用者執行此檔案.當bash shell被開啟時,該檔案被讀取.  ~/

CentOS設定pptpd VPN步驟

CentOS設定pptpd VPN步驟 1.安裝ppp服務及相關組件yum install -y ppp iptables 2.下載pptpd最新版本的rpm包(pptpd最新安裝包地址)wget -c http://poptop.sourceforge.net/yum/stable/packages/pptpd-1.3.4-2.rhel5.i386.rpm             wget http://

總頁數: 3662 1 .... 2574 2575 2576 2577 2578 .... 3662 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.