04 2012 档案
摘要:Use phpldapadmin to generate the user and groupGenerate the Grouplogin phpldapadminclick ou=Group click Create new entry here select Generic: Posix Group GID Number will be created automaticGenerate the People click OU=People double click create new entry here select Generic: User Account In the GID
阅读全文
摘要:delete https://localhost:8643cd $HOMErm .keystorein the Firefox - Performance - Advanced - View Certificates - Servers delete the 8643clear historyservice tomcat5 restartthe https 8643 will be deleted
阅读全文
摘要:if we want to setup a site in https://localhost:8643setup a website in/var/lib/tomcat5/webappsthen in the /etc/tomcat5gedit server.xmlgenerate a line in server.xml; <Connector port="8643" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpa
阅读全文
摘要:User's $HOME/.dmrc file is being ignored.This prevents the default session and language from being saved .File should be owned by user and have 644 permissions.User's $HOME directory must be owned by user and not writable by other users.解决方法chmod 755 -R /home/用户名 chmod 644 /home/用户名/.dmrc
阅读全文
摘要:slapcat -l domain.ldif1.若要導入domain.ldif 檔案,記得檢查是否關掉ldap,並且清空原先資料庫檔案service ldap stoprm -rf /var/lib/ldap/*2.準備好後,導入之前的備份資料檔案slapadd -l 來源slapadd -l /etc/openldap/data/domain.ldif.導入後,記得修改資料庫目錄權限chown -R ldap:ldap /var/lib/ldap/*啟動 LDAP 服務service ldap start用原domain.ldif內的使用者登入測試看看吧!
阅读全文
摘要:System - Administration - Network -Deviceeth0 double clickselect Activate device when computer startsAllow all users to enable and disable the deviceStatically set IP addressesAddress: 192.168.2.144Subnet mask: 255.255.255.0Default gateway address: 192.168.2.2DNSHostname: (the name set in hosts)Prim
阅读全文
摘要:ip route show192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.143 default via 192.168.2.2 dev eth0
阅读全文
摘要:man useradd ...-r This flag is used to create a system account. That is, a userwith a UID lower than the value of UID_MIN defined in /etc/login.defsand whose password does not expire. Note that useradd will not create ahome directory for such an user, regardless of the default setting in/etc/login.d
阅读全文
摘要:# The is the ASYN example for communication to 4 simulated motors# "#!" marks lines that can be uncommented.< envPathsdbLoadDatabase("$(TOP)/dbd/motorSim.dbd")motorSim_registerRecordDeviceDriver(pdbbase)dbLoadTemplate("motor.substitutions")# Create simulated motors:
阅读全文
摘要:Soft motor. It is not a simulated motor, it is a way of making a "pseudo-motor", which typically coordinates the motion of several real motors or other devices.simulated motor, which is in the MotorSimSrc directory.That is what you should use for getting familiar with the motor record with
阅读全文