网站大量收购闲置独家精品文档,联系QQ:2885784924

linux下安装HP模块.doc

  1. 1、本文档共21页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
linux下安装HP模块

linux下安装PHP模块 ●安装mysql5 ./configure \ --prefix=/usr/local/mysql \ --without-debug \ --with-extra-charsets=utf8 \ --with-extra-charsets=all \ --enable-assembler \ --enable-local-infile \ --with-pthread \ --enable-thread-safe-client \ --with-client-ldflags=-all-static \ --with-mysqld-ldflags=-all-static \ --with-unix-socket-path=/usr/local/tmp/mysql.sock # make make install # groupadd mysql # useradd -g mysql mysql cp support-files/f /etc/f cd /usr/local/mysql5 chown -R mysql:mysql . bin/mysql_install_db --user=mysql chown -R root . chown -R mysql var bin/mysqld_safe --user=mysql # netstat -tnl|grep 3306 //查看3306端口是否开启 #./configure --prefix=/opt/mysql5 \ --without-debug \ --with-extra-charsets=gbk,utf8 \ --with-extra-charsets=all \ --enable-assembler \ --enable-local-infile \ --with-pthread \ --enable-thread-safe-client \ --with-client-ldflags=-all-static \ --with-mysqld-ldflags=-all-static \ --with-unix-socket-path=/opt/mysql5/tmp/mysql.sock \ 让MySQL随系统启动而自动启动: 1、修改mysql.server,把它复制到/etc/rc.d/init.d目录里面: # cd /etc/rc.d/init.d # cp /usr/local/mysql/support-files/mysql.server mysql 2、接着把它的属性改为“x”(executable,可执行) # chmod +x mysql 3、最后,运行chkconfig把MySQL添加到你系统的启动服务组里面去。 # /sbin/chkconfig --add mysql 重要:生产环境中,装好mysql好要立刻更改root密码,并删除空密码 Mysqldelete from user where password=’’ and user=’’ ; Mysqlupdate user set password=password(trfqq) where user=root; 给root账号加上密码 Mysqlflush privileges; grant all on *.* to amed@localhost identified by amed with grant option; 修改环境变量文件/etc/profile,添加mysql的PATH变量. [root@mail mysql]#vi /etc/profile 在以下字段添加添加pathmunge /usr/local/mysql/bin # Path manipulation if [ $EUID = 0 ]; then pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin pathmunge /usr/local/mysql/bin 这样既可以在任何目录路径下,都可以在shell提示符下直接执行/usr/local/mysql/bin下的管理程序. ●安装Apache #cd http-2.2.6 # ./configure --prefix=/usr/local/httpd --enable-so --enable-rewrite --enable-expires --enable-cache --enable-

文档评论(0)

pep2233 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档