顯示文章

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


文章 - van416

頁: [1] 2
1
Linux 討論版 / Re: POSTFIX新增账户问题
« 於: 2012-12-07 11:14 »
怎么没人回复啊。谢谢

2
我用自己的程式 java -jar s.jar & 打开了一个端口9001
处于listen状态
代碼: [選擇]
[root@localhost server]# netstat -tlan | grep 9001
tcp        0      0 :::9001                     :::*                        LISTEN 

[root@localhost server]# jobs
[1]+  Running                 java -jar s.jar &

如果客户端在使用这个端口,就OK,
如果客户端没有使用这个端口,好像就会直接关闭这个端口,这是为什么啊。命令要怎么用才能让这个端口一直开启啊。谢谢



3
Linux 討論版 / POSTFIX新增账户问题
« 於: 2012-05-28 14:11 »
环境:centos5.4 64位
今天接触postfix,请教一个简单的问题,postfix怎么新增一个账户啊,并且,在cmd窗口下怎么用这个发邮件啊。
谢谢~
另外home_mailbox = Maildir/ 这个目录是自动生成的,还是要创建用户手动建立啊。

4
Linux 討論版 / Postfix奇怪的问题
« 於: 2012-02-16 18:05 »
环境:centOS-5.5  postfix
今天上午还可以收发MAIL,到了今天下午不知道为什么,发不了了.
/usr/sbin/postfix start 好多次了,都是这样的..
linux shadow 内部的可以发送接收:
里面有两个用户,一个chao,一个jack,可以发送与接收,但是就是转发不了nisshotech.com.cn..
如下附上main.cf与错误信息.
请各位大大帮忙解决一下..谢谢了

用mailq提示的错误如下:
代碼: [選擇]
[root@niss ~]# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
1A5A8168036*     788 Thu Feb 16 18:13:20  chao@mail.niss.com
                                         chao_fan@nisshotech.com.cn

1C1B516802A      800 Thu Feb 16 18:06:36  chao@mail.niss.com
(delivery temporarily suspended: Host or domain name not found. Name service error for name=nisshotech.com.cn type=MX: Host not found, try again)
                                         chao_fan@nisshotech.com.cn

-- 2 Kbytes in 2 Requests.

感觉很纳闷:
于是: grep -v "^#" /etc/postfix/main.cf 出来,也没有发现什么问题.
代碼: [選擇]
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = mail.niss.com
mydomain = niss.com
myorigin = $myhostname
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks_style = subnet
relay_domains = $mydestination
relay_domains = 163.com
relay_domains = nisshotech.com.cn
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no

smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
message_size_limit = 15728640

另外,我的dns服务器完全正常,给163发MAIL也是显示如下:
代碼: [選擇]
[root@niss ~]# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
1A5A8168036      788 Thu Feb 16 18:13:20  chao@mail.niss.com
(Host or domain name not found. Name service error for name=nisshotech.com.cn type=MX: Host not found, try again)
                                         chao_fan@nisshotech.com.cn

1C1B516802A      800 Thu Feb 16 18:06:36  chao@mail.niss.com
(Host or domain name not found. Name service error for name=nisshotech.com.cn type=MX: Host not found, try again)
                                         chao_fan@nisshotech.com.cn

ABE28168039      762 Thu Feb 16 18:34:23  chao@mail.niss.com
(Host or domain name not found. Name service error for name=vip.163.com type=MX: Host not found, try again)
                                         php@vip.163.com

-- 4 Kbytes in 3 Requests.

