1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#
: Apache+MySQL+SVN+SSL
#
######################################################################
Author:chi
Email:mchipengfei@yahoo.com.cn
CreateTime:2011-3-16
Linux
(RHEL5.5)
zlib-1.2.3.tar.gz
mysql-5.1.45.tar.gz
apr-1.3.12.tar.gz
openssl-1.0.0d.tar.gz
httpd-2.2.15.tar.gz
ssl.ca-0.1.tar.gz
mod_auth_mysql-3.0.0.tar.gz
apache22.diff
subversion-1.6.12.tar.bz2
subversion-deps-1.6.12.tar.bz2
Windows
:
TortoiseSVN-1.6.12.20536-win32-svn-1.6.15.msi
(
)
SVN
http://www.subversion.org.cn/svnbook/nightly/index.html
http://www.subversion.org.cn/svnbook/nightly/
svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.perdir.ex-2
######################################################################
/*--------------------
zlib----------------------*/
//
:zlib-1.2.3.tar.gz
[root@localhost ~]# cd /usr/local/src/
[root@localhost src]# tar zxvf zlib-1.2.3.tar.gz
[root@localhost src]# cd zlib-1.2.3/
[root@localhost zlib-1.2.3]# ./configure --prefix=/usr/local/zlib
[root@localhost zlib-1.2.3]# make;make install
//
,/usr/local/zlib
include,lib,share
/*------------------
mysql
----------------*/
//
:mysql-5.1.45.tar.gz
[root@localhost ~]# cd /usr/local/src/
//
mysql
[root@localhost src]# groupadd mysql
//
mysql
,
mysql
[root@localhost src]# useradd -g mysql mysql -s /sbin/nologin -M
[*
#useradd mysql
]
[root@localhost src]# tar -zxvf mysql-5.1.45.tar.gz
[root@localhost src]# cd mysql-5.1.45/
[root@localhost mysql-5.1.45]# ./configure --prefix=/usr/local/mysql
--with-mysqld-user=mysql
--with-charset=utf8
--with-extra-charsets=all
--with-zlib-dir=/usr/local/zlib/
--with-pthread
--enable-thread-safe-client
//--with-pthread --enable-thread-safe-client
mysql
[root@localhost mysql-5.1.45]# make;make install
//
[root@localhost mysql-5.1.45]# cp support-files/my-medium.cnf /etc/my.cnf
//
[root@localhost mysql-5.1.45]# cd /usr/local/mysql/
//
[root@localhost mysql]# bin/mysql_install_db --user=mysql
[root@localhost mysql]# chown -R root .;chown -R mysql var;chgrp -R mysql .
//
MySQL
[root@localhost mysql]# /usr/local/mysql/bin/mysqld_safe --user=mysql&
//
3306
[root@localhost mysql]# netstat -tnl|grep 3306
//
MySQL
[root@localhost mysql]# bin/mysqladmin version
//
MySQL
(
)
[root@localhost mysql]# bin/mysqladmin variables
//
MySQL
[root@localhost mysql]# bin/mysql -u root
//
mysql> delete from mysql.user where Host='localhost' and User='';
//
root
password()
mysql> SET PASSWORD FOR 'root'@'localhost'=PASSWORD('ether');
//
MySQL
Apache+MySQL+SVN+SSL(
).java 2011-3-17 18:02
Page 1 of 7
评论0