上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 82 下一页
摘要: #create a root password formysqladmin -u root password '19740415'create user silmysql> CREATE USER sil IDENTIFIED BY '123';Host | User| % | silthen we must grant permission to sil user.mysql> grant all on *.* to 'sil'@localhost' identified by '123'sudo servi 阅读全文
posted @ 2012-01-06 14:39 greencolor 阅读(3019) 评论(0) 推荐(1) 编辑
摘要: The create user command:mysql> CREATE USER yy IDENTIFIED BY '123';yy表示你要建立的用户名,后面的123表示密码上面建立的用户可以在任何地方登陆。如果要限制在固定地址登陆,比如localhost 登陆:mysql> CREATE USER yy@localhost IDENTIFIED BY '123';一, 创建用户: 命令:CREATE USER 'username'@'host' IDENTIFIED BY 'password'; 阅读全文
posted @ 2012-01-06 08:53 greencolor 阅读(650) 评论(0) 推荐(1) 编辑
摘要: sudo yum install mysqlsudo yum install mysql-serversudo yum install mysql-develsudo service mysql startsudo service mysql stopsudo service mysql startmysqladmin -u root password '123'mysql -u root -p1. SHOW database mysql> show databases2. create database mysql> create database abccs3. 阅读全文
posted @ 2012-01-05 23:39 greencolor 阅读(245) 评论(0) 推荐(0) 编辑
摘要: Linux chgrp命令功能:改变文件或目录所属的组。语法:chgrp [选项] group filename?该命令改变指定指定文件所属的用户组。其中group可以是用户组ID,也可以是/etc/group文件中用户组的组名。文件名是以空格分开的要改变属组的文件列表,支持通配符。如果用户不是该文件的属主或超级用户,则不能改变该文件的组。该命令的各选项含义为:- R 递归式地改变指定目录及其下的所有子目录和文件的属组。Linux chown命令功能:更改某个文件或目录的属主和属组。这个命令也很常用。例如root用户把自己的一个文件拷贝给用户xu,为了让用户xu能够存取这个文件,root用户应 阅读全文
posted @ 2012-01-05 12:35 greencolor 阅读(219) 评论(0) 推荐(0) 编辑
摘要: The model contains the business logic and interact with the persistance storage to store, retrive and manipulate data.The view is responsible for dispalying the results back to the user. In Struts the view layer is implemented using JSP.The controller handles all the request from the user and select 阅读全文
posted @ 2012-01-02 19:23 greencolor 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Adding New Scripted OperationsThis section describes the procedure for creating a new scripted operation.1. Create an entry in the database.dat fileSet the responsibleDHS to ’self’. Set the externalName parameter to the name of your new operation file without the .tcl extension.2. Create the new ope 阅读全文
posted @ 2011-12-25 23:52 greencolor 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Adding Scripts to the Scripting Engine1. Create an entry in the database.dat • Set the responsibleDHS to ’self’. • Set the externalName parameter to the name of your new device file without the .tcl extension.Alternatively you can set the externalName to standardVirtualDevice. This would make the de 阅读全文
posted @ 2011-12-25 23:48 greencolor 阅读(123) 评论(0) 推荐(0) 编辑
摘要: The wait_for_devices command allows the script writer to halt the script at the appropriate time and wait for a hardware component to complete its current task.This command does not freeze the BLU-ICE GUI or the scripting engine while the script is waiting for the event that will trigger the wait_fo 阅读全文
posted @ 2011-12-21 22:51 greencolor 阅读(176) 评论(0) 推荐(0) 编辑
摘要: The DCS command for removing a filter is:open_shutter shutterNameThe DCS command for inserting a filter is:close_shutter shutterNameExamples: •open_shutter shutter •close_shutter Al_8 •open_shutter Se 阅读全文
posted @ 2011-12-21 22:49 greencolor 阅读(140) 评论(0) 推荐(0) 编辑
摘要: move motorName by|to value unitsThe units parameter can be• scaled for movement using the scale factor for the motor.• unscaled for movement using motor steps• mm,um,A,eV,V,deg if the command is being issued from BLU-ICE. Examples: Issuing move commands from BLU-ICE:• move gonio_phi to 30 deg Moves 阅读全文
posted @ 2011-12-21 22:48 greencolor 阅读(179) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 82 下一页