08:58上午 三月 30, 2008 in category Java by 火星
安装前修改setup.xml文件,这个文件里定义了安装使用的一些信息,下面是其中的一段信息:
<property name="domain.name" value="domain1"/>
<property name="instance.name" value="server"/>
<property name="admin.user" value="admin"/>
<property name="admin.password" value="adminadmin"/>
<property name="admin.port" value="4848"/>
<property name="instance.port" value="8080"/>
<property name="orb.port" value="3700"/>
<property name="imq.port" value="7676"/>
<property name="https.port" value="8181"/>
如果你已经安装完毕了,可以通过管理平台来改,也可以直接修改%GlassFish%\domains\domain1\config\domain.xml文件。这里定义了有关这个域的配置信息。
Permalink
06:15下午 三月 29, 2008 in category 娱乐 by 火星
appclient
登录应用程序客户容器,激活打包成jar的客户应用程序文件。
asadmin
服务器管理员工具,用来配置GlassFish服务器。
asant
启用ANT工具,你可以automake重复的开发和布置任务。
asapt
使用 JAVA EE annotations编译Java源文件。这个工具自动调用wsimport命令。
asupgrade
服务器管理工具用来升级Glassfish服务器软件。
capture-schema
从数据库抽取schema信息,生成一个CMP使用的schema文件。
jspc
编译JSP页面。
package-appclient
打包应用程序客户容器类库和jar文件。
verifier
使用DTDs校验Java EE部署描述符。这个工具也提供了一个图形的用户接口。
wscompile
Takes the service definition interface and generates the client stubs or server-side skeletons for JAX-RPC; or generates a Web Services Description Language (WSDL) description for the provided interface.
wsdeploy
为使用JAX-RPC的WEB服务应用程序生成一个implementation-specific, ready-to-deploy 的WAR文件。
wsgen
读取一个web服务的endpoint类,为web服务部署和invocation生成所有需要的artifacts。
wsimport
Generates JAX-WS portable artifacts, such as service endpoint interfaces (SEIs), services, exception classes mapped from the wsdl:fault and soap:headerfault tags, asynchronous response beans derived from the wsdl:message tag, and JAX-B generated value types.
Permalink
05:22下午 三月 29, 2008 in category 娱乐 by 火星
管理命令
NAME
help - displays the asadmin utility commands
SYNOPSIS
help [command_name]
command_name [--help | -?]
DESCRIPTION
The help command displays a list of all the asadmin utility
commands. Specify the command to display the usage informa-
tion for that command. To display the man page of each com-
mand, use the syntax: asadmin command_name --help | -? or
asadmin help command_name
The following is a list of all the asadmin utility commands:
add-resources
registers the resource in the specified XML file
apply-http-lb-changes
applies load balancer configuration changes to the load balancer
backup-domain
performs a backup on the domain
change-admin-password
changes the administrator password
change-master-password
changes the master password
clear-ha-store
deletes tables in the HA database
configure-ha-cluster
configures an existing cluster to be High Availability
configure-ha-persistence
enables configuration of parameters related to session persistence
configure-lb-weight
sets load balancing weights for clustered instances
configure-webservice-management
sets the monitoring or maxhistory or attributes of a deployed webservice
copy-config
copies an existing configuration to create a new configuration
create-admin-object
adds the administered object with the specified JNDI name
create-application-ref
creates a reference to an application
create-audit-module
creates an audit module for the optional plugin module
create-auth-realm
adds the named authorized realm
create-cluster
creates a cluster
create-connector-connection-pool
adds a connection pool with the specified connection pool name
create-connector-resource
registers the resource with the specified JNDI name
create-connector-security-map
creates or modifies a security map for the named connector connection pool
create-custom-resource
registers the custom resource
create-domain
creates a domain with the specified name
create-file-user
creates a new file user
create-ha-store
creates tables in HA database that are used by HA cluster
create-http-health-checker
creates a health-checker for a specified load balancer configuration
create-http-lb
creates a load balancer
create-http-lb-config
creates a configuration for the load balancer
create-http-lb-ref
add an existing cluster or server instance to an existing load balancer configuration
create-http-listener
adds a new HTTP listener socket
create-iiop-listener
adds the IIOP listener
create-instance
creates an instance with the given name
create-javamail-resource
registers the Javamail resource
create-jdbc-connection-pool
registers the JDBC connection pool
create-jdbc-resource
registers the JDBC resource
create-jms-host
creates a JMS host
create-jms-resource
registers the JMS resource
create-jmsdest
adds the named destination
create-jndi-resource
registers the JNDI resource
create-jvm-options
creates the JVM options from the Java configuration or profiler elements
create-lifecycle-module
adds a lifecycle module
create-management-rule
creates a new management rule
create-mbean
creates and registers a custom MBean
create-message-security-provider
enables administrators to create the message-security-config and provider-config sub-elements for the security service in domain.xml
create-node-agent-config
adds a new unbound node agent to a domain
create-node-agent
creates a node agent and its associated directory structure
create-password-alias
creates a password alias
create-persistence-resource
registers the persistence resource
create-profiler
creates the profiler element
create-resource-adapter-config
creates the resource adapter Java bean
create-resource-ref
creates a reference to a resource
create-service
configures the starting of a DAS or node agent on an unattended boot
create-ssl
creates the SSL element in the HTTP listener or IIOP listener
create-system-properties
adds or updates one or more system properties of the domain, configuration, cluster, or server instance
create-threadpool
creates the thread pool
create-transformation-rule
creates transformation rule for a deployed web service
create-virtual-server
adds the named virtual server
delete-admin-object
removes the administered object with the specified JNDI name
delete-application-ref
removes a reference to an application
delete-audit-module
deletes the audit-module for the optional plugin module
delete-auth-realm
removes the named authorized realm
delete-cluster
deletes a cluster
delete-config
deletes an existing configuration
delete-connector-connection-pool
removes the specified connection pool
delete-connector-resource
removes the named resource connector
delete-connector-security-map
deletes the named security map
delete-custom-resource
removes the custom resource
delete-domain
deletes the given domain
delete-file-user
removes the named file user
delete-http-health-checker
deletes a health-checker for a specified load balancer configuration
delete-http-lb
deletes a load balancer
delete-http-lb-config
deletes a load balancer configuration
delete-http-lb-ref
deletes the cluster or server instance from a load balancer configuration
delete-http-listener
removes the HTTP listener
delete-iiop-listener
removes the IIOP listener
delete-instance
deletes the instance that is not running
delete-javamail-resource
removes the Javamail resource
delete-jdbc-connection-pool
removes the JDBC connection pool
delete-jdbc-resource
removes the JDBC resource
delete-jms-host
removes a JMS host
delete-jms-resource
removes the JMS resource
delete-jmsdest
destroys the named destination
delete-jndi-resource
removes the JNDI resource
delete-jvm-options
deletes the JVM options from the Java configuration or profiler elements
delete-lifecycle-module
removes the lifecycle module
delete-management-rule
deletes a specified management rule
delete-mbean
deletes a custom MBean
delete-message-security-provider
enables administrators to delete a provider-config subelement for the given message layer (message-security-config element of domain.xml)
delete-node-agent-config
removes a node agent from a domain
delete-node-agent
deletes the node agent and its associated directory structure
delete-password-alias
deletes a password alias
delete-persistence-resource
removes the persistence resource
delete-profiler
deletes the profiler element
delete-resource-adapter-config
deletes the resource adapter Java bean
delete-resource-ref
removes a reference to a resource
delete-ssl
deletes the ssl element from the HTTP listener or IIOP listener
delete-system-property
removes one or more system properties of the domain, configuration, cluster, or server instance
delete-threadpool
deletes the thread pool
delete-transformation-rule
deletes the transformation rule of a given web service
delete-virtual-server
deletes the virtual server with the named virtual server ID
deploy-jbi-service-assembly
deploys a service assembly into the JBI environment
deploy
deploys the specified component
deploydir
deploys the component that is in the specified directory, located in the domain application server
disable-http-lb-server
disables a sever or cluster managed by a load balancer
disable-http-lb-application
disables an application managed by a load balancer
disable
stops the specified, deployed component
display-error-distribution
displays distribution of errors from instance server.log at module level
display-error-statistics
displays a summary list of severities and warnings
display-log-records
displays all the error messages for a given module at a given timestamp
enable-http-lb-application
enables a previously-disabled application managed by a load balancer
enable-http-lb-server
enables a previously disabled sever or cluster managed by a load balancer
enable
runs the specified, deployed component
export-http-lb-config
exports the load balancer configuration to a file that can be used by the load balancer
export
marks a variable name for automatic export to the environment of subsequent commands in multimode
flush-jmsdest
purges the messages in a JMS destination
freeze-transaction-service
immobilizes the named transaction service
generate-diagnostic-report
generates reports that can help diagnose application server malfunctioning
generate-jvm-report
shows the threads, classes and memory for a given target instance
get-client-stubs
gets the stubs of the client
get
gets the values of the monitorable or configurable attributes
get-health
provides information on the cluster health
help
displays a list of all the commands available in the command-line interface
install-jbi-component
installs a service engine or binding component into the JBI environment
install-jbi-shared-library
installs a shared library into the JBI environment
jms-ping
checks to see if the JMS provider is running
list-admin-objects
lists all the administered objects
list-application-refs
lists all application references in a cluster or unclustered server instance
list-audit-modules
lists the audit modules
list-auth-realms
lists the authorized realms
list-backups
lists all backups and restores
list-clusters
lists the existing clusters
list-components
lists deployed components
list-configs
lists all existing configurations
list-connector-connection-pools
gets all the connection pools
list-connector-resources
gets all the connector resources
list-connector-security-maps
lists the security maps for the connector connection pool
list-custom-resources
gets all the custom resources
list-domains
lists the domains in the given domains directory
list-file-groups
lists the file groups
list-file-users
lists the file users
list-http-lb-configs
lists load balancer configurations
list-http-lbs
lists load balancers
list-http-listeners
gets the HTTP listeners
list-iiop-listeners
gets the IIOP listeners
list-instances
lists all the instances in the server
list-javamail-resources
gets all the Javamail resources
list-jdbc-connection-pools
registers the JDBC connection pool
list-jdbc-resources
gets all the JDBC resources
list-jbi-binding-components
lists the binding components installed on the specified target
list-jbi-service-assemblies
lists the service assemblies installed into the JBI environment
list-jbi-service-engines
lists the service engines installed on the specified target
list-jbi-shared-libraries
lists the JBI shared libraries that are installed into the JBI environment
list-jms-hosts
lists the existing JMS hosts
list-jms-resources
gets all the JMS resources
list-jmsdest
gets all the named destinations
list-jndi-entries
gets all the named destinations, browses and queries the JNDI tree
list-jndi-resources
gets all the JNDI resources
list-lifecycle-modules
gets the lifecycle modules
list-management-rules
lists the management rules created using the create-management-rule command
list-mbeans
lists the custom mbeans for a given target server instance
list-message-security-providers
enables administrators to list all security message providers (provider-config sub-elements) for the given message layer (message-security-config element of
domain.xml)
list-node-agents
lists the node agents along with their status
list-password-aliases
lists all password aliases
list-persistence-resources
gets all the persistence resources
list-registry-locations
returns list of configured web service registry access points
list-resource-adapter-configs
lists the resource adapters configured in an instance
list-resource-refs
lists the existing resource references
list-sub-components
lists EJBs or Servlets in a deployed module or in a module of a deployed application
list-system-properties
lists the system properties of the domain, configuration, cluster, or server instance
list-threadpools
lists the thread pools
list-timers
lists all of the timers owned by server instance(s)
list-transformation-rules
lists all the transformation rules of a given webservice
list-virtual-servers
gets the virtual servers
list
lists the configurable elements and provides the fully qualified dotted names of the management components that have read-only or modifiable attributes
login
lets you log in to a domain
migrate-timers
moves a timer when a server instance stops
monitor
displays monitoring data for commonly-used Application Server components
multimode
allows you to execute multiple commands while returning environment settings and remaining in the asadmin utility
ping-connection-pool
tests if a connection pool is usable
publish-to-registry
publishes all the web service artifacts to registries
recover-transactions
manually recovers pending transactions
remove-ha-cluster
returns an HA cluster to non-HA status
restore-domain
restores files from backup
rollback-transaction
rolls back the named transaction
set
sets the values of attributes. Set command can be used to modify default properties of a resource.
show-component-status
displays the status of the deployed component
show-jbi-binding-component
shows detailed information about the specified binding component
show-jbi-service-assembly
shows detailed information about a specified service assembly
show-jbi-service-engine
shows detailed information about the specified service engine
show-jbi-shared-library
shows detailed information about a specified shared library
shut-down-jbi-component
shuts down a service engine or a binding component on the specified target
shut-down-jbi-service-assembly
shuts down a JBI service assembly on the specified target
start-appserv
starts the domains in the specified domains directory
start-callflow-monitoring
provides the complete callflow/path of a request
start-cluster
starts a cluster
start-database
starts the bundled Java DB database
start-domain
starts the given domain
start-instance
starts a server instance
start-jbi-component
starts a service engine or a binding component on the specified target
start-jbi-service-assembly
starts a service assembly on the specified target
start-node-agent
starts a node agent
stop-appserv
stops the domains in the specified domains directory
stop-callflow-monitoring
disables collection of callflow information of a request
stop-cluster
stops a cluster
stop-database
stops the bundled Java DB database
stop-domain
stops the given domain
stop-instance
stops a server instance
stop-jbi-component
stops a service engine or a binding component on the specified target
stop-jbi-service-assembly
stops a service assembly on the specified target
stop-node-agent
stops a node agent
undeploy-jbi-service-assembly
undeploys a service assembly on the specified target
undeploy
removes a component in the domain application server
unfreeze-transaction-service
mobilizes the named transaction service
uninstall-jbi-component
uninstalls a service engine or binding component on the specified target
uninstall-jbi-shared-library
uninstalls a shared library on the specified target
unpublish-from-registry
unpublishes the web service artifacts from the registries
unset
removes one or more variables from the multimode environment
update-connector-security-map
creates or modifies a security map for the specified connector connection pool
update-file-user
updates a current file user as specified
update-password-alias
updates a password alias
verify-domain-xml
verifies the content of the domain.xml
version
displays the version information
The following commands are deprecated:
o display-license
o install-license
o restart-instance
o shutdown
o create-acl
o delete-acl
o list-acls
o start-appserv
o stop-appserv
EXAMPLES
Example 1 Using help
asadmin> help
asadmin> create-domain --help
Where: create-domain is the command you wish to view the
usage for.
SEE ALSO
asadmin(1M)
Permalink
05:10下午 三月 29, 2008 in category Java by 火星

