PIXNET Logo登入

里歐's 布拉格

跳到主文

生活543

部落格全站分類:

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 3月 25 週一 201319:29
  • Installation vsftpd-3.0.2 with xinetd on CentOS 6 .4 x86_64

wget https://security.appspot.com/downloads/vsftpd-3.0.2.tar.gz
tar -zxvf vsftpd-3.0.2.tar.gz
yum -y install gcc openssl-devel libcap-devel tcp_wrappers-devel xinetd
cd vsftpd-3.0.2
sed -i 's/undef VSF_BUILD_TCPWRAPPERS/define VSF_BUILD_TCPWRAPPERS/g' builddefs.h
sed -i 's/undef VSF_BUILD_SSL/define VSF_BUILD_SSL/g' builddefs.h
make
ls -l vsftpd
mkdir /usr/share/empty/
mkdir /var/ftp/
mkdir /etc/vsftpd/
chown root.root /var/ftp
chmod og-w /var/ftp
make install
cp vsftpd.conf /etc/vsftpd
cp RedHat/vsftpd.pam /etc/pam.d/vsftpd
sed -i 's@file=/etc/ftpusers@file=/etc/vsftpd/ftpuser@g' /etc/pam.d/vsftpd
(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(175)

  • 個人分類:Linux
▲top
  • 12月 21 週五 201218:04
  • MPLS QoS Example

class-map match-all mgmt
 match access-group name mgmt
class-map match-all level_1
 match access-group name level_1
class-map match-all level_2
 match access-group name level_2
class-map match-any VOICE
 match access-group name VOICE
 match ip dscp ef
!
!
policy-map 2M_COS_Queuing
 class level_1
  bandwidth 700
 class level_2
  bandwidth 400
 class VOICE
  priority 180
 class mgmt
  bandwidth 64
 class class-default
  fair-queue
policy-map shape-2M
 class class-default-2M
  shape average 2000000
 service-policy 2M_COS_Queuing
(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(88)

  • 個人分類:Cisco
▲top
  • 10月 02 週二 201220:24
  • 手動設定windows ntp client (w32tm & reg)

#########################################################
## REG COMMAND 設定每3600秒同步NTP伺服器
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient /v SpecialPollInterval /d 0x00000e10 /t REG_DWORD /f
#########################################################
(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(1) 人氣(4,821)

  • 個人分類:Microsoft
▲top
  • 9月 12 週三 201221:15
  • Installation Memcached On CentOS 6.3

wget https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz
tar xzf libevent-2.0.20-stable.tar.gz
cd libevent-2.0.20-stable
./configure --prefix=/usr/local/libevent && make && sudo make install
(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(16)

  • 個人分類:Linux
▲top
  • 7月 20 週五 201220:43
  • Installation vsFTPd on CentOS

wget https://security.appspot.com/downloads/vsftpd-3.0.0.tar.gz
tar -zxvf vsftpd-3.0.0.tar.gz
yum -y install gcc openssl-devel
cd vsftpd-3.0.0
sed -i 's/undef VSF_BUILD_TCPWRAPPERS/define VSF_BUILD_TCPWRAPPERS/g' builddefs.h
sed -i 's/undef VSF_BUILD_SSL/define VSF_BUILD_SSL/g' builddefs.h
make
ls -l vsftpd
useradd nobody
mkdir /usr/share/empty/
mkdir /var/ftp/
mkdir /etc/vsftpd/
useradd -d /var/ftp ftp
chown root.root /var/ftp
chmod og-w /var/ftp
make install
cp vsftpd /usr/local/sbin/vsftpd
cp vsftpd.conf /etc/vsftpd
cp RedHat/vsftpd.pam /etc/pam.d/vsftpd
sed -i 's@file=/etc/ftpusers@file=/etc/vsftpd/ftpuser@g' /etc/pam.d/vsftpd
(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(25)

  • 個人分類:Linux
▲top
  • 5月 25 週五 201211:05
  • Solaris Command

prstat -a 
  
  


 Column Headings for the prstat Report


Default Column Heading
Description


PID 
The PID number of the process.


USERNAME        
The login name or UID of the owner of the process.


SIZE 
The total virtual memory size of the process.


RSS 
The resident set size of the process in kilobytes, megabytes, or gigabytes.


STATE 
The state of the process:


•   cpu – The process is running on the CPU.


•   sleep – The process is waiting for an event to complete.


•   run – The process is in the run queue.


•   zombie – The process terminated, and the parent is not waiting.


•   stop – The process is stopped.


PRI 
The priority of the process.


NICE 
The value used in priority computation.


TIME 
The cumulative execution time for the process.


CPU 
The percentage of recent CPU time used by the process.


PROCESS/NLWP    
The name of the process/the number of lightweight processes (LWPs) in the process.

(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(10)

  • 個人分類:
▲top
  • 2月 23 週四 201213:45
  • Windows 2008 R2找KMS Server做產品啟動時,出現0xC004F074錯誤

01由於目前文件上提到的可能原因為KMS不是1.2版本才造成此問題,根據實際的經驗,以下三個原因都可能造成此錯誤的產生:
狀況1:KMS Server版本非升級至1.2版本
狀況2:KMS Client無法找到KMS Server
狀況3:KMS Client的時間或時區設定錯誤
(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(602)

  • 個人分類:Windows
▲top
  • 2月 17 週五 201213:40
  • Windows Update Server IP




198.78.204.253
60.199.191.11
64.4.11.160
65.54.87.180
65.54.87.81


199.93.49.254
60.199.191.26
64.4.11.30
65.54.87.181
65.54.87.87


199.93.52.253
60.199.191.27
64.4.30.134
65.54.87.182
65.54.87.88


199.93.56.254
60.199.191.33
64.4.30.89
65.54.87.208
65.54.87.98


204.160.115.253
60.199.191.34
65.54.51.251
65.54.87.209
65.54.87.99


204.160.116.253
60.199.191.35
65.54.51.253
65.54.87.211
65.55.12.249


205.128.75.253
60.199.191.8
65.54.87.100
65.54.87.212
65.55.13.190


205.128.91.254
60.199.191.9
65.54.87.108
65.54.87.216
65.55.13.86


206.33.38.254
60.254.153.11
65.54.87.109
65.54.87.217
65.55.184.152


206.33.53.253
60.254.153.16
65.54.87.110
65.54.87.218
65.55.184.155


206.33.63.254
60.254.153.17
65.54.87.13
65.54.87.220
65.55.184.16


207.123.49.253
60.254.153.19
65.54.87.132
65.54.87.221
65.55.184.26


207.123.53.254
60.254.153.24
65.54.87.135
65.54.87.226
65.55.184.27


207.46.19.254
60.254.153.25
65.54.87.136
65.54.87.227
65.55.185.26


207.46.21.123
60.254.153.26
65.54.87.137
65.54.87.228
65.55.200.139


207.46.21.124
60.254.153.8
65.54.87.14
65.54.87.229
65.55.200.155


207.46.21.58
60.254.153.9
65.54.87.149
65.54.87.27
65.55.200.156


208.49.52.10
60.254.175.25
65.54.87.150
65.54.87.28
65.55.25.60


208.49.52.8
60.254.175.58
65.54.87.153
65.54.87.39
65.55.27.220


209.84.13.118
60.254.175.66
65.54.87.154
65.54.87.40
65.55.53.190


209.84.5.254
60.254.175.8
65.54.87.16
65.54.87.41
8.12.221.254


23.3.104.10
63.150.131.16
65.54.87.163
65.54.87.42
8.254.0.124


23.3.104.42
63.150.131.25
65.54.87.164
65.54.87.57
8.27.252.253


23.3.104.43
63.150.131.33
65.54.87.165
65.54.87.58
8.27.253.125


23.3.104.66
63.150.131.41
65.54.87.166
65.54.87.59
8.27.254.126


4.23.63.253
63.150.131.42
65.54.87.17
65.54.87.61
8.27.254.249


4.26.254.126
63.150.131.8
65.54.87.171
65.54.87.62
8.27.255.254


58.26.185.57
63.217.21.11
65.54.87.172
65.54.87.78
 


58.27.22.57
63.217.21.9
65.54.87.177
65.54.87.79
 


58.27.22.90
63.80.242.17
65.54.87.178
65.54.87.80
 

(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(404)

  • 個人分類:Windows
▲top
  • 1月 12 週四 201217:55
  • CactiEZ 0.6 upgrade to Cacti 0.8.7i

cd /tmp
mkdir cactiupgrade
cd cactiupgrade
wget http://www.cacti.net/downloads/cacti-0.8.7i-PIA-3.1.tar.gz
tar -xvzf cacti-0.8.7i-PIA-3.1.tar.gz
cat /var/www/html/include/config.php | grep database_password
mysqldump -l -u cactiuser -p  --add-drop-table cacti > mysql.cacti
ls -al
mv /var/www/html /var/www/html_old
mv cacti-0.8.7i-PIA-3.1 /var/www/
mv /var/www/cacti-0.8.7i-PIA-3.1 /var/www/html
cat /var/www/html_old/include/config.php | grep database_type
cat /var/www/html/include/config.php | grep database_type
cat /var/www/html_old/include/config.php | grep database_default
cat /var/www/html/include/config.php | grep database_default
cat /var/www/html_old/include/config.php | grep database_hostname
cat /var/www/html/include/config.php | grep database_hostname
cat /var/www/html_old/include/config.php | grep database_username
cat /var/www/html/include/config.php | grep database_username
cat /var/www/html_old/include/config.php | grep database_password
cat /var/www/html/include/config.php | grep database_password
vi /var/www/html/include/config.php
cp --reply=yes /var/www/html_old/rra/* /var/www/html/rra/
cp -u /var/www/html_old/scripts/* /var/www/html/scripts/
cp -u -R /var/www/html_old/resource/* /var/www/html/resource/
mv /var/www/html_old/plugins/index.php /var/www/html_old/plugins/index.php.old
cp -u -R /var/www/html_old/plugins/* /var/www/html/plugins/
chown -R apache.apache /var/www/html
(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(304)

  • 個人分類:Cacti
▲top
  • 1月 06 週五 201219:18
  • Windows 2003 Server 關閉不必要的服務

Print Spooler  (Disable)
管理所有本機和網路列印佇列,並控制所有列印工作。如果這個服務被停止,本機電腦列印將無法使用。如果這個服務被停用,任何明確依存於它的服務將無法啟動。 

Remote Registry  (Disable)
啟用遠端使用者修改這個電腦上的登錄設定。如果這個服務被停止,登錄只能由這個電腦上的使用者修改。如果這個服務被停用,任何明確依存於它的服務將無法啟動。
(繼續閱讀...)
文章標籤

里歐 發表在 痞客邦 留言(0) 人氣(179)

  • 個人分類:Windows
▲top
12...13»

自訂側欄

自訂側欄

個人資訊

里歐
暱稱:
里歐
分類:
好友:
累積中
地區:

熱門文章

  • (285)Enterasys A2 Switch Restore Configuration to factory defaults (Reset Password)
  • (10,640)[Linux][CentOS]設定 yum mirror 為台灣地區
  • (988)[Linux] Configuring the Softflowd NetFlow Exporter
  • (2,547)[Linux] 調整時區、系統時間、BIOS時間、同步系統時間 For Redhat
  • (1,344)Solaris 環境變數設定
  • (602)Windows 2008 R2找KMS Server做產品啟動時,出現0xC004F074錯誤
  • (4,821)手動設定windows ntp client (w32tm & reg)

文章分類

  • Mikrotik (0)
  • 理財 (0)
  • Cacti (1)
  • XenServer (1)
  • VMware (1)
  • 旅遊 & 飲食 (1)
  • Network (1)
  • Cisco (12)
  • Windows (6)
  • MySQL (7)
  • Solaris (18)
  • Symantec (6)
  • 文章 (3)
  • Acronis (0)
  • FortiGate (3)
  • Linux (48)
  • Microsoft (5)
  • 未分類文章 (1)

最新文章

  • Installation vsftpd-3.0.2 with xinetd on CentOS 6 .4 x86_64
  • MPLS QoS Example
  • 手動設定windows ntp client (w32tm & reg)
  • Installation Memcached On CentOS 6.3
  • Installation vsFTPd on CentOS
  • Solaris Command
  • Windows 2008 R2找KMS Server做產品啟動時,出現0xC004F074錯誤
  • Windows Update Server IP
  • CactiEZ 0.6 upgrade to Cacti 0.8.7i
  • Windows 2003 Server 關閉不必要的服務

動態訂閱

文章精選

文章搜尋

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣: