CentOS下PPTP VPN Client安裝配置教程

本文詳細介紹在CentOS裡安裝VPN的用戶端(注意,不是搭建VPN伺服器)1.安裝軟體[root@webserver ~]# yum install ppp pptp pptp-setup2.註冊ppp_mppe kernel module[root@webserver ~]# modprobe ppp_mppe3.建立VPN串連自訂串連名:vpnPPTP Server:123.456.78.90使用者名稱:sun密碼:123456[root@webserver ~]# pptpsetup -

Centos中mail函數發送郵件緩慢解決辦法

因為需要經常備份網站的資料,所以瞭解並學習了下linux下如何通過shell來發送郵件,這裡以CentOS為例,使用mail命令來進行外部郵件的發送。mail命令的文法如下:  代碼如下複製代碼 Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ...           

CentOS 6.6 安裝 Hadoop 叢集記錄(準備階段)

本次安裝選用的是Cloudera Hadoop CDH 5.2.3版本,Cent OS 6.6 的系統,安裝流程為非常的不專業。僅供記錄,勿參考。一、安裝前準備1、更新系統yum update2、安裝JDKA、下載並安裝RPM包cd /usr/local/srcwget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F;

CentOS 6.2編譯ipython執行個體方法

   代碼如下複製代碼 [root@chenyi unix-python]# tar jxf Python-2.7.2.tar.bz2 [root@chenyi unix-python]# cd Python-2.7.2[root@chenyi Python-2.7.2]# ./configure --prefix=/software/python [root@chenyi Python-2.7.2]# make && make

CentOS中管理vsftpd虛擬使用者指令碼

使用方法:  代碼如下複製代碼 [root@itchenyi-1 ~]# ./vsftpd_auto_user.py create chenyi    #建立使用者Please input your ftpuser's password>>:password [root@itchenyi-1 ~]# ./vsftpd_auto_user.py delete chenyi   

centos系統怎麼配置安裝Nagios

#建立使用者useradd nagiospasswd nagiosgroupadd nagcmdusermod -a -G nagcmd nagiosusermod -a -G nagcmd apache#安裝基礎包yum install -y gcc glibc glibc-commonyum install -y gd gd-develyum install -y libtool-ltdl#下載wget

centos系統同步時間問題解決辦法

CentOS系統時間同步的步驟如下:新裝的CentOS系統伺服器可能設定了錯誤的,需要調整時區並調整時間.如下是CentOS系統使用NTP來從一個時間伺服器同步cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtimentpdate

centos系統添加swap分區的方法

情境:最近查看伺服器記憶體總是很少,提示需要增加記憶體空間,但是添加記憶體,要加錢,但是怎麼樣可以同時加大記憶體又不花錢。於是想到了虛擬記憶體,查看了一下,探索服務器並沒有設定swap分區,於是我就從資料盤分出1g來當做swap空間方法: 使用dd命令建立一個swap分區[root@localhost Desktop]#dd if=/dev/zero of=/home/swap bs=1024 count=1048576    count的計算公式:

Centos 6.5升級到Git2.1.2的步驟

安裝需求# yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel# yum install  gcc perl-ExtUtils-MakeMaker卸載Centos內建的git1.7.1通過git –version查看系統帶的版本,Cento6.5應該內建的是git版本是1.7.1# yum remove git下載git2.1.2並將git添加到環境變數中下載git最新版本#

centos下vmware 橋接設定靜態ip例子

使用bridge模式橋接的時候選擇橋接的網卡設定centos靜態ip涉及到二個設定檔,分別是:/etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-eth1首先修改/etc/sysconfig/network如下:添加GATEWAY=192.168.0.1。指定網關地址網關地址查看主機cmd ipconfig /all然後修改/etc/sysconfig/network-scripts/ifcfg-eth1:vim

Centos 6.5下yum升級、修複OpenSSL heartbleed漏洞

這兩天OpenSSL Heart Bleed 漏洞搞得人心惶惶,請看這篇文章:分析、診斷OpenSSL Heartbleed Bug,目前可知的能夠利用此漏洞的版本是:OpenSSL 1.0.1 through 1.0.1f (inclusive) are vulnerableOpenSSL 1.0.1g is NOT vulnerableOpenSSL 1.0.0 branch is NOT vulnerableOpenSSL 0.9.8 branch is NOT

阿里雲伺服器初始化centos 6.4及安裝lnmp教程

1、查看資料盤阿里雲伺服器初始化後是不會自動分區的,所以在沒有分區和格式化資料盤之前,使用 “df –h”命令,是無法看到資料盤的,可以使用“fdisk -l”命令查看。2、對資料盤進行分區執行“fdisk

centos中rabbitmq 安裝配置步驟

1// 安裝預環境2  yum install gcc gcc-c++3  yum install zlib zlin-devel01  // 替換系統預設python2.6-->2.702  下載並解壓:http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz03  cd Python-2.7.604  // 配置安裝目錄05  ./configure

Centos 5.8中64位系統yum安裝php5.2步驟

由於程式運行環境需要,不得不使用老掉牙的PHP5.2以下版本。下面提供兩種方法安裝PHP5.2作業系統: CentOS 5.8 64位(阿里雲空間)1、通過官方下載源碼,編譯安裝下載地址:http://museum.php.net/php2/編譯安裝方法,可以解壓後看README文字檔。2、通過第三方的yum源安裝php5.2.17參考方法:https://webtatic.com/packages/php53/1)通過rpm -qa |grep php

centos中OpenSUSE安裝LEMP/LNMP套件

OpenSUSE安裝LEMP/LNMP套件1.裝nginx、php5和MariaDBzypper install nginx php5 php5-fpm php5-mysql mariadb-tool mariadb

阿里雲Centos伺服器添加Swap空間

我現在使用的是阿里雲最低配置的伺服器,1核、512MB記憶體,查看記憶體資訊Swap空間為0MB,如下:[root@www ~]# free -m             total       used      

CentOS 中VPS開啟80連接埠方法

CentOS 防火牆開啟80連接埠  代碼如下複製代碼 #/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT#/sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT然後儲存:#/etc/rc.d/init.d/iptables save 注意需要重啟服務哦:執行service iptabels save 與 service iptables restart連接埠查看方法: &

centos下ganglia叢集中gmond的安裝與配置(2)

準備工作見上一篇文章《CentOS下ganglia之gmond的安裝與配置》ganglia的安裝包還是用上一篇文章提到的ganglia-3.4.0#cd ganglia-3.4.0#./configure –prefix=/opt/modules/ganglia –with-static-modules –enable-gexec –enable-status –with-gmetad –with-python=/usr &

在CentOS 6.4上安裝配置GlusterFS的方法

環境介紹:OS: CentOS 6.4 x86_64 MinimalServers: sc2-log1,sc2-log2,sc2-log3,sc2-log4Client: sc2-ads15具體步驟:1. 在sc2-log{1-4}上安裝GlusterFS軟體包:  代碼如下複製代碼 # wget -P /etc/yum.repos.d

Centos系統中安裝SVN伺服器的教程

安裝:  代碼如下 複製代碼 # yum install subversion 測試安裝是否成功:  代碼如下 複製代碼 #

總頁數: 353 1 .... 291 292 293 294 295 .... 353 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.