`
斌强-朱
  • 浏览: 50669 次
社区版块
存档分类
最新评论
文章列表
./configure --prefix=/usr/local/apache/httpd --enable-so --with-apr=/usr/local/apache/apr --with-apr-util=/usr/local/apache/apr-util/ --with-pcre=/usr/local/apache/pcre/
[user@localhost桌面]$ ls mysql-5.1.51.tar.gz mysql-5.1.51.tar.gz [user@localhost桌面]$ su
进入vi的命令vi filename :打开或新建文件,并将光标置于第一行首vi +n filename :打开文件,并将光标置于第n行首vi + filename :打开文件,并将光标置于最后一行首vi +/pattern filename:打开文件,并将光标置于第一个与pattern匹配的串处vi -r filename :在上次正用vi编辑时发生系统崩溃,恢复filenamevi filename....filename
网卡开闭 ifconfig eth0 down ifconfig eth0 up 自动获取IP dhclient eth0 打开关闭防火墙 chkconfig iptables on/off 1.etc/httpd/httpd.conf 配置文件 2.配置默认主页 /var/www/html Vim index.html 3.配置个人主页 #UserDir disable UserDir public_html 去掉注释 去掉以下注释 370<Directory /home/*/public_html> 371 AllowOverride FileIn ...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE students SYSTEM "dtd1.dtd"> <?xml-stylesheet type="text/css" href="css1.css"?> <students> <student> <id>123</id> <name>zhang</name> </stud ...
var xmlHttpRequest ; function validate(){if(window.ActiveXObject){try{xmlHttpRequest =new ActiveXObject("Microsoft.XMLHTTP"); }catch(e){try{xmlHttpRequest =new ActiveXObject("Msxml2.XMLHTTP");}catch(e){}}}else if(window.XMLHttpRequest){xmlHttpRequest =new XMLHttpRequest();}if( ...
<!DOCTYPE html> <html> <head> <title>login.html</title> </head> <script type="text/javascript">var xmlHttpRequest;function validate(){ if(window.activeXObject){ xmlHttpRequest =new ActiveXObject("Microsoft.XMLHttpRequest"); }else ...
/^ $/ 以两个开始和结尾 /^\w{5,15} $/.test(f.name.value); 5-15位 /^ \w+@\w+.\w+ $/.test(f.name.value); 正则表达式 字符 java中正则 意义 . "." 代表任何一个字符 \d "\\d" 代表0-9的任何一个数字 \D "\\D" 代表任何一个非数字字符 \s "\\s" 代表空格类字符: \t \n \x0B \f \r \S "\S&quo ...
interface Subject{public void say(String name,int age); } class RealSubject implements Subject{public void say(String name,int age){System.out.println("我叫:"+name+"年龄:"+age);} } class ProxySubject implements Subject{Subject sub=null;public ProxySubject(Subject sub){this.sub=sub ...
interface Contact{ } class BaseInfo implements Contact{private String name;private int age;public BaseInfo(String name,int age){setName(name);setAge(age);} public void setName(String name) {this.name = name;}public void setAge(int age) {this.age = age;}public String getName() {return (this.name) ...
<form action="smartupload_demo01.jsp" method="post" enctype="multipart/form-data">请选择要上传的文件<input type="file" name="pic"><input type="submit" name="submit" value="提交"> </form> 利用SmartUpload ...
vi /etc/exports 进入到配置文件 /home/soft 193.168.0.200/24(ro,rw) service portmap status service nfs start showmount -e //察看共享 ifconfig //ip配置 mount 192.168.0.44://home/soft /root/abc //挂载 cd /var/www/html //放在该站点下 vi index.html service httpd start (Apache启动)
public static final String DRIVER="oracle.jdbc.driver.OracleDriver"; public static final String DRURL="jdbc:oracle:thin:@localhost:1521:orcl"; public static final String DRIVER="org.gjt.mm.mysql.Driver";public static final String DRURL="jdbc:mysql://localhost: ...
import java.util.ArrayList; interface Watched{public void addWatcher(Watcher watcher);public void removeWatcher(Watcher watcher);public void notifyWatchers(String str); } interface Watcher{public void update(String str); } class House implements Watched{ArrayList<Watcher> list =new ArrayLi ...
interface Flag{ } class Cont implements Flag{private String name;private int age;public Cont(String name,int age){this.name=name;this.age=age;}public String toString(){return "姓名:"+this.name+" 年龄:"+this.age;} } class Cont2 implements Flag{private String address;private String ...
Global site tag (gtag.js) - Google Analytics