maillog如下:
代碼: [選擇]
tail /var/log/maillog
Feb 16 18:34:26 niss dovecot: pop3-login: Login: user=<jack>, method=PLAIN, rip=::ffff:192.168.0.192, lip=::ffff:192.168.0.201
Feb 16 18:34:26 niss dovecot: POP3(chao): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Feb 16 18:34:26 niss dovecot: POP3(jack): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Feb 16 18:34:43 niss postfix/smtp[3138]: ABE28168039: to=<php@vip.163.com>, relay=none, delay=20, delays=0.06/0.01/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=vip.163.com type=MX: Host not found, try again)
Feb 16 18:44:34 niss postfix/qmgr[2769]: 1C1B516802A: from=<chao@mail.niss.com>, size=800, nrcpt=1 (queue active)
Feb 16 18:44:34 niss postfix/qmgr[2769]: ABE28168039: from=<chao@mail.niss.com>, size=762, nrcpt=1 (queue active)
Feb 16 18:44:54 niss postfix/smtp[3182]: ABE28168039: to=<php@vip.163.com>, relay=none, delay=631, delays=611/0.01/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=vip.163.com type=MX: Host not found, try again)
Feb 16 18:44:54 niss postfix/smtp[3183]: 1C1B516802A: to=<chao_fan@nisshotech.com.cn>, relay=none, delay=2299, delays=2279/0.03/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=nisshotech.com.cn type=MX: Host not found, try again)
Feb 16 18:49:34 niss postfix/qmgr[2769]: 1A5A8168036: from=<chao@mail.niss.com>, size=788, nrcpt=1 (queue active)
Feb 16 18:49:54 niss postfix/smtp[3197]: 1A5A8168036: to=<chao_fan@nisshotech.com.cn>, relay=none, delay=2195, delays=2175/0.02/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=nisshotech.com.cn type=MX: Host not found, try again)

5
第二個問題:2.為什么裝完Ubuntu之后,XP系統進不去,出現\system32\hal.dll呢? 該如何解決呢?
已經搞定了為 :multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect 問題

原因為裝了ubuntu之后,將分區改過了。改成  multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect  之后可以正常進XP系統的

第一個問題還請高手幫忙解決~

6
現在我已經走grub的loader路線了~但依舊遇到問題

我想要四個系統環境 ,分別為:DOS+XP+Ubuntu10.04 32位+Ubuntu10.04 64位

C:盤為DOS(/dev/sda0),D:盤為:WINXP(/dev/sda1) ,Ubuntu10.04 32位分為兩個:/為 (/dev/sda3) swap 為(/dev/sda4) ,Ubuntu10.04 64位為 :/ 為 (/dev/sda5) swap 為(/dev/sda6)
 
首先裝DOS與XP,裝好之后,啟動文件如下:
引導為boot.ini 如下:
代碼: [選擇]
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\="dos"

當我裝完Ubuntu 10.04 32位后

進入時發現其引導的類型為:GRUB2  選擇出現了四個選項,grub.cfg部份如下:
代碼: [選擇]
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 816871d7-20cc-47ac-943e-dee6d69f10a2
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=816871d7-20cc-47ac-943e-dee6d69f10a2 ro mem=512M  quiet splash mem=512M
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 816871d7-20cc-47ac-943e-dee6d69f10a2
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=816871d7-20cc-47ac-943e-dee6d69f10a2 ro single mem=512M
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 816871d7-20cc-47ac-943e-dee6d69f10a2
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set 816871d7-20cc-47ac-943e-dee6d69f10a2
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows NT/2000/XP (on /dev/sda1)" {
insmod fat
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2d70-1709
drivemap -s (hd0) ${root}
chainloader +1
}


我選擇最后一個 Windows NT/2000/XP (on /dev/sda1) 后出現 進入DOS與WINXP的boot.ini選擇按鈕~

而這不是我想要的結果,我想要的是先進入 boot.ini,再進入Grub4DOS再進入GRUB2

于是我下載了一個Grub4dos將 c:\grldr=Ubuntu 10.04加入到 Boot.ini,  

但是我不知道怎麼將Grub4dos寫到MBR中? 所以啟動后依舊是Grub2=>Boot.ini=>Grub4dos=>Grub2進入Ubuntu

1.是否可以直接直接 Boot.ini=>Grub4dos=>Grub2進入Ubuntu 呢?  
2.為什么裝完Ubuntu之后,XP系統進不去,出現\system32\hal.dll呢? 該如何解決呢?

還請幫忙



7
hikohan 博士:

   我用的系統是:用wubi.exe安裝的Ubuntu10.04 32位與64位   其中Ubuntu10.04 32位與64位的啟動為:wubildr.mbr 與wubildr  這兩個文件在32位與64位是一樣的 ,將這兩個文件放入C:\下之后,他會自動進入64位,不能進入32位,我只有進入winxp后將F盤的ubuntu改名后ubuntu.bak才可以進入到32位~
備注: C盤:DOS , D盤:winxp E盤:Ubuntu10.04 32位  F盤:Ubuntu10.04 64位

我想達到的目的為在BOOT.INI里面可以指定選擇32位或者64位,是否可以實現如下的選擇呢? 需要修改什么呢?

