概述
MacBook:apache2 jianmingxu$ ls
httpd.exp mod_cgi.so mod_mem_cache.so
libphp5.so mod_content_filter.so mod_mime.so
mod_actions.so mod_dav.so mod_mime_magic.so
mod_alias.so mod_dav_fs.so mod_negotiation.so
mod_asis.so mod_dav_svn.so mod_perl.so
mod_auth_basic.so mod_dbd.so mod_proxy.so
mod_auth_digest.so mod_deflate.so mod_proxy_ajp.so
mod_authn_anon.so mod_dir.so mod_proxy_balancer.so
mod_authn_dbd.so mod_disk_cache.so mod_proxy_connect.so
mod_authn_dbm.so mod_dumpio.so mod_proxy_ftp.so
mod_authn_default.so mod_env.so mod_proxy_http.so
mod_authn_file.so mod_expires.so mod_rewrite.so
mod_authz_dbm.so mod_ext_filter.so mod_scgi_pubsub.so
mod_authz_default.so mod_fastcgi.so mod_setenvif.so
mod_authz_groupfile.so mod_filter.so mod_speling.so
mod_authz_host.so mod_headers.so mod_ssl.so
mod_authz_owner.so mod_ident.so mod_status.so
mod_authz_svn.so mod_imagemap.so mod_substitute.so
mod_authz_user.so mod_include.so mod_unique_id.so
mod_autoindex.so mod_info.so mod_userdir.so
mod_bonjour.so mod_log_config.so mod_usertrack.so
mod_cache.so mod_log_forensic.so mod_version.so
mod_cern_meta.so mod_logio.so mod_vhost_alias.so
MacBook:apache2 jianmingxu$ pwd
/usr/libexec/apache2
DocumentRoot "/Library/WebServer/Documents"
DocumentRoot "/Users/jianmingxu/Sites"
<Directory "/Users/jianmingxu/Sites">
Options Includes FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
XBitHack on
</Directory>
<Directory "/Users/jianmingxu/Sites/WEB-INF">
Order deny,allow
Deny from all
</Directory>
增加关于加载mod_jk的语句:
添加代码:
LoadModule jk_module libexec/apache2/mod_jk.so
Include /etc/apache2/mod_jk.conf
最后编辑Tomcat的配置文件server.xml,在HOST段中加入:
<Context path="" docBase="/Users/jianmingxu/Sites"
debug="0" reloadable="true" crossContext="true"/>
Last login: Sun Mar 21 15:41:02 on console
MacBook:~ jianmingxu$ ls
Applications Library Public
DatabridUser.properties Movies SightSpeed Recordings
Desktop Music Sites
Documents NetBeansProjects code
Downloads Pictures
MacBook:~ jianmingxu$ whereis httpd
/usr/sbin/httpd
MacBook:~ jianmingxu$ whereis apache
MacBook:~ jianmingxu$ cd /usr/
MacBook:usr jianmingxu$ ls
X11 bin libexec sbin standalone
X11R6 lib local share
MacBook:usr jianmingxu$ cd bin
MacBook:bin jianmingxu$ ls
CoolBookSwitcher msgs
RSA_SecurID_getpasswd mvn
a2p nano
addftinfo native2ascii
afconvert nbdst
afinfo nc
afmtodit neqn
afplay net
alias net-snmp-config
amavisd newaliases
amavisd-agent newgrp
amavisd-nanny newproc.d
amavisd-release nfsstat
ant nice
appleping nl
applesingle nmblookup
appletviewer nohup
apply notifyutil
apr-1-config nroff
apropos nslookup
apt nsupdate
apu-1-config ntlm_auth
arch ntp-keygen
at ntpq
at_cho_prn ocs
atlookup od
atprint ompi_info
atq open
atrm opensnoop
atstatus openssl
atsutil orbd
automator orted
auval orterun
auvaltool osacompile
awk osadecompile
b2m osalang
banner osascript
basename over
bashbug pack200
batch pagesize
bc passwd
bg paste
biff patch
binhex pathchk
bitesize.d pathopens.d
bspatch pbcopy
bunzip2 pbpaste
bzcat pcast
bzcmp pcastaction
bzdiff pcsctest
bzegrep pcsctool
bzfgrep pdbedit
bzgrep pdfroff
bzip2 perl
bzip2recover perl5.8.8
bzless perlbug
bzmore perlcc
c++filt perldoc
c2ph perlivp
c_rehash pfbtops
cal php
calendar php-config
cancel phpize
cap pic
cap_mkdb pic2graph
capify pico
captoinfo piconv
cd pidpersec.d
certtool pl
checknr pl2pm
chflags plockstat
chfn plutil
chgrp pmset
chpass pod2html
chsh pod2latex
cksum pod2man
clear pod2readme
cmp pod2text
codesign pod2usage
codesign_allocate podcast
col podchecker
colcrt podselect
colldef policytool
colrm post-grohtml
column pr
comm pre-grohtml
command priclass.d
compile_et pridist.d
compress printenv
config_data printf
cpan procmail
cpio procsystime
cpuwalk.d profiles
crc32 prove
creatbyproc.d psed
crlrefresh pstopdf
crontab pstruct
cscope ptar
csplit ptardiff
csreq pubsub
cu pwpolicy
cups-calibrate pydoc
cups-config pydoc2.5
cupstestdsc python
cupstestppd python-config
curl python2.5
curl-config python2.5-config
cut pythonw
cyrus pythonw2.5
dappprof qc2movie
dapptrace qlmanage
dbiprof quartz-wm
dbiproxy quota
dc rails
defaults rake
diff rb-keygen
diff3 rcs-checkin
diffpp rdoc
diffstat read
dig readlink
dirname redcloth
dirt refer
diskhits renice
dispqlen.d reset
ditto rev
dns-sd ri
dprofpp rlogin
drutil rmic
dscacheutil rmid
dscl rmiregistry
dserr rpcclient
dsexport rs
dsimport rsh
dsmemberutil rsync
dsperfmonitor ruby
dtruss runocc.d
du ruptime
easy_install rview
easy_install-2.5 rvim
ebrowse rwbypid.d
efax rwbytype.d
efix rwho
egrep rwsnoop
emacs s2p
emacs-i386 sample
emacs-undumped sampleproc
emacsclient sandbox-exec
enc2xs sar
encode_keychange say
enscript sc_usage
env scp
eqn screen
eqn2graph script
erb sdiff
errinfo security
escputil sed
etags seeksize.d
eventlogadm serialver
ex servertool
execsnoop setuids.d
expand sftp
expect shar
extcheck shlock
false showmount
fax sigdist.d
fc sips
fddist sliceprint
ferret-browser slogin
fetchmail smbcacls
fetchmailconf smbclient
fg smbcontrol
fgrep smbcquotas
file smbget
filebyproc.d smbpasswd
find smbspool
find2perl smbstatus
findsmb smbtar
finger smbtree
fixproc smbutil
fmt smtpd.py
fold smtpd2.5.py
formail snmpbulkget
from snmpbulkwalk
fs_usage snmpconf
ftp snmpdelta
funzip snmpdf
fuser snmpget
fwkdp snmpgetnext
fwkpfv snmpinform
gdiffmk snmpnetstat
gem snmpset
gen_bridge_metadata snmpstatus
gencat snmptable
genstrings snmptest
getconf snmptranslate
getopt snmptrap
getopts snmpusm
gluedialect snmpvacm
gluedoc snmpwalk
glueedit sntp
gluemac soelim
gluescriptadds sort
gnuattach spfd
gnuclient spfquery
gnudoit splain
gnuserv split
gnutar sqlite3
gpgen srm
grap2graph ssh
grep ssh-add
grep-changelog ssh-agent
grn ssh-keygen
grodvi ssh-keyscan
groff stat
groffer states
grog strings
grolbp su
grolj4 sudo
grops sum
grotty svn
groups svnadmin
gunzip svndumpfilter
gzcat svnlook
gzexe svnserve
gzip svnsync
h2ph svnversion
h2xs sw_vers
hash swig
hdid syscallbypid.d
hdiutil syscallbyproc.d
head syscallbysysc.d
hexdump syslog
host tab2space
hostinfo tabs
hotspot.d tack
hpftodit tail
httpdstat.d talk
iconv tar
id tbl
idlj tclsh
indxbib tclsh8.4
info tdbbackup
infocmp tdbdump
infokey tdbtool
infotocap tee
install telnet
install-info testparm
instmodsh testrb
iodbc-config texi2dvi
iodbctest texi2html
iodbctestw texi2pdf
iofile.d texindex
iofileb.d textutil
iopattern tfmtodit
iopending tftp
iosnoop tic
iotop tidy
ipcount tiff2icns
ipcrm tiffutil
ipcs time
ipmitool tkmib
iptab tnameserv
irb toe
isc-config.sh top
jar tops
jarsigner topsyscall
java topsysproc
javac touch
javadoc tput
javah tr
javap traptoemail
javaws trial
jconsole troff
jdb true
jhat tset
jinfo tsort
jmap tty
jobs twistd
join type
jot ul
jps ulimit
jsadebugd umask
jstack unalias
jstat uname
jstatd uncompress
jvisualvm unexpand
kdestroy uniq
keytool units
kill.d unpack200
killall unvis
kinit unzip
klist unzipsfx
kpasswd update_dyld_shared_cache
krb5-config update_prebinding
kswitch update_rubygems
kvno uptime
lam users
last uucp
lastcomm uudecode
lastwords uuencode
latency uuidgen
ldapadd uulog
ldapcompare uuname
ldapdelete uupick
ldapmodify uustat
ldapmodrdn uuto
ldappasswd uux
ldapsearch vi
ldapwhoami view
leave vim
less vimdiff
lessecho vimtutor
lesskey vis
libnetcfg vm_stat
lipo vmmap
lkbib w
loads.d wait
locale wall
localedef wbinfo
locate wc
lockfile weblatency.d
logger whatis
login whereis
logname which
look who
lookbib whoami
lp whois
lpoptions wish
lppasswd wish8.4
lpq write
lpr wx-config
lprm wxPerl
lpstat wx_overload.pl
lsbom wx_xspp.pl
lsm wxperl_demo.pl
lsvfs wxrc
lwp-download wxrc-2.8
lwp-mirror xar
lwp-request xargs
lwp-rget xattr
mDNS xgrid
macbinary xml2-config
macerror xmlcatalog
machine xmllint
mail xmlwf
mailq xpath
mailstat xslt-config
mailx xsltproc
makeinfo xsubpp
man xxd
manpath yes
mcxquery ypcat
md ypmatch
mdfind ypwhich
mdimport zcat
mdls zcmp
mdutil zdiff
mesg zegrep
mib2c zfgrep
mib2c-update zforce
mkafmmap zgrep
mkbom zip
mkfifo zipcloak
mklocale zipgrep
mktemp zipinfo
mmroff zipnote
mnthome zipsplit
mongrel_rails zless
more zmore
mp2bug znew
mpiexec zprint
mpirun
MacBook:bin jianmingxu$ ls httpd
ls: httpd: No such file or directory
MacBook:bin jianmingxu$ cd ..
MacBook:usr jianmingxu$ cd sbin
MacBook:sbin jianmingxu$ ls httpd
httpd
MacBook:sbin jianmingxu$ cd ..
MacBook:usr jianmingxu$ cd ..
MacBook:/ jianmingxu$ cd etc
MacBook:etc jianmingxu$ ls
6to4.conf nanorc
afpovertcp.cfg networks
aliases newsyslog.conf
aliases.db notify.conf
amavisd.conf ntp-restrict.conf
apache2 ntp.conf
asl.conf openldap
authorization oratab
auto_home pam.d
auto_master passwd
autofs.conf paths
bashrc paths.d
csh.cshrc periodic
csh.login php.ini
csh.logout php.ini.default
cups podcastproducer
defaults postfix
dnsextd.conf ppp
dumpdates profile
efax.rc protocols
find.codes racoon
fstab.hd rc.common
ftpusers rc.netboot
gettytab resolv.conf
group rmtab
hostconfig rpc
hostconfig~ rtadvd.conf
hosts services
hosts.equiv shells
httpd smb.conf
ibm smb.conf.old
irbrc smb.conf.template
kcpassword snmp
kern_loader.conf ssh_config
krb5.keytab ssh_host_dsa_key
launchd.conf ssh_host_dsa_key.pub
localtime ssh_host_key
locate.rc ssh_host_key.pub
mach_init.d ssh_host_rsa_key
mach_init_per_login_session.d ssh_host_rsa_key.pub
mach_init_per_user.d sshd_config
mail.rc sudoers
man.conf sysctl.conf
manpaths syslog.conf
manpaths.d thnuclnt
master.passwd ttys
memberd.conf xgrid
moduli xtab
named.conf zprofile
MacBook:etc jianmingxu$ ls httpd.conf
ls: httpd.conf: No such file or directory
MacBook:etc jianmingxu$ cd httpd
MacBook:httpd jianmingxu$ ls
MacBook:httpd jianmingxu$ ls -a
. ..
MacBook:httpd jianmingxu$ cd ..
MacBook:etc jianmingxu$ cd ..
MacBook:/ jianmingxu$ cd conf
-bash: cd: conf: No such file or directory
MacBook:/ jianmingxu$ ls -al
total 41869
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 .
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 ..
-rw-rw-r--@ 1 jianmingxu admin 15364 3 20 23:10 .DS_Store
drwx------ 3 root admin 102 3 3 2009 .Spotlight-V100
d-wx-wx-wt 2 root staff 68 3 3 2009 .Trashes
-rw-r--r-- 1 root wheel 0 3 3 2009 .com.apple.timemachine.supported
drwx------ 2 root admin 136 3 21 15:40 .fseventsd
-rw------- 1 root wheel 196608 5 24 2009 .hotfiles.btree
drwxr-xr-x@ 2 root wheel 68 11 25 2007 .vol
MacBook:/ jianmingxu$ cd usr/
MacBook:usr jianmingxu$ ls
X11 bin libexec sbin standalone
X11R6 lib local share
MacBook:usr jianmingxu$ cd lib
MacBook:lib jianmingxu$ ls
TcldomConfig.sh libpam.1.0.dylib
TclxmlConfig.sh libpam.1.dylib
charset.alias libpam.dylib
cron libpam_misc.1.dylib
dtrace libpam_misc.dylib
dyld libpamc.1.dylib
groff libpamc.dylib
itclConfig.sh libpanel.5.4.dylib
java libpanel.dylib
jpegtclConfig.sh libpcap.A.dylib
libAPSimple.dylib libpcap.dylib
libBSDPClient.A.dylib libpoll.dylib
libBSDPClient.dylib libproc.dylib
libDHCPServer.A.dylib libpthread.dylib
libDHCPServer.dylib libpython.dylib
libIOKit.A.dylib libpython2.5.dylib
libIOKit.dylib libpython2.dylib
libLanguageIdentifier.dylib libreadline.dylib
libSystem.B.dylib libresolv.9.dylib
libSystem.dylib libresolv.dylib
libUFSDNTFS.dylib librpcsvc.dylib
libXplugin.1.0.dylib libruby.1.dylib
libXplugin.1.dylib libruby.dylib
libXplugin.dylib libsasl2.2.0.1.dylib
libalias.A.dylib libsasl2.2.0.15.dylib
libalias.dylib libsasl2.2.0.21.dylib
libapr-1.0.2.7.dylib libsasl2.2.0.22.dylib
libapr-1.0.dylib libsasl2.2.dylib
libapr-1.dylib libsasl2.dylib
libaprutil-1.0.2.7.dylib libsqlite3.0.8.6.dylib
libaprutil-1.0.dylib libsqlite3.0.dylib
libaprutil-1.dylib libsqlite3.dylib
libatlas.dylib libssl.0.9.7.dylib
libauto.dylib libssl.0.9.dylib
libblas.dylib libssl.dylib
libbsm.dylib libstdc++.6.0.4.dylib
libbz2.1.0.4.dylib libstdc++.6.dylib
libbz2.1.0.5.dylib libsvn_client-1.0.0.0.dylib
libbz2.1.0.dylib libsvn_client-1.0.dylib
libbz2.dylib libsvn_client-1.dylib
libc.dylib libsvn_delta-1.0.0.0.dylib
libcblas.dylib libsvn_delta-1.0.dylib
libcharset.1.0.0.dylib libsvn_delta-1.dylib
libcharset.1.dylib libsvn_diff-1.0.0.0.dylib
libcharset.dylib libsvn_diff-1.0.dylib
libclapack.dylib libsvn_diff-1.dylib
libcom_err.dylib libsvn_fs-1.0.0.0.dylib
libcrypto.0.9.7.dylib libsvn_fs-1.0.dylib
libcrypto.0.9.dylib libsvn_fs-1.dylib
libcrypto.dylib libsvn_fs_fs-1.0.0.0.dylib
libcups.2.dylib libsvn_fs_fs-1.0.dylib
libcups.dylib libsvn_fs_fs-1.dylib
libcupsimage.2.dylib libsvn_ra-1.0.0.0.dylib
libcupsimage.dylib libsvn_ra-1.0.dylib
libcurl.2.dylib libsvn_ra-1.dylib
libcurl.3.dylib libsvn_ra_dav-1.0.0.0.dylib
libcurl.4.0.0.dylib libsvn_ra_dav-1.0.dylib
libcurl.4.dylib libsvn_ra_dav-1.dylib
libcurl.dylib libsvn_ra_local-1.0.0.0.dylib
libcurses.dylib libsvn_ra_local-1.0.dylib
libdbm.dylib libsvn_ra_local-1.dylib
libdes425.dylib libsvn_ra_svn-1.0.0.0.dylib
libdl.dylib libsvn_ra_svn-1.0.dylib
libdtrace.dylib libsvn_ra_svn-1.dylib
libedit.2.9.dylib libsvn_repos-1.0.0.0.dylib
libedit.2.dylib libsvn_repos-1.0.dylib
libedit.dylib libsvn_repos-1.dylib
libexpat.1.5.0.dylib libsvn_subr-1.0.0.0.dylib
libexpat.1.dylib libsvn_subr-1.0.dylib
libexpat.dylib libsvn_subr-1.dylib
libexslt.0.dylib libsvn_swig_perl-1.0.0.0.dylib
libexslt.dylib libsvn_swig_perl-1.0.dylib
libf77lapack.dylib libsvn_swig_perl-1.dylib
libfcgi++.0.0.0.dylib libsvn_swig_py-1.0.0.0.dylib
libfcgi++.0.dylib libsvn_swig_py-1.0.dylib
libfcgi++.dylib libsvn_swig_py-1.dylib
libfcgi.0.0.0.dylib libsvn_swig_ruby-1.0.0.0.dylib
libfcgi.0.dylib libsvn_swig_ruby-1.0.dylib
libfcgi.dylib libsvn_swig_ruby-1.dylib
libffi.dylib libsvn_wc-1.0.0.0.dylib
libform.5.4.dylib libsvn_wc-1.0.dylib
libform.dylib libsvn_wc-1.dylib
libgcc_s.1.0.dylib libtcl.dylib
libgcc_s.1.dylib libtcl8.4.dylib
libgcc_s_ppc64.1.dylib libtermcap.dylib
libgcc_s_x86_64.1.dylib libtidy.A.dylib
libgermantok.dylib libtidy.dylib
libgssapi_krb5.dylib libtk.dylib
libgutenprint.2.0.0.dylib libtk8.4.dylib
libgutenprint.2.dylib libutil.dylib
libgutenprint.dylib libutil1.0.dylib
libiconv.2.4.0.dylib libwrap.7.6.dylib
libiconv.2.dylib libwrap.7.dylib
libiconv.dylib libwrap.dylib
libicucore.A.dylib libwx_macud-2.8.0.1.1.dylib
libicucore.dylib libwx_macud-2.8.0.dylib
libinfo.dylib libwx_macud-2.8.dylib
libiodbc.2.1.17.dylib libwx_macud_fl-2.8.0.1.0.dylib
libiodbc.2.dylib libwx_macud_fl-2.8.0.dylib
libiodbc.dylib libwx_macud_fl-2.8.dylib
libiodbcinst.2.1.17.dylib libwx_macud_foldbar-2.8.0.1.0.dylib
libiodbcinst.2.dylib libwx_macud_foldbar-2.8.0.dylib
libiodbcinst.dylib libwx_macud_foldbar-2.8.dylib
libipsec.A.dylib libwx_macud_gizmos-2.8.0.1.0.dylib
libipsec.dylib libwx_macud_gizmos-2.8.0.dylib
libk5crypto.dylib libwx_macud_gizmos-2.8.dylib
libkrb4.dylib libwx_macud_gizmos_xrc-2.8.0.1.0.dylib
libkrb5.dylib libwx_macud_gizmos_xrc-2.8.0.dylib
libkrb524.dylib libwx_macud_gizmos_xrc-2.8.dylib
libkrb5support.dylib libwx_macud_gl-2.8.0.1.1.dylib
liblangid.dylib libwx_macud_gl-2.8.0.dylib
liblapack.dylib libwx_macud_gl-2.8.dylib
liblber.dylib libwx_macud_netutils-2.8.0.1.0.dylib
libldap.dylib libwx_macud_netutils-2.8.0.dylib
libldap_r.dylib libwx_macud_netutils-2.8.dylib
libm.dylib libwx_macud_ogl-2.8.0.1.0.dylib
libmca_common_sm.0.dylib libwx_macud_ogl-2.8.0.dylib
libmca_common_sm.dylib libwx_macud_ogl-2.8.dylib
libmecab.1.0.0.dylib libwx_macud_plot-2.8.0.1.0.dylib
libmecab.1.dylib libwx_macud_plot-2.8.0.dylib
libmecab.dylib libwx_macud_plot-2.8.dylib
libmenu.5.4.dylib libwx_macud_stc-2.8.0.1.0.dylib
libmenu.dylib libwx_macud_stc-2.8.0.dylib
libmpi.0.dylib libwx_macud_stc-2.8.dylib
libmpi.dylib libwx_macud_svg-2.8.0.1.0.dylib
libmpi_cxx.0.dylib libwx_macud_svg-2.8.0.dylib
libmpi_cxx.dylib libwx_macud_svg-2.8.dylib
libmx.A.dylib libxar.1.dylib
libmx.dylib libxar.dylib
libncurses.5.4.dylib libxml2.2.dylib
libncurses.5.dylib libxml2.dylib
libncurses.dylib libxslt.1.dylib
libneon.26.0.3.dylib libxslt.dylib
libneon.26.dylib libz.1.1.3.dylib
libneon.dylib libz.1.2.3.dylib
libnetsnmp.15.1.0.dylib libz.1.dylib
libnetsnmp.15.1.2.dylib libz.dylib
libnetsnmp.15.dylib libzfs.dylib
libnetsnmp.5.2.1.dylib mecab
libnetsnmp.5.dylib openmpi
libnetsnmp.dylib pam
libnetsnmpagent.15.1.0.dylib php
libnetsnmpagent.15.1.2.dylib pkgconfig
libnetsnmpagent.15.dylib pngtclConfig.sh
libnetsnmpagent.dylib podcastproducer
libnetsnmphelpers.15.1.0.dylib python2.5
libnetsnmphelpers.15.1.2.dylib ruby
libnetsnmphelpers.15.dylib sa
libnetsnmphelpers.dylib samba
libnetsnmpmibs.15.1.0.dylib sasl2
libnetsnmpmibs.15.1.2.dylib sqlite3
libnetsnmpmibs.15.dylib system
libnetsnmpmibs.dylib tclConfig.sh
libnetsnmptrapd.15.1.0.dylib tcldomxmlConfig.sh
libnetsnmptrapd.15.1.2.dylib tdomConfig.sh
libnetsnmptrapd.15.dylib tifftclConfig.sh
libnetsnmptrapd.dylib tkConfig.sh
libobjc.A.dylib tkimgConfig.sh
libobjc.dylib xml2Conf.sh
libopen-pal.0.dylib xsltConf.sh
libopen-pal.dylib zlibtclConfig.sh
libopen-rte.0.dylib zsh
libopen-rte.dylib
MacBook:lib jianmingxu$ cd ..
MacBook:usr jianmingxu$ ls
X11 bin libexec sbin standalone
X11R6 lib local share
MacBook:usr jianmingxu$ cls
-bash: cls: command not found
MacBook:usr jianmingxu$ clear
MacBook:usr jianmingxu$ sudo apachectl -k stop
Password:
[Sun Mar 21 19:24:29 2010] [warn] module php5_module is already loaded, skipping
MacBook:usr jianmingxu$ sudo apachectl -k status
httpd: illegal option -- k
Usage: /usr/sbin/httpd [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|graceful-stop|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)
-S : a synonym for -t -D DUMP_VHOSTS
-t -D DUMP_MODULES : show all loaded modules
-M : a synonym for -t -D DUMP_MODULES
-t : run syntax check for config files
MacBook:usr jianmingxu$ cd /Applications/apache-tomcat-6.0.26/
MacBook:apache-tomcat-6.0.26 jianmingxu$ cd $CATALINA HOME/bin
-bash: cd: HOME/bin: No such file or directory
MacBook:apache-tomcat-6.0.26 jianmingxu$ cd $CATALINA HOME/bin
-bash: cd: HOME/bin: No such file or directory
MacBook:apache-tomcat-6.0.26 jianmingxu$ cd $CATALINA_HOME/bin
MacBook:bin jianmingxu$ pwd
/bin
MacBook:bin jianmingxu$ pwd
/bin
MacBook:bin jianmingxu$ pwd
/bin
MacBook:bin jianmingxu$ pwd
/bin
MacBook:bin jianmingxu$ pwd
/bin
MacBook:bin jianmingxu$ cd /Applications/
.DS_Store Paragon NTFS for Mac OS X/
.localized Photo Booth.app/
ACDSee/ Picasa.app/
Address Book.app/ Preview.app/
AppleScript/ QQ.app/
Automator.app/ QueryExec.log
Calculator.app/ QuickTime Player.app/
Chess.app/ Remote Desktop Connection.app/
DVD Player.app/ Safari.app/
Dashboard.app/ Skype.app/
Databrid/ Spaces.app/
Dictionary.app/ Stickies.app/
Expose.app/ StuffIt/
FileZilla.app/ System Preferences.app/
Firefox.app/ TextEdit.app/
Flip4Mac/ The Unarchiver.app/
Font Book.app/ Time Machine.app/
GarageBand.app/ Utilities/
Image Capture.app/ VMware Fusion.app/
MPEG Streamclip 1.9.2/ apache-activemq-5.3.0/
MPlayer/ apache-tomcat-6.0.26/
MacPilot.app/ iCal.app/
MacX.cn/ iChat.app/
Mail.app/ iDVD.app/
Microsoft Messenger.app/ iMovie.app/
Microsoft Office 2004/ iPhoto.app/
MySQLWorkbench.app/ iSync.app/
Navicat Lite.app/ iTunes.app/
NetBeans/ iWeb.app/
Notes.app/
MacBook:bin jianmingxu$ cd /Applications/
MacBook:Applications jianmingxu$ cd apache-tomcat-6.0.26/
MacBook:apache-tomcat-6.0.26 jianmingxu$ bin
-bash: bin: command not found
MacBook:apache-tomcat-6.0.26 jianmingxu$ ls
LICENSE RUNNING.txt lib webapps
NOTICE bin logs work
RELEASE-NOTES conf temp
MacBook:apache-tomcat-6.0.26 jianmingxu$ cd bin
MacBook:bin jianmingxu$ sh startup.h
sh: startup.h: No such file or directory
MacBook:bin jianmingxu$ sh startup.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
MacBook:bin jianmingxu$ ls -al
total 928
drwxr-xr-x 2 jianmingxu staff 782 3 14 02:35 .
drwxr-xr-x 9 jianmingxu staff 442 3 14 02:35 ..
-rw-r--r-- 1 jianmingxu staff 22110 3 10 01:06 bootstrap.jar
-rw-r--r-- 1 jianmingxu staff 2374 3 10 01:06 catalina-tasks.xml
-rw-r--r-- 1 jianmingxu staff 11399 3 10 01:06 catalina.bat
-rwxr-xr-x 1 jianmingxu staff 15582 3 10 01:06 catalina.sh
-rw-r--r-- 1 jianmingxu staff 9341 3 10 01:06 commons-daemon.jar
-rw-r--r-- 1 jianmingxu staff 1342 3 10 01:06 cpappend.bat
-rw-r--r-- 1 jianmingxu staff 2108 3 10 01:06 digest.bat
-rwxr-xr-x 1 jianmingxu staff 1624 3 10 01:06 digest.sh
-rw-r--r-- 1 jianmingxu staff 74398 3 10 01:06 jsvc.tar.gz
-rw-r--r-- 1 jianmingxu staff 3150 3 10 01:06 setclasspath.bat
-rwxr-xr-x 1 jianmingxu staff 4114 3 10 01:06 setclasspath.sh
-rw-r--r-- 1 jianmingxu staff 2108 3 10 01:06 shutdown.bat
-rwxr-xr-x 1 jianmingxu staff 1563 3 10 01:06 shutdown.sh
-rw-r--r-- 1 jianmingxu staff 2109 3 10 01:06 startup.bat
-rwxr-xr-x 1 jianmingxu staff 1956 3 10 01:06 startup.sh
-rw-r--r-- 1 jianmingxu staff 26484 3 10 01:06 tomcat-juli.jar
-rw-r--r-- 1 jianmingxu staff 241274 3 10 01:06 tomcat-native.tar.gz
-rw-r--r-- 1 jianmingxu staff 3476 3 10 01:06 tool-wrapper.bat
-rwxr-xr-x 1 jianmingxu staff 3459 3 10 01:06 tool-wrapper.sh
-rw-r--r-- 1 jianmingxu staff 2113 3 10 01:06 version.bat
-rwxr-xr-x 1 jianmingxu staff 1567 3 10 01:06 version.sh
MacBook:bin jianmingxu$ cd /
MacBook:/ jianmingxu$ ls -al
total 41869
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 .
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 ..
-rw-rw-r--@ 1 jianmingxu admin 15364 3 20 23:10 .DS_Store
drwx------ 3 root admin 102 3 3 2009 .Spotlight-V100
d-wx-wx-wt 2 root staff 68 3 3 2009 .Trashes
-rw-r--r-- 1 root wheel 0 3 3 2009 .com.apple.timemachine.supported
drwx------ 2 root admin 136 3 21 15:40 .fseventsd
-rw------- 1 root wheel 196608 5 24 2009 .hotfiles.btree
drwxr-xr-x@ 2 root wheel 68 11 25 2007 .vol
drwxrwxr-x+ 60 root admin 2142 3 20 17:53 Applications
-rw-r--r--@ 1 root admin 2048 3 27 2009 Desktop DB
-rw-r--r--@ 1 root admin 4098 3 27 2009 Desktop DF
drwxrwxr-t+ 50 root admin 1768 3 20 15:46 Library
drwxr-xr-x@ 2 root wheel 68 1 29 2008 Network
drwxr-xr-x 3 root wheel 136 8 9 2009 System
drwxr-xr-x 4 root admin 170 3 19 11:36 Users
drwxrwxrwt@ 2 root admin 102 3 21 15:40 Volumes
drwxr-xr-x@ 2 root wheel 1360 8 8 2009 bin
drwxr-xr-x 4 jianmingxu admin 612 2 17 12:18 code
drwxrwxr-t@ 2 root admin 68 1 29 2008 cores
dr-xr-xr-x 2 root wheel 512 3 21 15:40 dev
lrwxr-xr-x@ 1 root admin 11 3 3 2009 etc -> private/etc
dr-xr-xr-x 2 root wheel 1 3 21 15:40 home
-rw-r--r--@ 1 root wheel 10367028 7 16 2009 mach_kernel
-rw-r--r--@ 1 root wheel 10822172 7 16 2009 mach_kernel.ctfsys
dr-xr-xr-x 2 root wheel 1 3 21 15:40 net
drwxr-xr-x 3 root admin 102 3 19 11:45 opt
drwxr-xr-x@ 6 root wheel 204 3 3 2009 private
drwxr-xr-x@ 2 root wheel 2346 1 22 22:41 sbin
cd Library/
MacBook:Library jianmingxu$ ls
Address Book Plug-Ins Input Methods Printers
Application Support InputManagers Python
Audio Internet Plug-Ins QuickLook
Caches Java QuickTime
ColorSync Keyboard Layouts Receipts
Compositions Keychains Ruby
Contextual Menu Items LaunchAgents Screen Savers
Desktop Pictures LaunchDaemons Scripts
Dictionaries Logs Security
Documentation Mail Spotlight
Filesystems Modem Scripts StartupItems
Fonts Mozilla Updates
Frameworks PDF Services User Pictures
Google Perl WebServer
Graphics PreferencePanes Widgets
Image Capture Preferences iTunes
MacBook:Library jianmingxu$ cd A
Address Book Plug-Ins/ Application Support/ Audio/
MacBook:Library jianmingxu$ cd Application/ Support/
MacBook:Application Support jianmingxu$ ls
ACD 绯荤?? ProApps
Apple ResearchSoft
CrashReporter VMware Fusion
GarageBand hp
Google iDVD
Macromedia iLifeMediaBrowser
Microsoft iPhoto
Mozilla iStat local
NetServices iTunes
Nokia Multimedia Transfer iWork '09
Paragon NTFS for Mac OS X
MacBook:Application Support jianmingxu$ cd ..
MacBook:Library jianmingxu$ cd /etc
MacBook:etc jianmingxu$ ls
6to4.conf nanorc
afpovertcp.cfg networks
aliases newsyslog.conf
aliases.db notify.conf
amavisd.conf ntp-restrict.conf
apache2 ntp.conf
asl.conf openldap
authorization oratab
auto_home pam.d
auto_master passwd
autofs.conf paths
bashrc paths.d
csh.cshrc periodic
csh.login php.ini
csh.logout php.ini.default
cups podcastproducer
defaults postfix
dnsextd.conf ppp
dumpdates profile
efax.rc protocols
find.codes racoon
fstab.hd rc.common
ftpusers rc.netboot
gettytab resolv.conf
group rmtab
hostconfig rpc
hostconfig~ rtadvd.conf
hosts services
hosts.equiv shells
httpd smb.conf
ibm smb.conf.old
irbrc smb.conf.template
kcpassword snmp
kern_loader.conf ssh_config
krb5.keytab ssh_host_dsa_key
launchd.conf ssh_host_dsa_key.pub
localtime ssh_host_key
locate.rc ssh_host_key.pub
mach_init.d ssh_host_rsa_key
mach_init_per_login_session.d ssh_host_rsa_key.pub
mach_init_per_user.d sshd_config
mail.rc sudoers
man.conf sysctl.conf
manpaths syslog.conf
manpaths.d thnuclnt
master.passwd ttys
memberd.conf xgrid
moduli xtab
named.conf zprofile
MacBook:etc jianmingxu$ cd a
afpovertcp.cfg amavisd.conf authorization autofs.conf
aliases apache2/ auto_home
aliases.db asl.conf auto_master
MacBook:etc jianmingxu$ cd apache
-bash: cd: apache: No such file or directory
MacBook:etc jianmingxu$ cd apache2/
MacBook:apache2 jianmingxu$ ls
extra magic original users
httpd.conf mime.types other
MacBook:apache2 jianmingxu$ cd user
-bash: cd: user: No such file or directory
MacBook:apache2 jianmingxu$ cd o
original/ other/
MacBook:apache2 jianmingxu$ cd other/
+entropy-php.conf bonjour.conf php5.conf
MacBook:apache2 jianmingxu$ whereis moudle
MacBook:apache2 jianmingxu$ cd ~
MacBook:~ jianmingxu$ cd Sites/
MacBook:Sites jianmingxu$ ls
iProber images index.html test.php
MacBook:Sites jianmingxu$ ls
iProber images index.html test.php
MacBook:Sites jianmingxu$ vi index.html
MacBook:Sites jianmingxu$ vi index.html
MacBook:Sites jianmingxu$ cd /Library/A
Address Book Plug-Ins/ Application Support/ Audio/
MacBook:Sites jianmingxu$ cd /Library/Apache2
-bash: cd: /Library/Apache2: No such file or directory
MacBook:Sites jianmingxu$ cd %apache_home%
-bash: cd: %apache_home%: No such file or directory
MacBook:Sites jianmingxu$ cd /Library/
MacBook:Library jianmingxu$ LS
-bash: LS: command not found
MacBook:Library jianmingxu$ ls -al
total 32
drwxrwxr-t+ 50 root admin 1768 3 20 15:46 .
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 ..
-rw-rw-r--@ 1 jianmingxu admin 15364 1 26 13:32 .DS_Store
-rw-rw-r-- 1 root admin 0 11 25 2007 .localized
drwxrwxr-x 4 root admin 136 1 13 02:46 Address Book Plug-Ins
drwxrwxr-x 23 root admin 816 3 20 11:17 Application Support
drwxrwxr-x 10 root admin 340 3 3 2009 Audio
drwxrwxrwt 4 root admin 544 3 21 19:53 Caches
drwxrwxr-x 3 root admin 136 3 3 2009 ColorSync
drwxrwxr-x 2 root admin 102 11 26 2007 Compositions
drwxrwxr-x 3 root admin 102 3 19 2009 Contextual Menu Items
drwxrwxr-x 7 root admin 1020 11 25 2007 Desktop Pictures
drwxrwxr-x 8 root admin 272 3 3 2009 Dictionaries
drwxrwxr-x 8 root admin 306 12 9 14:52 Documentation
drwxr-xr-x 3 root wheel 102 3 19 2009 Filesystems
drwxrwxr-x 2 root admin 5440 5 9 2009 Fonts
drwxrwxr-x 8 root admin 272 12 9 14:52 Frameworks
drwxr-xr-x 6 root admin 204 6 29 2009 Google
drwxrwxr-x 4 root admin 136 3 3 2009 Graphics
drwxrwxr-x 7 root admin 238 3 3 2009 Image Capture
drwxrwxr-x 2 root admin 68 11 25 2007 Input Methods
drwxr-xr-x 3 root admin 102 3 20 15:46 InputManagers
drwxrwxr-x 14 root admin 612 2 20 12:48 Internet Plug-Ins
drwxrwxr-x 3 root admin 136 12 9 14:21 Java
drwxrwxr-x 2 root admin 68 1 3 2008 Keyboard Layouts
drwxr-xr-x 2 root admin 136 2 24 17:54 Keychains
drwxr-xr-x 2 root wheel 170 3 20 11:17 LaunchAgents
drwxr-xr-x 2 root wheel 204 3 20 11:17 LaunchDaemons
drwxrwxr-x 6 root admin 374 12 9 14:51 Logs
drwxrwxr-x 3 root admin 102 1 7 2008 Mail
drwxrwxr-x 37 root admin 1598 3 3 2009 Modem Scripts
drwxr-xr-x@ 2 jianmingxu admin 102 3 4 2009 Mozilla
drwxrwxr-x 6 root admin 204 1 24 2008 PDF Services
drwxrwxr-x 4 root admin 170 5 14 2009 Perl
drwxr-xr-x 7 root wheel 238 3 20 22:00 PreferencePanes
drwxrwxr-x 4 root admin 1734 3 21 19:03 Preferences
drwxrwxr-x 17 root admin 612 3 21 12:59 Printers
drwxrwxr-x 4 root admin 136 3 3 2009 Python
drwxrwxr-x 5 root admin 170 5 29 2009 QuickLook
drwxrwxr-x 9 root admin 306 2 20 12:48 QuickTime
drwxrwxr-x 80 root admin 2822 3 20 17:53 Receipts
drwxrwxr-x 4 root admin 136 3 3 2009 Ruby
drwxrwxr-x 4 root admin 170 5 2 2009 Screen Savers
drwxrwxr-x 19 root admin 646 3 3 2009 Scripts
drwxr-xr-x 3 root wheel 102 2 21 2008 Security
drwxrwxr-x 8 root admin 272 3 20 17:53 Spotlight
drwxr-xr-x 3 root wheel 102 3 6 2009 StartupItems
drwxrwxr-x 3 root admin 136 3 15 14:21 Updates
drwxrwxr-x 7 root admin 238 11 25 2007 User Pictures
drwxrwxr-x 5 root admin 204 5 15 2009 WebServer
drwxr-xr-x 22 root wheel 748 12 9 14:52 Widgets
drwxrwxr-x 3 root admin 102 11 26 2007 iTunes
MacBook:Library jianmingxu$ cd ..
MacBook:/ jianmingxu$ ls
MacBook:/ jianmingxu$ cd etc
MacBook:etc jianmingxu$ ls
6to4.conf nanorc
afpovertcp.cfg networks
aliases newsyslog.conf
aliases.db notify.conf
amavisd.conf ntp-restrict.conf
apache2 ntp.conf
asl.conf openldap
authorization oratab
auto_home pam.d
auto_master passwd
autofs.conf paths
bashrc paths.d
csh.cshrc periodic
csh.login php.ini
csh.logout php.ini.default
cups podcastproducer
defaults postfix
dnsextd.conf ppp
dumpdates profile
efax.rc protocols
find.codes racoon
fstab.hd rc.common
ftpusers rc.netboot
gettytab resolv.conf
group rmtab
hostconfig rpc
hostconfig~ rtadvd.conf
hosts services
hosts.equiv shells
httpd smb.conf
ibm smb.conf.old
irbrc smb.conf.template
kcpassword snmp
kern_loader.conf ssh_config
krb5.keytab ssh_host_dsa_key
launchd.conf ssh_host_dsa_key.pub
localtime ssh_host_key
locate.rc ssh_host_key.pub
mach_init.d ssh_host_rsa_key
mach_init_per_login_session.d ssh_host_rsa_key.pub
mach_init_per_user.d sshd_config
mail.rc sudoers
man.conf sysctl.conf
manpaths syslog.conf
manpaths.d thnuclnt
master.passwd ttys
memberd.conf xgrid
moduli xtab
named.conf zprofile
MacBook:etc jianmingxu$ cd apache2/
MacBook:apache2 jianmingxu$ ls
extra magic original users
httpd.conf mime.types other
MacBook:apache2 jianmingxu$ vi httpd.conf
MacBook:apache2 jianmingxu$ cd /Library/
.DS_Store Image Capture/ Printers/
.localized Input Methods/ Python/
Address Book Plug-Ins/ InputManagers/ QuickLook/
Application Support/ Internet Plug-Ins/ QuickTime/
Audio/ Java/ Receipts/
Caches/ Keyboard Layouts/ Ruby/
ColorSync/ Keychains/ Screen Savers/
Compositions/ LaunchAgents/ Scripts/
Contextual Menu Items/ LaunchDaemons/ Security/
Desktop Pictures/ Logs/ Spotlight/
Dictionaries/ Mail/ StartupItems/
Documentation/ Modem Scripts/ Updates/
Filesystems/ Mozilla/ User Pictures/
Fonts/ PDF Services/ WebServer/
Frameworks/ Perl/ Widgets/
Google/ PreferencePanes/ iTunes/
Graphics/ Preferences/
MacBook:apache2 jianmingxu$ cd /Libexec
-bash: cd: /Libexec: No such file or directory
MacBook:apache2 jianmingxu$ whereis libexec
MacBook:apache2 jianmingxu$ cd /
MacBook:/ jianmingxu$ ls
MacBook:/ jianmingxu$ ls -al
total 41869
MacBook:/ jianmingxu$ ls -al
total 41869
MacBook:/ jianmingxu$ cd /
MacBook:/ jianmingxu$ ls -al
total 41869
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 .
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 ..
-rw-rw-r--@ 1 jianmingxu admin 15364 3 20 23:10 .DS_Store
drwx------ 3 root admin 102 3 3 2009 .Spotlight-V100
d-wx-wx-wt 2 root staff 68 3 3 2009 .Trashes
-rw-r--r-- 1 root wheel 0 3 3 2009 .com.apple.timemachine.supported
drwx------ 2 root admin 136 3 21 15:40 .fseventsd
-rw------- 1 root wheel 196608 5 24 2009 .hotfiles.btree
drwxr-xr-x@ 2 root wheel 68 11 25 2007 .vol
drwxrwxr-x+ 60 root admin 2142 3 20 17:53 Applications
-rw-r--r--@ 1 root admin 2048 3 27 2009 Desktop DB
-rw-r--r--@ 1 root admin 4098 3 27 2009 Desktop DF
drwxrwxr-t+ 50 root admin 1768 3 20 15:46 Library
drwxr-xr-x@ 2 root wheel 68 1 29 2008 Network
drwxr-xr-x 3 root wheel 136 8 9 2009 System
drwxr-xr-x 4 root admin 170 3 19 11:36 Users
drwxrwxrwt@ 2 root admin 102 3 21 15:40 Volumes
drwxr-xr-x@ 2 root wheel 1360 8 8 2009 bin
drwxr-xr-x 4 jianmingxu admin 612 2 17 12:18 code
drwxrwxr-t@ 2 root admin 68 1 29 2008 cores
dr-xr-xr-x 2 root wheel 512 3 21 15:40 dev
lrwxr-xr-x@ 1 root admin 11 3 3 2009 etc -> private/etc
dr-xr-xr-x 2 root wheel 1 3 21 15:40 home
-rw-r--r--@ 1 root wheel 10367028 7 16 2009 mach_kernel
-rw-r--r--@ 1 root wheel 10822172 7 16 2009 mach_kernel.ctfsys
dr-xr-xr-x 2 root wheel 1 3 21 15:40 net
drwxr-xr-x 3 root admin 102 3 19 11:45 opt
drwxr-xr-x@ 6 root wheel 204 3 3 2009 private
drwxr-xr-x@ 2 root wheel 2346 1 22 22:41 sbin
lrwxr-xr-x@ 1 root admin 11 3 3 2009 tmp -> private/tmp
drwxr-xr-x@ 10 root wheel 374 12 9 14:52 usr
lrwxr-xr-x@ 1 root admin 11 3 3 2009 var -> private/var
drwxr-xr-x 10 jianmingxu admin 374 3 18 12:37 浼?榄????娉?
drwxr-xr-x 2 jianmingxu admin 884 3 14 16:47 ??ヤ??涓?浼ゆ??
drwxrwxrwx 20 jianmingxu admin 714 3 5 22:22 ??????姝?
MacBook:/ jianmingxu$ cd etc
MacBook:etc jianmingxu$ ls
6to4.conf nanorc
afpovertcp.cfg networks
aliases newsyslog.conf
aliases.db notify.conf
amavisd.conf ntp-restrict.conf
apache2 ntp.conf
asl.conf openldap
authorization oratab
auto_home pam.d
auto_master passwd
autofs.conf paths
bashrc paths.d
csh.cshrc periodic
csh.login php.ini
csh.logout php.ini.default
cups podcastproducer
defaults postfix
dnsextd.conf ppp
dumpdates profile
efax.rc protocols
find.codes racoon
fstab.hd rc.common
ftpusers rc.netboot
gettytab resolv.conf
group rmtab
hostconfig rpc
hostconfig~ rtadvd.conf
hosts services
hosts.equiv shells
httpd smb.conf
ibm smb.conf.old
irbrc smb.conf.template
kcpassword snmp
kern_loader.conf ssh_config
krb5.keytab ssh_host_dsa_key
launchd.conf ssh_host_dsa_key.pub
localtime ssh_host_key
locate.rc ssh_host_key.pub
mach_init.d ssh_host_rsa_key
mach_init_per_login_session.d ssh_host_rsa_key.pub
mach_init_per_user.d sshd_config
mail.rc sudoers
man.conf sysctl.conf
manpaths syslog.conf
manpaths.d thnuclnt
master.passwd ttys
memberd.conf xgrid
moduli xtab
named.conf zprofile
MacBook:etc jianmingxu$ cd a
afpovertcp.cfg amavisd.conf authorization autofs.conf
aliases apache2/ auto_home
aliases.db asl.conf auto_master
MacBook:etc jianmingxu$ cd apache2/
MacBook:apache2 jianmingxu$ ls
extra magic original users
httpd.conf mime.types other
MacBook:apache2 jianmingxu$ cd extra/
MacBook:extra jianmingxu$ s
-bash: s: command not found
MacBook:extra jianmingxu$ ls
httpd-autoindex.conf httpd-mpm.conf
httpd-dav.conf httpd-multilang-errordoc.conf
httpd-default.conf httpd-ssl.conf
httpd-info.conf httpd-userdir.conf
httpd-languages.conf httpd-vhosts.conf
httpd-manual.conf
MacBook:extra jianmingxu$ pwd
/etc/apache2/extra
MacBook:extra jianmingxu$ cd .
MacBook:extra jianmingxu$ ls
httpd-autoindex.conf httpd-mpm.conf
httpd-dav.conf httpd-multilang-errordoc.conf
httpd-default.conf httpd-ssl.conf
httpd-info.conf httpd-userdir.conf
httpd-languages.conf httpd-vhosts.conf
httpd-manual.conf
MacBook:extra jianmingxu$ cd ..
MacBook:apache2 jianmingxu$ ls
extra magic original users
httpd.conf mime.types other
MacBook:apache2 jianmingxu$ cd o
original/ other/
MacBook:apache2 jianmingxu$ cd other/
MacBook:other jianmingxu$ ls
+entropy-php.conf bonjour.conf php5.conf
MacBook:other jianmingxu$ cd ..
MacBook:apache2 jianmingxu$ ls
extra magic original users
httpd.conf mime.types other
MacBook:apache2 jianmingxu$ cd magic
-bash: cd: magic: Not a directory
MacBook:apache2 jianmingxu$ ls
extra magic original users
httpd.conf mime.types other
MacBook:apache2 jianmingxu$ cd ..
MacBook:etc jianmingxu$ ls
6to4.conf nanorc
afpovertcp.cfg networks
aliases newsyslog.conf
aliases.db notify.conf
amavisd.conf ntp-restrict.conf
apache2 ntp.conf
asl.conf openldap
authorization oratab
auto_home pam.d
auto_master passwd
autofs.conf paths
bashrc paths.d
csh.cshrc periodic
csh.login php.ini
csh.logout php.ini.default
cups podcastproducer
defaults postfix
dnsextd.conf ppp
dumpdates profile
efax.rc protocols
find.codes racoon
fstab.hd rc.common
ftpusers rc.netboot
gettytab resolv.conf
group rmtab
hostconfig rpc
hostconfig~ rtadvd.conf
hosts services
hosts.equiv shells
httpd smb.conf
ibm smb.conf.old
irbrc smb.conf.template
kcpassword snmp
kern_loader.conf ssh_config
krb5.keytab ssh_host_dsa_key
launchd.conf ssh_host_dsa_key.pub
localtime ssh_host_key
locate.rc ssh_host_key.pub
mach_init.d ssh_host_rsa_key
mach_init_per_login_session.d ssh_host_rsa_key.pub
mach_init_per_user.d sshd_config
mail.rc sudoers
man.conf sysctl.conf
manpaths syslog.conf
manpaths.d thnuclnt
master.passwd ttys
memberd.conf xgrid
moduli xtab
named.conf zprofile
MacBook:etc jianmingxu$ cd ..
MacBook:/ jianmingxu$ cd Library/
MacBook:Library jianmingxu$ LS
-bash: LS: command not found
MacBook:Library jianmingxu$ ls
Address Book Plug-Ins Input Methods Printers
Application Support InputManagers Python
Audio Internet Plug-Ins QuickLook
Caches Java QuickTime
ColorSync Keyboard Layouts Receipts
Compositions Keychains Ruby
Contextual Menu Items LaunchAgents Screen Savers
Desktop Pictures LaunchDaemons Scripts
Dictionaries Logs Security
Documentation Mail Spotlight
Filesystems Modem Scripts StartupItems
Fonts Mozilla Updates
Frameworks PDF Services User Pictures
Google Perl WebServer
Graphics PreferencePanes Widgets
Image Capture Preferences iTunes
MacBook:Library jianmingxu$ cd ..
MacBook:/ jianmingxu$ ls
MacBook:/ jianmingxu$ cd etc
MacBook:etc jianmingxu$ ls
6to4.conf nanorc
afpovertcp.cfg networks
aliases newsyslog.conf
aliases.db notify.conf
amavisd.conf ntp-restrict.conf
apache2 ntp.conf
asl.conf openldap
authorization oratab
auto_home pam.d
auto_master passwd
autofs.conf paths
bashrc paths.d
csh.cshrc periodic
csh.login php.ini
csh.logout php.ini.default
cups podcastproducer
defaults postfix
dnsextd.conf ppp
dumpdates profile
efax.rc protocols
find.codes racoon
fstab.hd rc.common
ftpusers rc.netboot
gettytab resolv.conf
group rmtab
hostconfig rpc
hostconfig~ rtadvd.conf
hosts services
hosts.equiv shells
httpd smb.conf
ibm smb.conf.old
irbrc smb.conf.template
kcpassword snmp
kern_loader.conf ssh_config
krb5.keytab ssh_host_dsa_key
launchd.conf ssh_host_dsa_key.pub
localtime ssh_host_key
locate.rc ssh_host_key.pub
mach_init.d ssh_host_rsa_key
mach_init_per_login_session.d ssh_host_rsa_key.pub
mach_init_per_user.d sshd_config
mail.rc sudoers
man.conf sysctl.conf
manpaths syslog.conf
manpaths.d thnuclnt
master.passwd ttys
memberd.conf xgrid
moduli xtab
named.conf zprofile
MacBook:etc jianmingxu$ cd httpd/
MacBook:httpd jianmingxu$ ls
MacBook:httpd jianmingxu$ cd ,,
-bash: cd: ,,: No such file or directory
MacBook:httpd jianmingxu$ cd ..
MacBook:etc jianmingxu$ ls
6to4.conf nanorc
afpovertcp.cfg networks
aliases newsyslog.conf
aliases.db notify.conf
amavisd.conf ntp-restrict.conf
apache2 ntp.conf
asl.conf openldap
authorization oratab
auto_home pam.d
auto_master passwd
autofs.conf paths
bashrc paths.d
csh.cshrc periodic
csh.login php.ini
csh.logout php.ini.default
cups podcastproducer
defaults postfix
dnsextd.conf ppp
dumpdates profile
efax.rc protocols
find.codes racoon
fstab.hd rc.common
ftpusers rc.netboot
gettytab resolv.conf
group rmtab
hostconfig rpc
hostconfig~ rtadvd.conf
hosts services
hosts.equiv shells
httpd smb.conf
ibm smb.conf.old
irbrc smb.conf.template
kcpassword snmp
kern_loader.conf ssh_config
krb5.keytab ssh_host_dsa_key
launchd.conf ssh_host_dsa_key.pub
localtime ssh_host_key
locate.rc ssh_host_key.pub
mach_init.d ssh_host_rsa_key
mach_init_per_login_session.d ssh_host_rsa_key.pub
mach_init_per_user.d sshd_config
mail.rc sudoers
man.conf sysctl.conf
manpaths syslog.conf
manpaths.d thnuclnt
master.passwd ttys
memberd.conf xgrid
moduli xtab
named.conf zprofile
MacBook:etc jianmingxu$ pwd
/etc
MacBook:etc jianmingxu$ cd a
afpovertcp.cfg amavisd.conf authorization autofs.conf
aliases apache2/ auto_home
aliases.db asl.conf auto_master
MacBook:etc jianmingxu$ cd apache2/
MacBook:apache2 jianmingxu$ ls
extra magic original users
httpd.conf mime.types other
MacBook:apache2 jianmingxu$ vi httpd.conf
MacBook:apache2 jianmingxu$ cd libexec/apache2
-bash: cd: libexec/apache2: No such file or directory
MacBook:apache2 jianmingxu$ cd /usr/l
lib/ libexec/ local/
MacBook:apache2 jianmingxu$ cd /usr/lib
lib/ libexec/
MacBook:apache2 jianmingxu$ cd /usr/libexec/a
airportd apache2/ atrun authopen autofsd automountd
MacBook:apache2 jianmingxu$ cd /usr/libexec/apache2/
MacBook:apache2 jianmingxu$ ls
httpd.exp mod_cgi.so mod_mem_cache.so
libphp5.so mod_content_filter.so mod_mime.so
mod_actions.so mod_dav.so mod_mime_magic.so
mod_alias.so mod_dav_fs.so mod_negotiation.so
mod_asis.so mod_dav_svn.so mod_perl.so
mod_auth_basic.so mod_dbd.so mod_proxy.so
mod_auth_digest.so mod_deflate.so mod_proxy_ajp.so
mod_authn_anon.so mod_dir.so mod_proxy_balancer.so
mod_authn_dbd.so mod_disk_cache.so mod_proxy_connect.so
mod_authn_dbm.so mod_dumpio.so mod_proxy_ftp.so
mod_authn_default.so mod_env.so mod_proxy_http.so
mod_authn_file.so mod_expires.so mod_rewrite.so
mod_authz_dbm.so mod_ext_filter.so mod_scgi_pubsub.so
mod_authz_default.so mod_fastcgi.so mod_setenvif.so
mod_authz_groupfile.so mod_filter.so mod_speling.so
mod_authz_host.so mod_headers.so mod_ssl.so
mod_authz_owner.so mod_ident.so mod_status.so
mod_authz_svn.so mod_imagemap.so mod_substitute.so
mod_authz_user.so mod_include.so mod_unique_id.so
mod_autoindex.so mod_info.so mod_userdir.so
mod_bonjour.so mod_log_config.so mod_usertrack.so
mod_cache.so mod_log_forensic.so mod_version.so
mod_cern_meta.so mod_logio.so mod_vhost_alias.so
MacBook:apache2 jianmingxu$ pwd
/usr/libexec/apache2
MacBook:apache2 jianmingxu$ sudo apachectl -k stop
Password:
httpd: Syntax error on line 116 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_jk-1.2.25-httpd-2.2.4.so into server: dlopen(/usr/libexec/apache2/mod_jk-1.2.25-httpd-2.2.4.so, 10): no suitable image found. Did find:/n/t/usr/libexec/apache2/mod_jk-1.2.25-httpd-2.2.4.so: mach-o, but wrong architecture
MacBook:apache2 jianmingxu$ sudo apachectl -k start
httpd: Syntax error on line 116 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_jk-1.2.25-httpd-2.2.4.so into server: dlopen(/usr/libexec/apache2/mod_jk-1.2.25-httpd-2.2.4.so, 10): no suitable image found. Did find:/n/t/usr/libexec/apache2/mod_jk-1.2.25-httpd-2.2.4.so: mach-o, but wrong architecture
MacBook:apache2 jianmingxu$ sudo apachectl -k start
[Sun Mar 21 20:19:54 2010] [warn] module php5_module is already loaded, skipping
httpd (pid 430) already running
MacBook:apache2 jianmingxu$ sudo apachectl -k stop
[Sun Mar 21 20:20:01 2010] [warn] module php5_module is already loaded, skipping
MacBook:apache2 jianmingxu$ sudo apachectl -k start
httpd: Syntax error on line 486 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _libiconv/n Referenced from: /usr/local/php5/lib/libintl.8.dylib/n Expected in: /usr/lib/libiconv.2.dylib/n
MacBook:apache2 jianmingxu$ sudo apachectl -k stop
httpd: Syntax error on line 486 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _libiconv/n Referenced from: /usr/local/php5/lib/libintl.8.dylib/n Expected in: /usr/lib/libiconv.2.dylib/n
MacBook:apache2 jianmingxu$ sudo apachectl stop
MacBook:apache2 jianmingxu$ sudo apachectl start
MacBook:apache2 jianmingxu$ sudo apachectl stop
MacBook:apache2 jianmingxu$ sudo apachectl start
MacBook:apache2 jianmingxu$ sudo apachectl stop
MacBook:apache2 jianmingxu$ sudo apachectl start
MacBook:apache2 jianmingxu$ cd ~/
.CFUserTextEncoding
.DS_Store
.TVUPlayer for MacOS X/
.Trash/
.Xauthority
.Xcode/
.android/
.asadminpass
.asadmintruststore
.bash_history
.config/
.cups/
.databrid/
.dbvis/
.eclipse_keyring
.emacs.d/
.filezilla/
.fontconfig/
.fonts.cache-1
.lesshst
.mplayer/
.mysql_history
.nbprofiler/
.netbeans/
.netbeans-derby/
.netbeans-registration/
.org.eclipse.epp.usagedata.recording.userId
.p300/
.ssh/
.subversion/
.viminfo
.wapi/
Applications/
DatabridUser.properties
Desktop/
Documents/
Downloads/
Library/
Movies/
Music/
NetBeansProjects/
Pictures/
Public/
SightSpeed Recordings/
Sites/
code/
MacBook:apache2 jianmingxu$ cd ~/
MacBook:~ jianmingxu$
MacBook:~ jianmingxu$
MacBook:~ jianmingxu$
MacBook:~ jianmingxu$
MacBook:~ jianmingxu$
MacBook:~ jianmingxu$
MacBook:~ jianmingxu$
MacBook:~ jianmingxu$
MacBook:~ jianmingxu$ pwd
/Users/jianmingxu
MacBook:~ jianmingxu$ cd Sites/
MacBook:Sites jianmingxu$ ls
iProber images index.html test.php
MacBook:Sites jianmingxu$ cd iProber/
MacBook:iProber jianmingxu$ LS
-bash: LS: command not found
MacBook:iProber jianmingxu$ ls
iProber-big5.php iProber1-big5.php iProber2-big5.php
iProber.php iProber1.php iProber2.php
MacBook:iProber jianmingxu$ sudo apachectl stop
MacBook:iProber jianmingxu$ sudo apachectl start
MacBook:iProber jianmingxu$ sudo apachectl stop
MacBook:iProber jianmingxu$ sudo apachectl start
MacBook:iProber jianmingxu$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.060 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.058 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.056 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.095 ms
^C
--- 127.0.0.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.056/0.067/0.095/0.016 ms
MacBook:iProber jianmingxu$ ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.067 ms
^C
--- localhost ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.054/0.060/0.067/0.007 ms
MacBook:iProber jianmingxu$ sudo apachectl stop
Password:
MacBook:iProber jianmingxu$ sudo apachectl start
MacBook:iProber jianmingxu$ cp ~/
.CFUserTextEncoding
.DS_Store
.TVUPlayer for MacOS X/
.Trash/
.Xauthority
.Xcode/
.android/
.asadminpass
.asadmintruststore
.bash_history
.config/
.cups/
.databrid/
.dbvis/
.eclipse_keyring
.emacs.d/
.filezilla/
.fontconfig/
.fonts.cache-1
.lesshst
.mplayer/
.mysql_history
.nbprofiler/
.netbeans/
.netbeans-derby/
.netbeans-registration/
.org.eclipse.epp.usagedata.recording.userId
.p300/
.ssh/
.subversion/
.viminfo
.wapi/
Applications/
DatabridUser.properties
Desktop/
Documents/
Downloads/
Library/
Movies/
Music/
NetBeansProjects/
Pictures/
Public/
SightSpeed Recordings/
Sites/
code/
MacBook:iProber jianmingxu$ cp ~/
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory
MacBook:iProber jianmingxu$
MacBook:iProber jianmingxu$
MacBook:iProber jianmingxu$ cp /code/m
maincar.java mod_jk-1.2.25-httpd-2.2.4.so
MacBook:iProber jianmingxu$ cp /code/mod_jk.so /usr/libexec/apache2/mod_
mod_actions.so mod_dav.so mod_mime_magic.so
mod_alias.so mod_dav_fs.so mod_negotiation.so
mod_asis.so mod_dav_svn.so mod_perl.so
mod_auth_basic.so mod_dbd.so mod_proxy.so
mod_auth_digest.so mod_deflate.so mod_proxy_ajp.so
mod_authn_anon.so mod_dir.so mod_proxy_balancer.so
mod_authn_dbd.so mod_disk_cache.so mod_proxy_connect.so
mod_authn_dbm.so mod_dumpio.so mod_proxy_ftp.so
mod_authn_default.so mod_env.so mod_proxy_http.so
mod_authn_file.so mod_expires.so mod_rewrite.so
mod_authz_dbm.so mod_ext_filter.so mod_scgi_pubsub.so
mod_authz_default.so mod_fastcgi.so mod_setenvif.so
mod_authz_groupfile.so mod_filter.so mod_speling.so
mod_authz_host.so mod_headers.so mod_ssl.so
mod_authz_owner.so mod_ident.so mod_status.so
mod_authz_svn.so mod_imagemap.so mod_substitute.so
mod_authz_user.so mod_include.so mod_unique_id.so
mod_autoindex.so mod_info.so mod_userdir.so
mod_bonjour.so mod_log_config.so mod_usertrack.so
mod_cache.so mod_log_forensic.so mod_version.so
mod_cern_meta.so mod_logio.so mod_vhost_alias.so
mod_cgi.so mod_mem_cache.so
mod_content_filter.so mod_mime.so
MacBook:iProber jianmingxu$ cp /code/mod_jk.so /usr/libexec/apache2/
cp: /usr/libexec/apache2/mod_jk.so: Permission denied
MacBook:iProber jianmingxu$ su root
Password:
sh-3.2# cp /code/mod_jk.so /usr/libexec/apache2
sh-3.2# cd /usr/libexec/apache2
sh-3.2# ls
httpd.exp mod_content_filter.so mod_mime.so
libphp5.so mod_dav.so mod_mime_magic.so
mod_actions.so mod_dav_fs.so mod_negotiation.so
mod_alias.so mod_dav_svn.so mod_perl.so
mod_asis.so mod_dbd.so mod_proxy.so
mod_auth_basic.so mod_deflate.so mod_proxy_ajp.so
mod_auth_digest.so mod_dir.so mod_proxy_balancer.so
mod_authn_anon.so mod_disk_cache.so mod_proxy_connect.so
mod_authn_dbd.so mod_dumpio.so mod_proxy_ftp.so
mod_authn_dbm.so mod_env.so mod_proxy_http.so
mod_authn_default.so mod_expires.so mod_rewrite.so
mod_authn_file.so mod_ext_filter.so mod_scgi_pubsub.so
mod_authz_dbm.so mod_fastcgi.so mod_setenvif.so
mod_authz_default.so mod_filter.so mod_speling.so
mod_authz_groupfile.so mod_headers.so mod_ssl.so
mod_authz_host.so mod_ident.so mod_status.so
mod_authz_owner.so mod_imagemap.so mod_substitute.so
mod_authz_svn.so mod_include.so mod_unique_id.so
mod_authz_user.so mod_info.so mod_userdir.so
mod_autoindex.so mod_jk.so mod_usertrack.so
mod_bonjour.so mod_log_config.so mod_version.so
mod_cache.so mod_log_forensic.so mod_vhost_alias.so
mod_cern_meta.so mod_logio.so
mod_cgi.so mod_mem_cache.so
sh-3.2# pwd
/usr/libexec/apache2
sh-3.2# cd ..
sh-3.2# ls
ApplicationFirewall getNAME rexecd
CCLEngine getty rlogind
InternetSharing gnurmt rpc.rquotad
MiniTerm.app hidd rpc.yppasswdd
PlistBuddy ifcstart rshd
SmartCardServices ioupsd samba
StartupItemContext java_home sandbox-compilerd
airportd kdumpd scsid
apache2 kextd security-checksystem
atrun kuncd security_authtrampoline
authopen launchproxy security_privportserver
autofsd load_hdi service_helper
automountd locate.bigram sftp-server
bootlog locate.code slapd
bootpd locate.concatdb slurpd
changeip locate.mklocatedb ssh-keysign
chkpasswd locate.updatedb sshd-keygen-wrapper
comsat makekey stackshot
configureLocalKDC makewhatis taskgated
cups makewhatis.local tcpd
dirhelper mcxalr telnetd
docsetbless mount_url tftpd
docsetinstalld ntalkd upsshutdown
dumpemacs ntpd-wrapper vndevice
emacs oah wps
fax path_helper xgrid
fingerd podcastproducer ypserv
firmwaresyncd postfix
ftpd repair_packages
sh-3.2# cd ..
sh-3.2# cd /etc
sh-3.2# ls
.profile.swp named.conf
.services.lock nanorc
6to4.conf networks
afpovertcp.cfg newsyslog.conf
aliases notify.conf
aliases.db ntp-restrict.conf
amavisd.conf ntp.conf
apache2 openldap
asl.conf oratab
authorization pam.d
auto_home passwd
auto_master paths
autofs.conf paths.d
bashrc periodic
csh.cshrc php.ini
csh.login php.ini.default
csh.logout podcastproducer
cups postfix
defaults ppp
dnsextd.conf profile
dumpdates protocols
efax.rc racoon
find.codes rc.common
fstab.hd rc.netboot
ftpusers resolv.conf
gettytab rmtab
group rpc
hostconfig rtadvd.conf
hostconfig~ services
hosts shells
hosts.equiv smb.conf
httpd smb.conf.old
ibm smb.conf.template
irbrc snmp
kcpassword ssh_config
kern_loader.conf ssh_host_dsa_key
krb5.keytab ssh_host_dsa_key.pub
launchd.conf ssh_host_key
localtime ssh_host_key.pub
locate.rc ssh_host_rsa_key
mach_init.d ssh_host_rsa_key.pub
mach_init_per_login_session.d sshd_config
mach_init_per_user.d sudoers
mail.rc sysctl.conf
man.conf syslog.conf
manpaths thnuclnt
manpaths.d ttys
master.passwd xgrid
memberd.conf xtab
moduli zprofile
sh-3.2# cd apache2/
sh-3.2# ls
extra magic original users
httpd.conf mime.types other
sh-3.2# vi mod_jk.conf
sh-3.2# vi mod_jk.conf
sh-3.2# pwd
/etc/apache2
sh-3.2# vi mod_jk.conf
sh-3.2# vi workers.properties
sh-3.2# ls -al
total 152
drwxr-xr-x 6 root wheel 374 3 21 20:56 .
drwxr-xr-x 22 root wheel 3468 3 21 19:36 ..
drwxr-xr-x 2 root wheel 442 11 25 2007 extra
-rw-r--r--@ 1 jianmingxu wheel 17877 3 21 20:42 httpd.conf
-rw-r--r-- 1 root wheel 12958 11 25 2007 magic
-rw-r--r-- 1 root wheel 28782 11 25 2007 mime.types
-rw-r--r-- 1 root wheel 594 3 21 20:55 mod_jk.conf
drwxr-xr-x 3 root wheel 136 1 22 22:41 original
drwxr-xr-x 2 root wheel 170 3 20 22:06 other
drwxr-xr-x 2 root wheel 102 3 19 11:37 users
-rw-r--r-- 1 root wheel 350 3 21 20:56 workers.properties
sh-3.2# pwd
/etc/apache2
sh-3.2# cd /
sh-3.2# cd /usr/
X11/ bin/ libexec/ sbin/ standalone/
X11R6/ lib/ local/ share/
sh-3.2# cd /usr/
X11/ bin/ libexec/ sbin/ standalone/
X11R6/ lib/ local/ share/
sh-3.2# cd /
.DS_Store dev/
.Spotlight-V100/ etc/
.Trashes/ home/
.com.apple.timemachine.supported mach_kernel
.fseventsd/ mach_kernel.ctfsys
.hotfiles.btree net/
.DS_Store dev/
.Spotlight-V100/ etc/
.Trashes/ home/
.com.apple.timemachine.supported mach_kernel
.fseventsd/ mach_kernel.ctfsys
.hotfiles.btree net/
.vol/ opt/
Applications/ private/
Desktop DB sbin/
Desktop DF tmp/
Library/ usr/
Network/ var/
sh-3.2# cd /home
sh-3.2# ls
sh-3.2# cd /var
sh-3.2# ls
agentx db mail root tmp
amavis db2 msgs run virusmails
at empty named rwho vm
audit folders netboot samba xgrid
backups log opt spool yp
sh-3.2# cd root
sh-3.2# ls
.CFUserTextEncoding .viminfo Library
.forward Desktop db2exp.rsp
.sh_history Downloads
sh-3.2# cd Downloads/
sh-3.2# ls
.localized
sh-3.2# cd ..
sh-3.2# cd ..
sh-3.2# ls
agentx db mail root tmp
amavis db2 msgs run virusmails
at empty named rwho vm
audit folders netboot samba xgrid
backups log opt spool yp
sh-3.2# cd ..
sh-3.2# ls
sh-3.2# cd ..
sh-3.2# ls
sh-3.2# pwd
/
sh-3.2# ls -al
total 41869
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 .
drwxrwxr-t@ 28 root admin 1428 3 19 11:45 ..
-rw-rw-r--@ 1 jianmingxu admin 15364 3 21 20:48 .DS_Store
drwx------ 3 root admin 102 3 3 2009 .Spotlight-V100
d-wx-wx-wt@ 2 root _unknown 68 3 3 2009 .Trashes
-rw-r--r-- 1 root wheel 0 3 3 2009 .com.apple.timemachine.supported
drwx------ 2 root admin 136 3 21 15:40 .fseventsd
-rw-------@ 1 root wheel 196608 5 24 2009 .hotfiles.btree
drwxr-xr-x@ 2 root wheel 68 11 25 2007 .vol
drwxrwxr-x+ 60 root admin 2142 3 20 17:53 Applications
-rw-r--r--@ 1 root admin 2048 3 27 2009 Desktop DB
-rw-r--r--@ 1 root admin 4098 3 27 2009 Desktop DF
drwxrwxr-t+ 50 root admin 1768 3 20 15:46 Library
drwxr-xr-x@ 2 root wheel 68 1 29 2008 Network
drwxr-xr-x 3 root wheel 136 8 9 2009 System
drwxr-xr-x 4 root admin 170 3 19 11:36 Users
drwxrwxrwt@ 2 root admin 102 3 21 15:40 Volumes
drwxr-xr-x@ 2 root wheel 1360 8 8 2009 bin
drwxr-xr-x 4 jianmingxu admin 714 3 21 20:59 code
drwxrwxr-t@ 2 root admin 68 1 29 2008 cores
dr-xr-xr-x 2 root wheel 512 3 21 15:40 dev
lrwxr-xr-x@ 1 root admin 11 3 3 2009 etc -> private/etc
dr-xr-xr-x 2 root wheel 1 3 21 15:40 home
-rw-r--r--@ 1 root wheel 10367028 7 16 2009 mach_kernel
-rw-r--r--@ 1 root wheel 10822172 7 16 2009 mach_kernel.ctfsys
dr-xr-xr-x 2 root wheel 1 3 21 15:40 net
drwxr-xr-x 3 root admin 102 3 19 11:45 opt
drwxr-xr-x@ 6 root wheel 204 3 3 2009 private
drwxr-xr-x@ 2 root wheel 2346 1 22 22:41 sbin
lrwxr-xr-x@ 1 root admin 11 3 3 2009 tmp -> private/tmp
drwxr-xr-x@ 10 root wheel 374 12 9 14:52 usr
lrwxr-xr-x@ 1 root admin 11 3 3 2009 var -> private/var
drwxr-xr-x 10 jianmingxu admin 374 3 18 12:37 浼?榄????娉?
drwxr-xr-x 2 jianmingxu admin 884 3 14 16:47 ??ヤ??涓?浼ゆ??
sh-3.2# cd Users/
.localized Shared/ jianmingxu/
sh-3.2# cd Users/jianmingxu/
.CFUserTextEncoding
.DS_Store
.TVUPlayer for MacOS X/
.Trash/
.Xauthority
.Xcode/
.android/
.asadminpass
.asadmintruststore
.bash_history
.config/
.cups/
.databrid/
.dbvis/
.eclipse_keyring
.emacs.d/
.filezilla/
.fontconfig/
.fonts.cache-1
.lesshst
.mplayer/
.mysql_history
.nbprofiler/
.netbeans/
.netbeans-derby/
.netbeans-registration/
.org.eclipse.epp.usagedata.recording.userId
.p300/
.ssh/
.subversion/
.viminfo
.wapi/
Applications/
DatabridUser.properties
Desktop/
Documents/
Downloads/
Library/
Movies/
Music/
NetBeansProjects/
Pictures/
Public/
SightSpeed Recordings/
Sites/
code/
sh-3.2# cd Users/jianmingxu/Si
SightSpeed Recordings/ Sites/
sh-3.2# cd Users/jianmingxu/Sites/
sh-3.2# ls
.DS_Store iProber index.html
.localized images test.php
sh-3.2# ls
.DS_Store iProber index.html
.localized images test.php
sh-3.2# pwd
/Users/jianmingxu/Sites
sh-3.2# cd /usr/lib
lib/ libexec/
sh-3.2# cd /usr/libexec/apache2/
sh-3.2# ls
httpd.exp mod_content_filter.so mod_mime.so
libphp5.so mod_dav.so mod_mime_magic.so
mod_actions.so mod_dav_fs.so mod_negotiation.so
mod_alias.so mod_dav_svn.so mod_perl.so
mod_asis.so mod_dbd.so mod_proxy.so
mod_auth_basic.so mod_deflate.so mod_proxy_ajp.so
mod_auth_digest.so mod_dir.so mod_proxy_balancer.so
mod_authn_anon.so mod_disk_cache.so mod_proxy_connect.so
mod_authn_dbd.so mod_dumpio.so mod_proxy_ftp.so
mod_authn_dbm.so mod_env.so mod_proxy_http.so
mod_authn_default.so mod_expires.so mod_rewrite.so
mod_authn_file.so mod_ext_filter.so mod_scgi_pubsub.so
mod_authz_dbm.so mod_fastcgi.so mod_setenvif.so
mod_authz_default.so mod_filter.so mod_speling.so
mod_authz_groupfile.so mod_headers.so mod_ssl.so
mod_authz_host.so mod_ident.so mod_status.so
mod_authz_owner.so mod_imagemap.so mod_substitute.so
mod_authz_svn.so mod_include.so mod_unique_id.so
mod_authz_user.so mod_info.so mod_userdir.so
mod_autoindex.so mod_jk.so mod_usertrack.so
mod_bonjour.so mod_log_config.so mod_version.so
mod_cache.so mod_log_forensic.so mod_vhost_alias.so
mod_cern_meta.so mod_logio.so
mod_cgi.so mod_mem_cache.so
sh-3.2# cd /etc/apache2/
sh-3.2# ls
extra mime.types other
httpd.conf mod_jk.conf users
magic original workers.properties
sh-3.2# pwd
/etc/apache2
sh-3.2# sudo apachectl stop
sh-3.2# sudo apachectl start
sh-3.2# sudo apachectl stop
sh-3.2# sudo apachectl start
sh-3.2# cd /
sh-3.2# cd Applications/apache-tomcat-6.0.26/bin
sh-3.2# ls
bootstrap.jar digest.sh startup.sh
catalina-tasks.xml jsvc.tar.gz tomcat-juli.jar
catalina.bat setclasspath.bat tomcat-native.tar.gz
catalina.sh setclasspath.sh tool-wrapper.bat
commons-daemon.jar shutdown.bat tool-wrapper.sh
cpappend.bat shutdown.sh version.bat
digest.bat startup.bat version.sh
sh-3.2# ./shutdown.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
sh-3.2# ./startup.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
sh-3.2# ./shutdown.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
sh-3.2# sudo apachectl stop
sh-3.2# ./startup.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
sh-3.2# sudo apachectl start
sh-3.2# netstats
sh: netstats: command not found
sh-3.2# netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 192.168.1.100.51613 211.100.26.121.80 ESTABLISHED
tcp4 0 0 127.0.0.1.8005 *.* LISTEN
tcp4 0 0 *.8009 *.* LISTEN
tcp4 0 0 *.8080 *.* LISTEN
tcp4 0 0 127.0.0.1.5204 127.0.0.1.49155 ESTABLISHED
tcp4 0 0 127.0.0.1.49155 127.0.0.1.5204 ESTABLISHED
tcp4 0 0 127.0.0.1.5204 127.0.0.1.49154 ESTABLISHED
tcp4 0 0 127.0.0.1.49154 127.0.0.1.5204 ESTABLISHED
tcp4 0 0 127.0.0.1.5204 127.0.0.1.49153 ESTABLISHED
tcp4 0 0 127.0.0.1.49153 127.0.0.1.5204 ESTABLISHED
tcp4 0 0 *.88 *.* LISTEN
tcp6 0 0 *.88 *.* LISTEN
tcp46 0 0 *.5204 *.* LISTEN
tcp4 0 0 *.5204 *.* LISTEN
tcp46 0 0 *.49152 *.* LISTEN
tcp4 0 0 *.548 *.* LISTEN
tcp6 0 0 *.548 *.* LISTEN
tcp4 0 0 127.0.0.1.631 *.* LISTEN
tcp6 0 0 ::1.631 *.* LISTEN
tcp4 0 0 127.0.0.1.8080 127.0.0.1.51602 TIME_WAIT
udp4 0 0 172.16.8.1.123 *.*
udp4 0 0 172.16.157.1.123 *.*
udp4 0 0 192.168.1.100.123 *.*
udp6 0 0 fe80::21f:5bff:f.123 *.*
udp4 0 0 172.16.8.1.88 *.*
udp4 0 0 172.16.157.1.88 *.*
udp4 0 0 192.168.1.100.88 *.*
udp6 0 0 fe80::21f:5bff:f.88 *.*
udp6 0 0 fe80::1%lo0.88 *.*
udp4 0 0 *.* *.*
udp4 0 0 *.64763 *.*
udp4 0 0 *.56927 *.*
udp4 0 0 *.56953 *.*
udp4 0 0 *.63252 *.*
udp4 0 0 *.55149 *.*
udp4 0 0 *.51916 *.*
udp4 0 0 *.61666 *.*
udp4 0 0 *.65165 *.*
udp4 0 0 *.51971 *.*
udp4 0 0 *.61991 *.*
udp4 0 0 *.54002 *.*
udp4 0 0 *.51994 *.*
udp4 0 0 *.50501 *.*
udp4 0 0 *.59481 *.*
udp4 0 0 *.52813 *.*
udp4 0 0 *.60785 *.*
udp4 0 0 *.* *.*
udp6 0 0 ::1.123 *.*
udp4 0 0 127.0.0.1.123 *.*
udp6 0 0 fe80::1%lo0.123 *.*
udp6 0 0 *.123 *.*
udp4 0 0 *.123 *.*
udp6 0 0 *.5353 *.*
udp4 0 0 *.5353 *.*
udp4 0 0 *.* *.*
icm4 0 0 *.* *.*
icm6 0 0 *.* *.*
Active LOCAL (UNIX) domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
711db28 stream 0 0 0 0 0 0
71cde58 stream 0 0 0 0 0 0
71e7aa0 stream 0 0 0 71cd110 0 0 /var/run/mDNSResponder
71cd110 stream 0 0 0 71e7aa0 0 0
711d220 stream 0 0 0 711d110 0 0
711d110 stream 0 0 0 711d220 0 0
7218880 stream 0 0 0 71cd770 0 0
71cd770 stream 0 0 0 7218880 0 0
7218bb0 stream 0 0 0 7218b28 0 0 /var/run/pppconfd
7218b28 stream 0 0 0 7218bb0 0 0
71cdd48 stream 0 0 0 711d770 0 0 /var/run/mDNSResponder
711d770 stream 0 0 0 71cdd48 0 0
711d330 stream 0 0 0 71cddd0 0 0 /var/run/mDNSResponder
71cddd0 stream 0 0 0 711d330 0 0
71cdaa0 stream 0 0 0 711d550 0 0 /var/run/mDNSResponder
711d550 stream 0 0 0 71cdaa0 0 0
71cd3b8 stream 0 0 0 7218cc0 0 0
7218cc0 stream 0 0 0 71cd3b8 0 0
711d088 stream 0 0 0 711d660 0 0
711d660 stream 0 0 0 711d088 0 0
7218c38 stream 0 0 0 71cd2a8 0 0
71cd2a8 stream 0 0 0 7218c38 0 0
71cd330 stream 0 0 78ac320 0 0 0 /tmp/launch-20oR1t/:0
71e7990 stream 0 0 78ac440 0 0 0 /tmp/launch-gOJ59x/Listeners
71e7ee0 stream 0 0 78ac560 0 0 0 /tmp/launch-gAjm4C/Render
71e7dd0 stream 0 0 78ac830 0 0 0 /private/tmp/com.hp.launchport
711d880 stream 0 0 78ac9e0 0 0 0 /tmp/launchd-128.4WEXro/sock
71cd908 stream 0 0 774a7f0 0 0 0 /var/run/vmnat.97
71e7110 stream 0 0 0 71e7440 0 0 /var/run/mDNSResponder
71e7440 stream 0 0 0 71e7110 0 0
71e72a8 stream 0 0 0 71e76e8 0 0
71e76e8 stream 0 0 0 71e72a8 0 0
71cdb28 stream 0 0 0 71cd4c8 0 0
71cd4c8 stream 0 0 0 71cdb28 0 0
71cd088 stream 0 0 0 71e7b28 0 0 /var/run/asl_input
71e7b28 stream 0 0 0 71cd088 0 0
7218e58 stream 0 0 0 71e7908 0 0 /var/run/mDNSResponder
71e7908 stream 0 0 0 7218e58 0 0
71e7c38 stream 0 0 0 71e7cc0 0 0
71e7cc0 stream 0 0 0 71e7c38 0 0
71cd198 stream 0 0 0 71cd220 0 0
71cd220 stream 0 0 0 71cd198 0 0
71cd5d8 stream 0 0 0 71cd660 0 0
71cd660 stream 0 0 0 71cd5d8 0 0
71cd7f8 stream 0 0 0 71cd880 0 0
71cd880 stream 0 0 0 71cd7f8 0 0
71cdc38 stream 0 0 0 71cdcc0 0 0
71cdcc0 stream 0 0 0 71cdc38 0 0
711d3b8 stream 0 0 0 711d440 0 0
711d440 stream 0 0 0 711d3b8 0 0
711daa0 stream 0 0 0 711dc38 0 0
711dc38 stream 0 0 0 711daa0 0 0
711de58 stream 0 0 0 711df68 0 0
711df68 stream 0 0 0 711de58 0 0
711dee0 stream 0 0 710d510 0 0 0 /var/run/pppconfd
6aa8000 stream 0 0 0 6aa8088 0 0
6aa8088 stream 0 0 0 6aa8000 0 0
6aa8110 stream 0 0 0 6aa8198 0 0 /var/run/mDNSResponder
6aa8198 stream 0 0 0 6aa8110 0 0
6aa8330 stream 0 0 0 6aa8440 0 0
6aa8440 stream 0 0 0 6aa8330 0 0
6aa8550 stream 0 0 0 6aa84c8 0 0
6aa84c8 stream 0 0 0 6aa8550 0 0
6aa85d8 stream 0 0 0 6aa86e8 0 0
6aa86e8 stream 0 0 0 6aa85d8 0 0
6aa8908 stream 0 0 0 6aa87f8 0 0
6aa87f8 stream 0 0 0 6aa8908 0 0
6aa8880 stream 0 0 0 6aa8990 0 0
6aa8990 stream 0 0 0 6aa8880 0 0
6aa8a18 stream 0 0 0 6aa8aa0 0 0
6aa8aa0 stream 0 0 0 6aa8a18 0 0
6aa8b28 stream 0 0 6c3a490 0 0 0 /private/var/run/cupsd
6aa8bb0 stream 0 0 6c3a5b0 0 0 0 /var/run/usbmuxd
6aa8cc0 stream 0 0 6c3a6d0 0 0 0 /var/run/asl_input
6aa8d48 stream 0 0 6c3a760 0 0 0 /var/run/portmap.socket
6aa8dd0 stream 0 0 6c3a7f0 0 0 0 /var/run/mDNSResponder
6aa8ee0 stream 0 0 6a05900 0 0 0 /var/tmp/launchd/sock
711dd48 dgram 0 0 0 711da18 711da18 0
711da18 dgram 0 0 0 711dd48 711dd48 0
6aa8f68 dgram 0 0 0 711ddd0 711ddd0 0
711ddd0 dgram 0 0 0 6aa8f68 6aa8f68 0
71e7f68 dgram 0 0 0 71cd000 71cd000 0
71cd000 dgram 0 0 0 71e7f68 71e7f68 0
71cdbb0 dgram 0 0 0 711dcc0 711dcc0 0
711dcc0 dgram 0 0 0 71cdbb0 71cdbb0 0
7218990 dgram 0 0 0 7218aa0 7218aa0 0
7218aa0 dgram 0 0 0 7218990 7218990 0
7218a18 dgram 0 0 0 6aa8c38 0 711d5d8
71cd550 dgram 0 0 0 711d6e8 711d6e8 0
711d6e8 dgram 0 0 0 71cd550 71cd550 0
71cdf68 dgram 0 0 0 711d000 711d000 0
711d000 dgram 0 0 0 71cdf68 71cdf68 0
711d5d8 dgram 0 0 0 6aa8c38 0 71e7660
71e7660 dgram 0 0 0 6aa8c38 0 711d7f8
711d7f8 dgram 0 0 0 6aa8c38 0 71cd6e8
71cd6e8 dgram 0 0 0 6aa8c38 0 71e77f8
71e7a18 dgram 0 0 0 7218ee0 7218ee0 0
7218ee0 dgram 0 0 0 71e7a18 71e7a18 0
71e77f8 dgram 0 0 0 6aa8c38 0 7218dd0
71e74c8 dgram 0 0 0 71e7000 71e7000 0
71e7000 dgram 0 0 0 71e74c8 71e74c8 0
711d198 dgram 0 0 0 71e7e58 71e7e58 0
71e7e58 dgram 0 0 0 711d198 711d198 0
71cda18 dgram 0 0 0 71e73b8 71e73b8 0
71e73b8 dgram 0 0 0 71cda18 71cda18 0
71e7d48 dgram 0 0 0 711d2a8 711d2a8 0
711d2a8 dgram 0 0 0 71e7d48 71e7d48 0
7218dd0 dgram 0 0 0 6aa8c38 0 711d990
71e75d8 dgram 0 0 0 7218d48 7218d48 0
7218d48 dgram 0 0 0 71e75d8 71e75d8 0
7218f68 dgram 0 0 0 71e7088 71e7088 0
71e7088 dgram 0 0 0 7218f68 7218f68 0
711d990 dgram 0 0 0 6aa8c38 0 6aa83b8
6aa82a8 dgram 0 0 0 6aa8220 6aa8220 0
6aa8220 dgram 0 0 0 6aa82a8 6aa82a8 0
6aa83b8 dgram 0 0 0 6aa8c38 0 6aa8660
6aa8660 dgram 0 0 0 6aa8c38 0 6aa8770
6aa8770 dgram 0 0 0 6aa8c38 0 0
6aa8c38 dgram 0 0 6c3a640 0 7218a18 0 /var/run/syslog
sh-3.2# sudo apachectl start
org.apache.httpd: Already loaded
sh-3.2# sudo apachectl -k start
httpd: Syntax error on line 116 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_jk.so into server: dlopen(/usr/libexec/apache2/mod_jk.so, 10): no suitable image found. Did find:/n/t/usr/libexec/apache2/mod_jk.so: mach-o, but wrong architecture
sh-3.2# ./shutdown.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
sh-3.2# sudo apachectl stop
sh-3.2# sudo apachectl -k start
httpd: Syntax error on line 499 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _libiconv/n Referenced from: /usr/local/php5/lib/libintl.8.dylib/n Expected in: /usr/lib/libiconv.2.dylib/n
sh-3.2# ./startup.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
sh-3.2# sudo apachectl stop
launchctl: Error unloading: org.apache.httpd
sh-3.2# sudo apachectl -k start
httpd: Syntax error on line 499 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _libiconv/n Referenced from: /usr/local/php5/lib/libintl.8.dylib/n Expected in: /usr/lib/libiconv.2.dylib/n
sh-3.2# sudo apachectl start
MacBook:~ jianmingxu$ uname -a
Darwin MacBook.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
MacBook:~ jianmingxu$ getconf LONG_BIT
32
Last login: Sun Mar 21 19:25:09 on ttys001
MacBook:~ jianmingxu$ cd /Applications/apache-tomcat-6.0.26/bin
MacBook:bin jianmingxu$ sh shutdown.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
MacBook:bin jianmingxu$ sh startup.sh
Using CATALINA_BASE: /Applications/apache-tomcat-6.0.26
Using CATALINA_HOME: /Applications/apache-tomcat-6.0.26
Using CATALINA_TMPDIR: /Applications/apache-tomcat-6.0.26/temp
Using JRE_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
Using CLASSPATH: /Applications/apache-tomcat-6.0.26/bin/bootstrap.jar
MacBook:bin jianmingxu$ cd /
MacBook:/ jianmingxu$ cd Users/jianmingxu/Site
-bash: cd: Users/jianmingxu/Site: No such file or directory
MacBook:/ jianmingxu$ cd Users/jianmingxu/Sites/
MacBook:Sites jianmingxu$ pwd
/Users/jianmingxu/Sites
MacBook:Sites jianmingxu$ pwd
/Users/jianmingxu/Sites
MacBook:Sites jianmingxu$ ls
iProber images index.html test.php
MacBook:Sites jianmingxu$ vi test.jsp
MacBook:Sites jianmingxu$ ls
iProber images index.html test.jsp test.php
MacBook:Sites jianmingxu$
最后
以上就是英勇睫毛为你收集整理的Mac OS X 10.5.8环境下配置apache 2.2.13和php5.3和tomcat6.0.26集成的全部内容,希望文章能够帮你解决Mac OS X 10.5.8环境下配置apache 2.2.13和php5.3和tomcat6.0.26集成所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复