LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: 北南南北

用源码包安装php-4.34+mysql-4.0.16+apache-2.0.48+vbb-2.32实践总结

[复制链接]
发表于 2004-5-2 21:05:46 | 显示全部楼层

不能在广域网访问!!!!

我的也装好了,在局域网内可以访问,我申请了动态域名的,为什么只能在局域网访问呢?郁闷中!!!
发表于 2004-5-8 09:01:50 | 显示全部楼层
怎么样才可以让apache和mysql启动的时候自动加载呢?
我在服务中没有找到。
请南北北南指点,谢谢
发表于 2004-5-8 09:02:34 | 显示全部楼层
怎么样才可以让apache和mysql启动的时候自动加载呢?
我在服务中没有找到。
请南北北南指点,谢谢
发表于 2004-5-9 09:13:45 | 显示全部楼层
自己顶一下
发表于 2004-5-17 15:37:54 | 显示全部楼层
以前安装过不成功又删了车了这样,To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@localhost mysql-standard-4.0.18-pc-linux-i686]# Starting mysqld daemon wit h databases from /var/lib/mysql
040517 15:35:12  mysqld ended
不知道该怎么弄。
发表于 2004-5-25 12:15:19 | 显示全部楼层
我下载了mysql-standard-4.0.20-pc-linux-i686.tar.gz,然后前面按照您的操作完成了,然后到make这一步就出这个问题了。

[root@localhost mysql-4.0.20]# ./configure --prefix=/opt/mysql --with-mysqld-use
r=Cry --with-charset=gb2312 --with-extra-charsets=all --with-unix-socket-path=/o
pt/mysql/var/mysql.sock
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing all prepared tables
000104 23:05:06  Warning: Asked for 196608 thread stack, but got 126976
000104 23:05:06  ./bin/mysqld: Shutdown Complete


To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@localhost mysql-4.0.20]# Starting mysqld daemon with databases from /usr/s
oft/mysql-4.0.20/data
000104 23:05:06  mysqld ended

[root@localhost mysql-4.0.20]# make
make: *** No targets specified and no makefile found.  Stop.
[root@localhost mysql-4.0.20]# make install
make: *** No rule to make target `install'.  Stop.


怎么回事呀?
发表于 2004-5-25 12:32:38 | 显示全部楼层
源码包里根本没有make和makefile这2个文件
发表于 2004-5-25 14:42:52 | 显示全部楼层
不好意思下错包了,在www.mysql.com下载了一个mysq ... c-linux-i686.tar.gz   FOR   Linux (x86, libc6)的!
发表于 2004-5-26 11:29:03 | 显示全部楼层
大哥,我按照你说的,把mysql安装好了,不过配置时命令如下(用户root)
./configure --prefix=/opt/mysql --with-mysqld-user=root --with-charset=gb2312 --with-extra-charsets=all --with-unix-socket-path=/opt/mysql/var/mysql.sock

后面几步都完成了,就是启动时
[root@linuxsir01 mysql]# /opt/mysql/share/mysql/mysql.server start
[root@linuxsir01 mysql]# ps -aux | grep mysqld
root      7839  0.0  0.2  4776  628 pts/2    S    11:26   0:00 grep mysqld

然后我打开错误文件]  # more *.err
出现下面的错误信息:
040526 10:38:45  mysqld started
Fatal error: Please read "Security" section of the manual to find out how to run  mysqld as root!
040526 10:38:45  Aborting
040526 10:38:45  /opt/mysql/libexec/mysqld: Shutdown Complete
040526 10:38:45  mysqld ended
这是什么原因?拜托你了
发表于 2004-6-15 15:18:56 | 显示全部楼层
好东西,值得收藏。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表