顯示文章

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


文章 - kuroshieh

頁: [1] 2
1
拾人牙慧 / 好站推薦 -- program fire技術論壇
« 於: 2008-08-15 23:33 »
以筆記為主的一個論壇~
目前沒有雜七雜八的問題~ 只有一堆分享出來的筆記與心得~
有空來逛逛^^

http://forum.share-blog.com

linux 指令, linux教學, linux下載, linux kernel, linux安裝, linux問題
windows 疑難排解, windows小技巧, 網路資訊安全, SEO優化
php教學 , php mysql , php 語法
Flex & ActionScript 專區
機車大小事 機車改裝 機車心得 :-*

2
謝謝~~已經成功了~  
hostname後面加port號就能進入了

3
Virtualization 虛擬化技術 / 內容有點長~
« 於: 2007-07-12 16:01 »
[root@crm bin]# vmware-config.pl
Making sure services for VMware Server are stopped.

Stopping VMware services:
   Virtual machine monitor                                 [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   DHCP server on /dev/vmnet1                              [  OK  ]
   Host-only networking on /dev/vmnet1                     [  OK  ]
   DHCP server on /dev/vmnet8                              [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
   Host-only networking on /dev/vmnet8                     [  OK  ]
   Virtual ethernet                                        [  OK  ]

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your kernel was built with "gcc" version "4.1.1", while you are trying to use
"/usr/bin/gcc" version "4.1.2". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.1.2" anyway? [no] yes

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.18-1.2798.fc6/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.18-1.2798.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for C/ObjC but not for C++
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function 'int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV321]':
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function 'int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV3]':
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function 'int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageGSX1]':
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function 'int Vmx86_RunVM(VMCrossPage*, VMDriver*) [with VMCrossPage = VMCrossPageV2]':
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function 'int Vmx86_RunVM_V4(VMDriver*, Vcpuid) [with VMCrossPage = VMCrossPageV4]':
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function 'int Vmx86_RunVM(VMDriver*, Vcpuid)':
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1522: warning: 'sysenterState.SysenterStateV45::rsp' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1523: warning: 'sysenterState.SysenterStateV45::rip' is used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:2073: warning: 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function 'void Task_Switch_V45(VMDriver*, Vcpuid)':
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: warning: 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this function
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: warning: 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this function
  CC [M]  /tmp/vmware-config0/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/compat.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmmon, and was about to remove
it.  Somebody else apparently did it already.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

Extracting the sources of the vmnet module.

Building the vmnet module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.18-1.2798.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_compat.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i586'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Please specify a port for remote console connections to use [904]

WARNING: VMware Server has been configured to run on a port different from the
default port. Remember to use this port when connecting to this server.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Configuring the VMware VmPerl Scripting API.

Building the VMware VmPerl Scripting API.

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Installing the VMware VmPerl Scripting API.

The installation of the VMware VmPerl Scripting API succeeded.

Do you want this program to set up permissions for your registered virtual
machines?  This will be done by setting new permissions on all files found in
the "/etc/vmware/vm-list" file. [no]

Generating SSL Server Certificate

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

Do you want to enter a serial number now? (yes/no/help) [no]

Starting VMware services:
   Virtual machine monitor                                 [  OK  ]
   Virtual ethernet                                        [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   Host-only networking on /dev/vmnet1 (background)        [  OK  ]
   Host-only networking on /dev/vmnet8 (background)        [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
   Starting VMware virtual machines...                     [  OK  ]

The configuration of VMware Server 1.0.3 build-44356 for Linux for this running
kernel completed successfully.

4
唉~ 試了很久~ Windows的Client連不上去~
Windows 2000的client 裝VMware Server Console1.0.3 build-44356
Switch Host~
要輸入hostname&username&password
無奈~ 只好輸入平常login進linux的帳密

There was a problem connecting:
Cannot connect to host (此處為hostname) 無法連線,因為目標電腦拒絕連線
selinux已關~  iptables已關

唉~ 還是不能連

FC6有相關,且有安裝的東東如下:
VMware-server-console-1.0.3-44356
VMware-server-1.0.3-44356

kernel-2.6.18-1.2798.fc6
kernel-headers-2.6.18-1.2798.fc6
kernel-devel-2.6.18-1.2798.fc6
xinetd-2.3.14-9.fc6
vmware-any-any-update109.tar.gz
-----------------------------------------------

vmware-mui-distrib  <--不知幹嘛用的~ 沒裝

/usr/bin下有這些相關的東西
-r-xr-xr-x 1 root root    8236 Apr 13 11:25 vmnet-bridge
-r-xr-xr-x 1 root root  112408 Apr 13 11:25 vmnet-dhcpd
-r-xr-xr-x 1 root root  125268 Apr 13 11:26 vmnet-natd
-r-xr-xr-x 1 root root    7248 Apr 13 11:25 vmnet-netifup
-r-xr-xr-x 1 root root   10224 Apr 13 11:25 vmnet-sniffer
-r-xr-xr-x 1 root root    4946 Apr 13 11:26 vmrun
-r-xr-xr-x 1 root root   21664 Sep 27  2006 vmstat
-r-xr-xr-x 1 root root   11456 Apr 13 11:26 vm-support
-r-xr-xr-x 1 root root    4570 Apr 13 11:26 vmware
-r-xr-xr-x 1 root root   77540 Apr 13 11:26 vmware-authtrusted
-r-xr-xr-x 1 root root   23333 Apr 13 11:26 vmware-cmd
-r-xr-xr-x 1 root root  289789 Jul 11 10:22 vmware-config.pl
-r-xr-xr-x 1 root root  280839 Apr 13 11:34 vmware-config-server-console.pl
-r-xr-xr-x 1 root root  492032 Apr 13 11:25 vmware-loop
-r-xr-xr-x 1 root root   25488 Apr 13 11:26 vmware-mount.pl
-r-sr-xr-x 1 root root   12984 Apr 13 11:26 vmware-ping
-r-xr-xr-x 1 root root    4660 Apr 13 11:34 vmware-server-console
-r-xr-xr-x 1 root root  719760 Apr 13 11:26 vmware-vdiskmanager

service vmware restart
Stopping VMware services:
   Virtual machine monitor                                 [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   DHCP server on /dev/vmnet1                              [  OK  ]
   Host-only networking on /dev/vmnet1                     [  OK  ]
   DHCP server on /dev/vmnet8                              [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
   Host-only networking on /dev/vmnet8                     [  OK  ]
   Virtual ethernet                                        [  OK  ]
Starting VMware services:
   Virtual machine monitor                                 [  OK  ]
   Virtual ethernet                                        [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   Host-only networking on /dev/vmnet1 (background)        [  OK  ]
   Host-only networking on /dev/vmnet8 (background)        [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
   Starting VMware virtual machines...                     [  OK  ]


ifconfig 看一下~
多了vmnet1與vmnet8
vmnet1: 192.168.110.1  Bcast:192.168.110.255
vmnet8: 192.168.5.1  Bcast:192.168.5.255

可有大哥不吝教導一下o.o?

FC6 灌上 VMware server
要用windows client去連~~

找好多資料,還是設不成功~  
client為區網中某台windows2000

5
再請問大哥~

1.要下什麼指令才能 Create a new virtual machine

2.如果使用一台windows系統,灌上VMware-server-win32-client
  ,連上我的vmware server,能否使用?

6
如題~VMware Server for linux 可否用在非Gnome環境下??

FC6

VMware-server-1.0.3-44356

請有大哥有使用過能分享一下嗎?

小弟目前安裝好在fc6上了~想請問一下沒跑xwindows能用嗎?

希望能提供簡單的用法,拜託了~~

7
Linux 討論版 / 請教vsftpd之存取設定問題
« 於: 2007-05-06 12:02 »
我也是有使用vsftpd
將家目錄設到 /home/share/各使用者資料夾/gaga9281
然後在每個人的目錄下掛一個分享資料夾
路徑為/home/share/各使用者資料夾
不知有沒有回答到您的問題
如果所有使用者家目錄設一樣也是可以~
但用open webmail之類的東東應該就會出問題了 o.o

8
May  6 11:47:34 kuro sendmail[28435]: l463lXjY028435: to=appleshieh@hotmail.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30051, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 647171209988)
May  6 11:47:34 kuro postfix/smtpd[28436]: disconnect from localhost.localdomain[127.0.0.1]
May  6 11:47:40 kuro postfix/smtp[28441]: 647171209988: to=<appleshieh@hotmail.com>, relay=mx3.hotmail.com[65.54.245.72], delay=6, status=bounced (host mx3.hotmail.com[65.54.245.72] said: 550 Your e-mail was rejected for policy reasons on this gateway. Reasons for rejection may be related to content such as obscene language, graphics, or spam-like characteristics (or) other reputation problems. For sender troubleshooting information, please go to http://postmaster.msn.com.  Please note: if you are an end-user please contact your E-mail/Internet Service Provider for assistance. (in reply to MAIL FROM command))May  6 11:47:40 kuro postfix/smtp[28441]: 647171209988: lost connection with mx3.hotmail.com[65.54.245.72] while sending RCPT TO
May  6 11:47:40 kuro postfix/cleanup[28440]: 313D1120998A: message-id=<20070506034740.313D1120998A@kuro.evils.idv.tw>
May  6 11:47:40 kuro postfix/qmgr[25939]: 313D1120998A: from=<>, size=3150, nrcpt=1 (queue active)
May  6 11:47:40 kuro postfix/qmgr[25939]: 647171209988: removed
May  6 11:47:40 kuro postfix/local[28444]: 313D1120998A: to=<kuro@evils.idv.tw>, orig_to=<root@evils.idv.tw>, relay=local, delay=0, status=sent (delivered to mailbox)
May  6 11:47:40 kuro postfix/qmgr[25939]: 313D1120998A: removed

我的系統資訊如下:
FC4
postfix-2.2.2-2

$postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_domains = evils.idv.tw
message_size_limit = 20480000
mydestination = evils.idv.tw, hugelp.idv.tw, vbnangel.com, kuro.evils.idv.tw
mydomain = evils.idv.tw
myhostname = kuro.evils.idv.tw
mynetworks = 220.133.101.86, 192.168.0.0/16, 127.0.0.0/8, 192.168.0.1, 192.168.0.2, 192.168.0.254
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
relay_domains = $mydestination   permit_mynetworks,   check_relay_domains
sample_directory = /usr/share/doc/postfix-2.2.2/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, permit_auth_destination reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 450


寄到hotmail跟gmail的信都無法成功寄達~
yahoo、pchome、hinet則沒問題~~
困擾很久,希望各位大大解惑...
我有兩台主機firewall、kuro
25、110的導到信件主機(kuro)
需要什麼資訊麻煩再跟我說,拜託了

dig -t mx evils.idv.tw
evils.idv.tw.           86400   IN      MX      10 kuro.evils.idv.tw.
evils.idv.tw.           86400   IN      NS      firewall.evils.idv.tw.
evils.idv.tw.           86400   IN      NS      kuro.evils.idv.tw.

9
mount --bind

10
Linux 討論版 / 頻寬管理?
« 於: 2007-04-15 23:58 »
各位大哥大姐~
有個問題想請問一下...

當有人在我的ftp server下載東西的時候,我從
遠端ssh進我的主機,整個都會變的很慢,非常
難以操控,用vi編檔,按個右都要等個幾秒才有
反應,實在很頭痛...

所以想問問是否可以頻寬管理方式,預留頻寬給
ssh連進來呢?

p.s暫不考慮限制ftp上下傳頻寬,若以上面問題,推薦如何做最適合呢~
拜託了...

11
引述: "kuroshieh"
引述: "twu2"
就是 table 物件的 OID 屬性.


請教一下~
要如何查詢OID屬性呢?~
拜託了...


我發現pgadmin可以看了~
不知還有沒有更好的方式能一次看出對照的 *0*b

12
引述: "twu2"
就是 table 物件的 OID 屬性.


請教一下~
要如何查詢OID屬性呢?~
拜託了...

13

/var/lib/pgsql/data/base
下面,有一堆數字的目錄~ 這應該是對應每個資料庫
我要如何得知,那個目錄對應那個資料庫呢?

要怎麼查~ 謝謝

14
Windows 討論版 / windows 2000的AD移轉至2003
« 於: 2006-11-30 15:37 »
我有一台windows server2000
上面已有架好的AD,提供給公司同仁使用~

因為機器老舊,要將重責大任轉移至另一台較新
平台為windows server 2003的主機上~

請問..我該用何種方式移轉呢?
還是要重新建立...

15
Linux 討論版 / 用 PHP 編寫 Shell Script
« 於: 2006-11-15 14:56 »
yum install php

跑了一陣~我也按了很多次y以後...

還是不行o.o

我從另一台把/usr/local/bin/php   scp過去我那台
然後邊執行,邊看少了什麼檔,再把檔案一個一個scp過去...竟然可以用了 QQ"

不過還是謝謝大哥~

16
Linux 討論版 / 用 PHP 編寫 Shell Script
« 於: 2006-11-15 14:21 »
我發現我的FC4沒有這個功能~

請問有人知道套件名稱跟下載點嗎...

ex:
#!/usr/local/php/bin/php
<?php
echo date("Y/m/d");
?>

17
Linux 討論版 / 慘了~ rm掉重要的檔案...
« 於: 2006-11-15 14:12 »
謝謝大哥們~

那還真是不能亂砍,砍一下scp、ftp、ssh 全部都不能用 ....
下次要小心點...  

中午我衝回家修復了~ 燒光碟回家復原  FC3跟FC4的是通的~  
用ln -s 就搞定了

EX:
/lib/
libssl.so.5 -> libssl.so.0.9.7a

18
Linux 討論版 / 慘了~ rm掉重要的檔案...
« 於: 2006-11-15 10:46 »
剛剛因為某種原因,誤砍了

/lib/libcrypti*
/lib/libssl*
/lib/libcom*
這些檔案~~

Fedora core 4  ~~

現在ftp跟ssh都已經不能用了..只剩我最後連上的那個視窗~"~
可能只能燒光碟回家再救了

請問我該怎麼復原這些檔案?  在安裝片裡面有嗎?

19
Linux 討論版 / vsftpd 用winXP使用的問題...
« 於: 2006-11-13 18:05 »
唉~ 要為user考量~~

看來別無他法了 :( ~~

謝謝大哥,我會乖乖的去抓FFFTP的~~

20
Linux 討論版 / vsftpd 用winXP使用的問題...
« 於: 2006-11-12 23:52 »
快瘋了...解決不了

沒人遇過這個怪問題嗎o.o...

現在上傳整個資料夾裡面有檔案的

都要先建資料夾,再將檔案拖過去......唉

21
Linux 討論版 / 感謝
« 於: 2006-11-12 23:49 »
感謝~~ 解決了 :P

22
Linux 討論版 / vsftp+openwebmail 如何規劃
« 於: 2006-11-11 20:10 »
在這先說聲抱歉,因為正迷的,所以問題多了點...
但我都有翻過文章了 QQ"

我的情況是...
因為我的FC4上有安裝了 openwebmail與vsftp
為了讓vsftp的使用者一登錄就能看到分享空間
改了/etc/passwd  裡面使用者的預設路徑  如:
abc:x:506:200:abc:/home/share:/bin/bash

但我現在裝上了openwebmail,這下就糗了~
他會看passwd這個檔,自動在該目錄下建一個mail目錄~
這麼多使用者總不能共用吧...

於是我自作聰明
abc:x:506:200:abc:/home/share/各使用者私人空間/abc:/bin/bash
讓各使用者預設進到自已的家目錄~
為了讓他們也能進到共享目錄,我翻了文章看到了 mount --bind的用法
於是,我在他們的家目錄都各掛一個能進到share的目錄

這下感覺起來,什麼事都沒了~~
但隔天...我的硬碟爆了 ~"~....
因為我有設排程,備份 /home/share/各使用者私人空間
這樣掛好像會重複循環一直備下去....

言歸正題...剛只是說明我有多蠢...我要問的是~

如何在備份時 (使用tar) 能備份一個大目錄,但跳過某個名稱的資料夾不備

或是更好的回答~ 如何規劃這樣的環境,使得備份與使用上皆能改善呢?

我的功力不強,以下是我試寫的...

#!/bin/sh
tar -zcvf /var/backup/user/`date '+%Y-%m-%d'`.tar.gz /home/share/各使用者私人空間/

rm -rf 'find /var/backup/user/ -name "*.gz" -mtime +2'

23
Linux 討論版 / vsftpd log時間問題
« 於: 2006-11-11 19:13 »
唉....問題依舊   :-?

24
Linux 討論版 / vsftpd 用winXP使用的問題...
« 於: 2006-11-11 17:16 »
帳號密碼.....


會跳出對話框要求輸入喲~!

25
Linux 討論版 / vsftpd 用winXP使用的問題...
« 於: 2006-11-11 01:16 »
/etc/vsftpd/chroot_list

這裡面是有放我要登入的帳號沒錯~



就winxp會 所指的是xp環境中直接在ie上輸入 ftp://
直接開啟並登入的意思~

但我沒在2000或其他windows平台的環境試過 o.o"

其他ftp軟體沒什麼問題~

26
Linux 討論版 / vsftpd 用winXP使用的問題...
« 於: 2006-11-10 22:16 »
Client端作業系統為 winxp

在把 內有檔案的資料夾整個上傳時

會出現:

FTP資料夾錯誤
開啟FTP伺服器的資料夾時發生錯誤。請確定您有存取這
個資料夾的權限。

詳細資料:
550Failed to change directory.

--------------------------------------------------------
我已經把該資料夾權限設777,而且chown gid uid都是那個使用者了~
還是避不開這情況... 使用cuteftp等皆不會,就winxp會
實在困擾....請問有人遇過這樣的問題嗎?
奉上我vsftpd的設定~~ 拜託了



anonymous_enable=YES
local_enable=YES
write_enable=YES
dirmessage_enable=YES
message_file=welcome.msg
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
ftpd_banner=Welcome to Kuro FTP service.
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
syslog_enable=YES
use_localtime=YES
pasv_enable=YES
local_max_rate=0
#unix charset = BIG5
#dos charset = CP950

27
crontab:
01-59/3 * * * * root /usr/sbin/adsl-start > /dev/null 2>&1

還有這個,我已經確定是這個跟mrtg搞的鬼
因為我把他們#起來,就不會再出現了~

但我要問的是....為何在syslog中已經設定cron.none,他還是一直出現
我只想不讓這個訊息出現,不然messages好多好亂....

還有這個有設跟沒設一樣會跑出訊息的東西真的有用嗎 o.o...
> /dev/null 2>&1

28
*.info;mail.none;authpriv.none;cron.none               /var/log/messages
*.info;news.none;cron.none;mail.none;authpriv.none      /var/log/messages
*.*;news,cron,mail.none  /var/log/messages

To vic0318大大~目前設定為
*.info;news.none;cron.none;mail.none;authpriv.none      /var/log/messages

上面皆為我設定過的,問題依舊 ~"~...


service syslog restart

29
cron.d/mrtg

*/3 * * * * root /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok > /dev/null 2>&1

這是在同一行沒錯~
Nov  9 14:10:01 evils crond(pam_unix)[11335]: session closed for user root
Nov  9 14:10:01 evils crond(pam_unix)[11334]: session closed for user root
Nov  9 14:12:01 evils crond(pam_unix)[11348]: session opened for user root by (u
id=0)

這個訊息真是討厭極了~

30
Linux 討論版 / 已ok
« 於: 2006-11-09 14:10 »
謝謝38pig大大~
照您的設定~ 重要資訊不再被echo出來了*0*b
感謝感謝~

To  paulso大大~我試過disable_functions
但卻不太知道他的用法,請問要怎麼關掉 ‘‘ <--這玩意
我試過disable echo之類的,還是一樣出的來~

謝謝你們囉^^

頁: [1] 2