这个安装是针对windows平台,GlassFish的版本为GlassFish V2 Update Release 1 (UR1)。你必须安装JDK1.5以上的JDK,设置好JAVA_HOME变量,并把JDK的bin目录添加到PATH环境变量中。还要安装ANT,这个可到 http://ant.apache.org去下载,并设置ANT_HOME变量,并把ANT的bin目录添加到PATH环境变量中。
下载下来的GlassFish是个jar文件,先解压:
java -Xmx256m -jar 文件名称.jar
然后进入到解开的GlassFish目录,执行:
ant -f setup.xml
安装完后,通过 asadmin start-domain domain1 启动GlassFish,asadmin stop-domain domain1 停止GlassFish。http://localhost:4848/ 进入后台管理,账号和密码分别是admin和adminadmin。
Permalink
08:02下午 三月 11, 2008 in category 娱乐 by 火星
Blojsom是一个小型的基于JAVA技术的博客系统。我在JDK6和Tomcat6.0.16下安装Blojsom3.2,发现日志下面的用户评论部分如何也不能显示,后来放在Tomcat5.5下,用户评论就可以正常显示。研究了半天,发现tomcat的connector没有设置好,应该 URIEncoding="UTF-8" 把这个加进去就可以了,哈哈啊哈。
就为了换成ocean模版,找了半天啊,原来在“插件”的“配置”里,发现了“Theme Switcher plugin”,看来对它的布局我还不熟悉。别说,这个小东西还不错,简洁漂亮!我喜欢。
Permalink
08:58上午 三月 04, 2008 in category 娱乐 by 火星
SailFin, SIP(Session Initiation Protocol)和SIP Servlets已经应用在我们今天使用的很多服务中,像IP语音(VoIP)电话服务、即时消息和WEB会议。SIP Servlets在构建下一代电话通讯服务中占有重要的角色。SailFin和SIP Servlets技术被扩展到GlassFish应用服务器中。
SIP和SIP Servlets对企业应用也是很重要的。联合Java EE和SIP Servlets可以为企业应用程序增加丰富的媒体交互体验。JSR 289更新了SIP Servlets API,为联合SIP Servlets和Java EE 组件定义了一个标准的应用程序设计模型。利用Java EE服务例如web服务、持久化、安全和事务,能够快速地开发智能的通讯应用程序。
SailFin项目基于稳定的可扩展的爱立信发布的SIP servlets技术。当前实现是JSR 116。我们将要实现JSR 289,增加高可用性、群集功能、集成原有的GlassFish服务。欢迎你加入到SailFin项目中来。
Permalink
06:24下午 二月 02, 2008 in category 工作 by 火星
批量修改:
EXEC sp_MSforeachtable 'exec sp_changeobjectowner "?","dbo" '
单个修改:
exec sp_changeobjectowner '要改的表名','dbo'
Permalink
08:47上午 二月 01, 2008 in category 娱乐 by 火星
英国科学家宣布,3-5年内有望造出人造精子,干细胞取自女性的骨髓。这样,女人可以在不需要男人的情况下生产下一代。成功之后,男人在这个世界上就是可有可无的性别了,对女人来说男人最大的用处也许就是提供做爱的快乐。你说这些科学家还都是男性,他们脑袋是不是被驴踢了,这不是严重损害我们男人的尊严的事吗,他们确乐此不疲的去做,这个世界越来越变态了。
Permalink
08:34下午 一月 30, 2008 in category 工作 by 火星
ulimit用于shell启动进程所占用的资源,是shell内建命令
语法格式:
ulimit [-acdfHlmnpsStvw] [size]
参数介绍:
-H 设置硬件资源限。
-S 设置软件资源限制。
-a 显示当前所有的资源限制。
-c size:设置core文件的最大值。单位:blocks
-d size:设置数据段的最大值。单位:kbytes
-f size:设置创建文件的最大值。单位:blocks
-l size:设置在内存中锁定进程的最大值。单位:kbytes
-m size:设置可以使用的常驻内存的最大值。单位:kbytes
-n size:设置内核可以同时打开的文件描述符的最大值。单位:n
-p size:设置管道缓冲区的最大值。单位:kbytes
-s size:设置堆栈的最大值。单位:kbytes
-t size:设置CPU使用时间的最大上限。单位:seconds
-v size:设置虚拟内存的最大值。单位:kbytes
Permalink
08:26下午 一月 30, 2008 in category 工作 by 火星
修改/etc/system文件,添加或者修改如下行:
set shmsys:shminfo_shmmax = 共享内存大小,单位为位(B)
Permalink
03:40下午 一月 25, 2008 in category 娱乐 by 火星
相当不错,真的。我说的是广告,酒没喝过。哈哈哈!
Permalink
03:15下午 一月 25, 2008 in category 娱乐 by 火星
此文件定义了 nfslogd 使用的日志记录的路径、文件名和类型。每个定义都与 tag 相关联。启动 NFS 服务器日志记录时,需要您标识每个文件系统的 tag。全局标记定义了缺省值。可以根据需要将各个标记与以下参数一起使用。
defaultdir=path
指定日志记录文件的缺省目录路径。除非您指定了不同的目录,否则缺省目录为 /var/nfs。
log=path/filename
设置日志文件的路径和文件名。缺省值为 /var/nfs/nfslog。
fhtable=path/filename
选择文件句柄到路径数据库文件的路径和文件名。缺省值为 /var/nfs/fhtable。
buffer=path/filename
确定缓冲区文件的路径和文件名。缺省值为 /var/nfs/nfslog_workbuffer。
logformat=basic|extended
选择创建用户可读日志文件时使用的格式。基本 (basic) 格式产生的日志文件与某些 ftpd 守护进程类似。扩展 (extended) 格式提供了更详细的视图。
如果未指定路径,则将使用由 defaultdir 定义的路径。另外,还可以使用绝对路径覆盖 defaultdir。
为了更容易地识别文件,请将文件置于单独的目录中。下面的示例列出了所需的更改。
% cat /etc/nfs/nfslog.conf
#ident "@(#)nfslog.conf 1.5 99/02/21 SMI"
#
.
.
# NFS server log configuration file.
#
global defaultdir=/var/nfs \
log=nfslog fhtable=fhtable buffer=nfslog_workbuffer
publicftp log=logs/nfslog fhtable=fh/fhtables buffer=buffers/workbuffer
在本示例中,以 log=publicftp 形式共享的任何文件系统都使用以下值:
◆缺省目录为 /var/nfs。
◆日志文件存储在 /var/nfs/logs/nfslog* 中。
◆文件句柄到路径数据库表存储在 /var/nfs/fh/fhtables 中。
◆缓冲区文件存储在 /var/nfs/buffers/workbuffer 中。
Permalink
03:12下午 一月 25, 2008 in category 娱乐 by 火星
此文件定义了使用 NFS 服务器日志记录时所使用的某些参数。可以定义以下参数。
CYCLE_FREQUENCY
确定在循环使用日志文件之前必须经过的小时数。 缺省值为 24 小时。此选项用于防止日志文件变得太大。
IDLE_TIME
设置 nfslogd 在检查缓冲区文件中是否存在更多信息之前应处于休眠状态的秒数。此参数还确定检查配置文件的频率。此参数与 MIN_PROCESSING_SIZE 一同确定处理缓冲区文件的频率。缺省值为 300 秒。增加该秒数即可通过减少检查次数来提高性能。
MAPPING_UPDATE_INTERVAL
指定对 file-handle-to-path 映射表中的记录进行更新的间隔秒数。缺省值为 86400 秒,即一天。此参数有助于保持 file-handle-to-path 映射表始终处于最新状态,而不必不断更新这些表。
MAX_LOGS_PRESERVE
确定要保存的日志文件数目。缺省值为 10。
MIN_PROCESSING_SIZE
设置在处理和写入日志文件之前缓冲区文件必须达到的最小字节数目。此参数与 IDLE_TIME 一同确定处理缓冲区文件的频率。缺省值为 524288 字节。增加该字节数即可通过减少处理缓冲区文件的次数来提高性能。
PRUNE_TIMEOUT
选择 file-handle-to-path 映射记录超时之前必须经过的、并可以缩减的小时数。缺省值为 168 小时,即 7 天。
UMASK
为 nfslogd 创建的日志文件指定文件模式创建掩码。缺省值为 0137。
Permalink
02:43下午 一月 25, 2008 in category 娱乐 by 火星
在 NFS 版本 4 中,可以在 /etc/default/nfs 文件中设置以下关键字。这些关键字控制客户机和服务器使用的 NFS 协议。
NFS_SERVER_VERSMIN
设置要注册且由服务器提供的 NFS 协议的最低版本。从 Solaris 10 发行版开始,缺省值为 2。其他有效值包括 3 或 4。
NFS_SERVER_VERSMAX
设置要注册且由服务器提供的 NFS 协议的最高版本。从 Solaris 10 发行版开始,缺省值为 4。其他有效值包括 2 或 3。
NFS_CLIENT_VERSMIN
设置由 NFS 客户机使用的 NFS 协议的最低版本。从 Solaris 10 发行版开始,缺省值为 2。其他有效值包括 3 或 4。
NFS_CLIENT_VERSMAX
设置由 NFS 客户机使用的 NFS 协议的最高版本。从 Solaris 10 发行版开始,缺省值为 4。其他有效值包括 2 或 3。
NFS_SERVER_DELEGATION
控制是否对服务器启用 NFS 版本 4 委托功能。如果启用此功能,则服务器将尝试对 NFS 版本 4 客户机提供委托。缺省情况下,会启用服务器委托。要禁用服务器委托,请参见如何在服务器上选择不同版本的 NFS。有关更多信息,请参阅NFS 版本 4 的委托。
NFSMAPID_DOMAIN
为客户机和服务器设置公共域。将覆盖使用本地 DNS 域名的缺省行为。
Permalink
02:38下午 一月 25, 2008 in category 娱乐 by 火星
从 Solaris 10 发行版开始,可以使用 /etc/default/autofs 文件来配置 autofs 环境。具体来说,此文件提供了配置 autofs 命令和 autofs 守护进程的其他方法。在命令行上制定的规范也可以通过此配置文件实现。但是,与在命令行上制定的规范不同的是,此文件将保留您的规范,即使在向您的操作系统升级时也是如此。另外,不再需要更新关键的启动文件即可确保保留 autofs 环境的现有行为。可通过为以下关键字提供值来制定规范:
AUTOMOUNT_TIMEOUT
设置在取消挂载文件系统之前文件系统保持空闲的持续时间。此关键字与 automount 命令的 -t 参数等效。缺省值为 600。
AUTOMOUNT_VERBOSE
提供有关 autofs 挂载、取消挂载和其他不重要事件的通知。此关键字与 automount 的 -v 参数等效。缺省值为 FALSE。
AUTOMOUNTD_VERBOSE
将状态消息记录到控制台。此关键字与 automountd 守护进程的 -v 参数等效。缺省值为 FALSE。
AUTOMOUNTD_NOBROWSE
针对所有 autofs 挂载点打开或关闭浏览功能。此关键字与 automountd 的 -n 参数等效。缺省值为 FALSE。
AUTOMOUNTD_TRACE
扩展每个远程过程调用 (remote procedure call, RPC) 并在标准输出中显示扩展的 RPC。此关键字与 automountd 的 -T 参数等效。缺省值为 0。取值范围为 0 到 5。
AUTOMOUNTD_ENV
允许您将不同的值指定给不同的环境。此关键字与 automountd 的 -D 参数等效。可以多次使用 AUTOMOUNTD_ENV 关键字。但是,必须对每个环境赋值使用单独的行。
Permalink