顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


文章 - vincent119

頁: [1] 2 3 ... 5
2
Linux 討論版 / Re: freeradius 設定問題
« 於: 2015-03-17 11:00 »
文件在這
http://wiki.freeradius.org/config/Radclient

我給的範例比那網頁的Example還多 所以我說不用看他


BTW
radiusclient  的.conf 只改一個 radius server 的IP 位址



3
Linux 討論版 / Re: freeradius 設定問題
« 於: 2015-03-16 11:52 »
之前有給範例 !! 可以參考他
不用去找文件

5
我喜歡分開

DATETIME=‵date  "+%Y%m%d"‵
tar -zcvf test_$DATETIME.tar.gz  test

6
Tks
已修改

不知道為何預設是 +1

7
您好 vincent119
顯示上次離線後的新文章
顯示回覆我的新文章
04-11-2014, 12:17:07

快一小時

8
Linux 討論版 / Re: freeradius 設定問題
« 於: 2014-11-04 11:03 »
echo "cat <<EOF | /usr/local/sbin/radacct -f /usr/local/etc/radiusclient/radiusclient.conf
User-Name=$RUSE
Acct-Delay-Time=10
Acct-Status-Type=stop
Acct-Session-Id=$SESSION
Acct-Authentic=RADIUS
Service-Type=Login-User
Acct-Delay-Time=0
Acct-Terminate-Cause=Host-Request
Login-Service=SSH
Framed-IP-Address=$REMO_IP
Framed-Protocol=SSH
EOF" > $RUN_PATH/$CONSLOE



參考!!以前搞得

9
肉腳版 / Re: GeoDNS 設定
« 於: 2014-10-20 17:54 »
看設定是沒問題,不過不知道那裏啟動錯誤,啟動錯誤能貼上來看看嗎


http://www.ip2location.com/developers/apache
這是另一種作法

11
樓上應該是正解

12
user環境變數吧!!
在root 下 echo PATH出來看看

13
Linux 討論版 / Re: EAP-SIM error message
« 於: 2013-04-01 14:24 »
沒實際做過這東西
不過他已經跟你說了原因~~

14
Linux 討論版 / Re: shell ftp 之後再執行動作
« 於: 2012-04-02 14:28 »
2樓說得很明白了

startTime=`/bin/date +"%Y%m%d %H:%M:%S"`
echo $startTime >> /home/admin/start.txt

ftp -n "$host" <<EOC
user $id $pw
binary
cd $remodir
bye
EOC
endTime=`/bin/date +"%Y%m%d %H:%M:%S"`
echo $endTime > /home/admin/end.txt

15
max_requests 這設定值是多少??

16
肉腳版 / 回覆: 勾表要怎麼用啊 ^^"
« 於: 2008-07-21 13:49 »
測量PC時,我用美工刀小心翼翼的將電源線某段的黑色外皮削掉,再用電錶勾住。
量冷氣機電冰箱時,就花了100元DIY做了一個轉換座,這樣就不用破壞設備上面原有的電線了。
如果是無法關機的設備,就不能這樣玩了,除非你心臟夠大… 要不就勾在breaker吧,但是這必須一次開一台主機,數據才準,講了半天好像還是白搭。
這讓我想起ZMAN老大的一件事: 某大公司要請ZMAN大刀闊斧地整理網路線,但是前提是:網路線不能斷  ;D


老大用勾表 不用破壞電線絕緣層,勾表通常用於比較大電壓上。

17
database 討論版 / 回覆: SQL2000的語法錯誤
« 於: 2008-07-21 13:38 »
假設有個table 叫aaa, 內容有2個欄位,如下:


有個疑問aaa1 aaa2那來的

18
請按
開始功能表/程式集/Microsoft SQL Server 2005/組態工具/SQL Server Configuration Manager

19
ROUTE [-f] [-p] [command [destination]
                  [MASK netmask]  [gateway] [METRIC metric]  [IF interface]

  -f           Clears the routing tables of all gateway entries.  If this is
               used in conjunction with one of the commands, the tables are
               cleared prior to running the command.
  -p           When used with the ADD command, makes a route persistent across
               boots of the system. By default, routes are not preserved
               when the system is restarted. Ignored for all other commands,
               which always affect the appropriate persistent routes. This
               option is not supported in Windows 95.

20
這問題!!最大可能 recycle: repository = ../Recycle/%u
路徑設錯了

21
提供一下log&架構吧!!

22
Linux 討論版 / 回覆: FC5 vsftpd problem
« 於: 2007-12-28 16:51 »
我想問一下!!你的問題是啥??還是你要告訴大家什麼事。

23
你main.cf 這2行拿掉
relay_domains = $mydestination $mynetworks
relayhost = mail.um.com

我做過的架構user帳號是在pop機器上
在try一下吧

24
看來你沒用搜尋,這種問題很多人問過!!

要執行如下

#crontab -e

0 * * * * /usr/bin/sa-learn --showdots --spamlearn --mbox /var/spool/mail/spamlearn
0 * * * * /usr/bin/sa-learn --showdots --ham  --mbox /var/spool/mail/notspam

25
其實說穿了只是玩dns遊戲,看你的需求去規劃,你這樣設定也沒錯,記得你的mx會是落在對外ip的段落。
1.外部的dns mx紀錄 有2筆,先後次序看你自己規劃,甚至一筆也ok,你也可以讓smtp收外面的信在轉到pop也可以讓pop直接收信
    端看你的需求及作法。如果有spam裝置也能夠對外由spam收信後轉到pop,smtp就只是發信,這樣也行喔。
2.對user來說看到的只有smtp或是pop的名稱設定若是依照你的狀況那就是mail &smtp 注意一下就好了。

26

1.在smtp機器上的main.cf 加上 transport_maps=/etc/postfix/transport
transport 內容 your_domain smtp:[your_pop_server] <- 記得修改一下
2.修改dns 外部dns mx指到新機器 如果有多的ip mx 第二筆可以指向pop(記得修改防火牆規則),內部dns 新增smtp & pop
3.修改user的outlook 的設定 pop指向原有機器 smtp指向新機器


27
程式討論版 / 回覆: 請教8051 c語言
« 於: 2007-12-26 17:42 »
幾百年沒寫了,都還給老師了~~~

直接定址
MOV a #FFH  = MOV a #255



這是一樣的

28
Linux 討論版 / 回覆: 關於SUN的問題
« 於: 2007-12-26 15:24 »
沒人回答!! 我來偷偷回答一下
1.可以說是也能說不是!!debain就有for sparc CPU的linux,不過應該都會用solaris安裝吧。
2.對於unix基本指令來說都一樣,要學的是系統的指令每一種unix平台的系統指令都不一樣。
3.我認為看你是啥用途,正式上線的就用sparc CUP0 安裝,要學習的就放在一般主機。



29
Linux 討論版 / cacti的圖表出不了
« 於: 2007-11-14 08:51 »
在排程有 run 這東西嗎

cactiuser php /var/www/html/cacti/poller.php

30
肉腳版 / NT4.0古老的問題~
« 於: 2007-11-02 15:00 »
本機登入就好!!

頁: [1] 2 3 ... 5