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>

你可能感兴趣的:(apache,mysql,webserver)