[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\="dos"
C:\wubildr3.mbr = "Ubuntu32"
C:\wubildr6.mbr = "Ubuntu64"

8
不好意思,已經搞定了

在 do_test1()后面加個嵌套

代碼: [選擇]
start

if [$? = 0];then
   echo "OK"; 
else
   echo "FAIL";

fi
#=================
start()
{
   do_test1
   if [$? != 0];then
     do_test2
       if [$? != 0];then
       return 3
       fi
       return 1
   fi

   do_test2
   if [$? != 0];then
       return 2
   fi
   
  return 0
}
#=================
do_test1()
{
   1=1
   if [$? != 0];then
     echo pass1;
     return 0
   else
     echo fail1;
     return 1;
   fi
   return 0
}

do_test2()
{
   2=2
   if [$? != 0];then
     echo pass2;
     return 0
   else
     echo fail2;
     return 1;
   fi
   return 0
}

9
各位好:

 有一段Linux Shell不知道怎麼實現,請大夥幫忙看看:
 我想讓do_test1()運行完成之后不管return 為0或者1,都將運行do_test2(); 但在最后會顯示:如過return 0 ;則echo OK,如果return 1 則 echo FAIL;
幫我看看可以如何實現,感謝

代碼: [選擇]
start

if [$? = 0];then
   echo "OK";  
else
   echo "FAIL";

fi
#=================
start()
{
   do_test1
   if [$? != 0];then
       return 1
   fi

   do_test2
   if [$? != 0];then
       return 2
   fi
  
  return 0
}
#=================
do_test1()
{
   1=1
   if [$? != 0];then
     echo pass1;
     return 0
   else
     echo fail1;
     return 1;
   fi
   return 0
}

do_test2()
{
   2=2
   if [$? != 0];then
     echo pass2;
     return 0
   else
     echo fail2;
     return 1;
   fi
   return 0
}

  

10
前輩: 能詳細點嗎?感謝~

11
再想问一下:wublidr.mbr是指定/boot/grub/grub.cfg    但32位與64位這兩個文件都一樣,我要怎么改才可以讓其指定到32位系統,或者64位系統  感謝

12
各位下午好:


今在Ubuntu10.04 64位與XP與DOS系統上通過Wubi安裝Ubuntu10.04 32位系統,按裝完成后啟動系統依舊為64位的系統,無法進入到32位的系統,我要怎麼修改才可以指定想進入32位或者64位?
感謝
環境:C盤: DOS系統 D盤:winxp系統 E盤:想裝ubuntu10.04 32位系統 F盤:Ubuntu10.04 64位系統


DOS下boot.ini為:
代碼: [選擇]
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\="dos"
C:\wubildr.mbr = "Ubuntu"

13
問題自己已經解決:

跟網絡有關,我用的是代理上網,關了之后用ADSL直接上網可以更新完成

14

主板為:ASUS的P7H55D-M PRO
芯片组   :英特尔® H55高速芯片组

謝謝~~ 我再看看

15
運行環境:Ubuntu 10.0 64位
運行apt-get update出現的錯誤如下:
代碼: [選擇]
administrator@ubuntu:~$ sudo apt-get update
Get:1 http://security.ubuntu.com lucid-security Release.gpg
Get:2 http://us.archive.ubuntu.com lucid Release.gpg
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
98% [3 Translation-en_US bzip2 0B] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US         
Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
73% [4 Translation-en_US bzip2 0B] [Connecting to us.archive.ubuntu.com (91.189.92.170)] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US                                   
Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US                                   
58% [5 Translation-en_US bzip2 0B] [Connecting to us.archive.ubuntu.com (91.189.92.170)] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US                                     
Get:6 http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US                                 
48% [6 Translation-en_US bzip2 0B] [Connecting to us.archive.ubuntu.com (91.189.92.170)] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US                                   
Get:7 http://us.archive.ubuntu.com lucid-updates Release.gpg                                                 
Get:8 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
48% [8 Translation-en_US bzip2 0B] [Connecting to us.archive.ubuntu.com (91.189.92.170)] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US                                 
Get:9 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US                         
43% [9 Translation-en_US bzip2 0B] [Connecting to us.archive.ubuntu.com (91.189.92.170)] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US                           
Get:10 http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US                               
38% [10 Translation-en_US bzip2 0B] [Waiting for headers] [Connecting to security.ubuntu.com (91.189.92.166)]bzip2: (stdin) is not a bzip2 file.
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US                                 
Get:11 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US                                                                                                               
34% [11 Translation-en_US bzip2 0B] [Connecting to us.archive.ubuntu.com (91.189.92.170)] [Waiting for headers]                                                                           206B/s 16sbzip2: (stdin) is not a bzip2 file.
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US                                                                                                                   
Get:12 http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US                                                                                                               
31% [12 Translation-en_US bzip2 0B] [Waiting for headers] [Connecting to security.ubuntu.com (91.189.92.166)]                                                                             206B/s 18sbzip2: (stdin) is not a bzip2 file.
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US                                                                                                                 
Get:13 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US                                                                                                             
29% [13 Translation-en_US bzip2 0B] [Connecting to us.archive.ubuntu.com (91.189.92.170)] [Waiting for headers]                                                                           206B/s 21sbzip2: (stdin) is not a bzip2 file.
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US                                                                                                                 
Get:14 http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US                                                                                                                 
27% [14 Translation-en_US bzip2 0B] [Waiting for headers] [Connecting to security.ubuntu.com (91.189.92.166)]                                                                             206B/s 23sbzip2: (stdin) is not a bzip2 file.
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US                                                                                                                   
Get:15 http://us.archive.ubuntu.com lucid Release                                                                                                                                                   
Err http://us.archive.ubuntu.com lucid Release                                                                                                                                                     
 
Get:16 http://us.archive.ubuntu.com lucid-updates Release                                                                                                                                           
Err http://us.archive.ubuntu.com lucid-updates Release                                                                                                                                             
 
Get:17 http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US                                                                                                               
33% [17 Translation-en_US bzip2 0B] [Connecting to security.ubuntu.com (91.189.92.166)]                                                                                                   206B/s 25sbzip2: (stdin) is not a bzip2 file.
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US                                                                                                                 
Get:18 http://security.ubuntu.com lucid-security Release                                                                                                                                           
Err http://security.ubuntu.com lucid-security Release                                                                                                                                               
 
Fetched 8,400B in 10s (784B/s)                                                                                                                                                                     
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://us.archive.ubuntu.com lucid Release: The following signatures were invalid: NODATA 1 NODATA 2

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://us.archive.ubuntu.com lucid-updates Release: The following signatures were invalid: NODATA 1 NODATA 2

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://security.ubuntu.com lucid-security Release: The following signatures were invalid: NODATA 1 NODATA 2

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/lucid-security/Release 

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid/Release 

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/lucid-updates/Release 

W: Some index files failed to download, they have been ignored, or old ones used instead.

16
請教Ubuntu高手:

   本人遇到一個很奇怪的問題,在ubuntu9.04 32位的系統下可以正常抓到網卡,並且可以上網,但是在ubuntu10.0 64位的系統上無法看到網卡,並且無法上網,具體做的實驗如下:

如下都在64位的系統下運行的:
用ifconfig :
代碼: [選擇]
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
用dmesg | grep -in eth:
代碼: [選擇]
674:[    1.731125] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
680:[    1.731873] eth0: RTL8168d/8111d at 0xffffc900041a0000, 20:cf:30:cc:76:0f, XID 083000c0 IRQ 35
699:[   13.578725] udev: renamed network interface eth0 to eth14

PS:用ifup eth0 或者ifup eth14均無效~~

從以上來看eth0網卡明顯已經被加載進了,可是為什么用ifconfig看不到呢?

17
Windows 討論版 / 回覆: WIN7連接NOVELL
« 於: 2010-08-25 16:34 »
我的MAIL為:chao.red@gmail.com

18
Windows 討論版 / 回覆: WIN7連接NOVELL
« 於: 2010-08-25 16:32 »
感謝~~~

在NOVELL網站上下載軟件
Novell Client 2 SP1 for Windows
自定義安裝好像沒有這個選擇項protocol
可否將你用的軟件發給我一下?

PS:我的NOVELL ServerIP為:127.0.0.8,在客戶端裝完Novell Client 2 SP1 for Windows之後,只有在本地WIN7客戶端上設定IP:127.0.0.*之後才可以連接上NOVELL
我們公司有很多客戶端WIN7,用TCP/IP不理想,依舊想使用IPX,還請幫忙 

19
非常感謝~~~

20
Windows 討論版 / 回覆: WIN7連接NOVELL
« 於: 2010-08-17 10:17 »
Hi,wangccw:

   感謝你的回答~~
  但目前我在WIN7下都連接不上NOVELL
在WINXP下可以在運行裡面輸入:\\TESTSVR1(NOVELL服務器各)就可以進入NOVELL服務器
但在WIN7下輸入根本就找不到

你的WIN7下裝了什麼軟件或者是做了什麼配置?

感謝!!

21
Windows 討論版 / WIN7連接NOVELL
« 於: 2010-07-24 16:36 »
各位,下午好:

  前言:
DOS下連接NOVELL用如下方法:
LSL.COM:
DLKFET.COM:
此為DLink DFE530-TX網卡的ODI驅動程式
IPXODI.COM:
此為IPX通訊協定程式。
NETX.EXE

WINDOWS連接NOVELL用:
安裝 Client Server for NetWare 協議

請各位玩過WIN7與NOVELL的前輩幫忙解決一下,WIN7連接NOVELL具體用什麼方法?
有從NOVELL網站上下載軟件
Novell Client 2 SP1 for Windows
安裝後但不知道該怎麼配置,才可以連接進NOVELL~~~

非常感謝你們的解決~







22
Windows 討論版 / 在DOS中從文件截取字符串
« 於: 2010-07-08 11:53 »
各位大大好:

本人有一個DOS方面的問題,如下

 截取字符串 可以用如下的命令
  =========================================
  @echo off
  set ifo=abcdefghijklmnopqrstuvwxyz0123456789
  echo %ifo%
    echo %ifo:~0,5%
  echo %ifo:~-5%
  echo %ifo:~0,-5%
  echo %ifo:~3,5%
  echo %ifo:~-14,5%
  pause
但從文件夾中怎麼截取呢?
如文件FILE中有如下字符
abcdefghijklmnopqrstuvwxyz0123456789

用什麼命令可以從FILE文件中截取abcd字符呢?

感謝~~


23
謝謝,現在可以了,不過每次要看新的程式前都要“清楚瀏覽器快取”[CTRL+R]

不知道你寫PHP是怎麼可以看到最新程式的

24
請TyroneYeh見涼,因為剛剛入門:
那要怎麼修改Cache呢才能使我每次都顯示改變後的程式!

25
各位前輩,大家好:
     剛進PHP這一站的我遇到了一個問題:
     比如我寫了一個程式 1.php
<?php
 echo 'i love php';
?>

用http://localhost/1.php  可以顯示出   i love php
但是我依舊在1.php里加入:
<?php
 echo 'i love php';
  echo 'i failed';
?>

用http://localhost/1.php打開,依舊是 i love php
沒有顯示 i failed, 請問這是為什麼啊? 跟cookie 有關嗎? 我該怎麼設置呢?

26
Thanks~

我會仔細研究這一塊的

27
各位大大,下午好:
     小弟的公司測試系統用的是NOVELL5.1的服務器
  安裝好了IPX等協議後可以MOUNT NOVELL,需要用什麼安裝包或者其他指令可以從客戶端LINUX UBUNTU9.04版上取的系統時間,THANKS! >:(

28
原來是這樣的!!!~~
那如果這樣的想用shell script該如何解決啊?

問題匯總如下:
/root/my 內容為: file&linux    注:file字符為變動的字符   ---變量1
/root/file內容也為變動的(一直在增加):           -----變量2
abcd
1234
789456
......
/home/test為目地檔案



我建立了一個shell script add.sh  
#!/bin/bash

1 family=$(cut -c 1-4 /root/my)
2 echo $family
3 file
4 tail -n 1 /root/$family >> /home/test


運行add.sh後,出現 : tail : error reading '/root/' : Is a directory

當我將$family改為file之後 tail -n 1 /root/file>> /home/test.txt  再次運行OK
但這不是我想要的,我想讓file成為一個變量。

我想這錯誤應該也是你所說的

shell script 是另外一個獨立的 process,你無法用該 shell script 控制當前所在 shell 的工作目錄。

請問Kenduest大哥,上述shell script該如何才能將變量family文件的內容寫入到test文件中


29
Computer 討論版 / 回覆: LINUX CP 指令問題
« 於: 2010-04-26 16:53 »
太精闢了,我明白了,THANKS!

30
我在$date下建立一個文件a
可以執行 cp /root/$data/a /root  同時a文件也COPY到了ROOT目錄下
但cd $date就是不能進入到此目錄?

e.g:
$date為04262010
cd /root/$date之後
目錄依舊在root下

頁: [1] 2