webserver

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>d:

D:\>cd WebServer

D:\WebServer>cd Mysql5

D:\WebServer\Mysql5>cd bin

D:\WebServer\Mysql5\bin>mysqld.exe --install
Service successfully installed.

D:\WebServer\Mysql5\bin>net start mysql

MySQL 服务已经启动成功。


D:\WebServer\Mysql5\bin>mysql -uroot -p
Enter password: **********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.28-rc-community-log MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use mysql
Database changed
mysql> delete from user where user !='root';
Query OK, 4 rows affected (0.01 sec)

mysql> delete form db;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '' at
line 1
mysql> delete from db;
Query OK, 4 rows affected (0.00 sec)

mysql> grant all from *.* to root@localhost identified by '';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'from
*.* to root@localhost identified by ''' at line 1
mysql> grant all on *.* to root@localhost identified by '';
Query OK, 0 rows affected (0.00 sec)

mysql> exit
Bye

D:\WebServer\Mysql5\bin>cd ..

D:\WebServer\Mysql5>cd ..

D:\WebServer>cd Apache2

D:\WebServer\Apache2>cd bin

D:\WebServer\Apache2\bin>httpd.exe -k install -n apache2
Installing the apache2 service
The apache2 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.

D:\WebServer\Apache2\bin>net start apache2
apache2 服务正在启动 ..
apache2 服务已经启动成功。


D:\WebServer\Apache2\bin>cd ../../

D:\WebServer>ls
'ls' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\WebServer>dir
驱动器 D 中的卷是 App
卷的序列号是 315F-CDA4

D:\WebServer 的目录

2008-11-13 16:58    <DIR>          .
2008-11-13 16:58    <DIR>          ..
2008-11-13 16:13    <DIR>          Apache2
2008-11-13 16:13    <DIR>          flashfxp
2008-11-13 16:13    <DIR>          FtpServer
2008-11-13 16:13    <DIR>          memcached
2008-11-13 16:17    <DIR>          Mysql5
2008-11-13 16:13    <DIR>          Php
2008-11-13 16:20    <DIR>          Session
2008-11-13 16:13    <DIR>          SQLyog
2008-11-13 16:13    <DIR>          Subversion
               0 个文件              0 字节
              11 个目录 51,593,400,320 可用字节

D:\WebServer>cd memcached

D:\WebServer\memcached>memcached.exe -d install

D:\WebServer\memcached>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值