第一步:下载xampp-linux-1.8.1.tar.gz

[root@SVNMANAGER ~]# tar -zxvf xampp-linux-1.8.1.tar.gz -C /opt
[root@SVNMANAGER ~]# yum install netsta
[root@SVNMANAGER ~]# yum install -y glibc*i686

启动xampp
[root@SVNMANAGER ~]# /opt/lampp/lampp start

设置lampp管理界面和root用户省滤
[root@SVNMANAGER ~]# /opt/lampp/lampp security
##########################lampp 123456 root 123456
 [root@SVNMANAGER ~]# /opt/lampp/lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [yes]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use 'lampp' as user name!
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin's pma password to the new one.
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [yes]
XAMPP: Write the password somewhere down to make sure you won't forget it!!!
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL root password.
XAMPP: Change phpMyAdmin's authentication method.
XAMPP: The FTP password for user 'nobody' is still set to 'lampp'.
XAMPP: Do you want to change the password? [yes]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: ProFTPD isn't running...
XAMPP: Done.
授权
[root@SVNMANAGER ~]# chown -R root.root /opt/lampp/var/mysql
[root@SVNMANAGER ~]# chmod 757 /opt/lampp/var/mysql

[root@SVNMANAGER var]# /opt/lampp/bin/mysql -u root -p   123456

mysql> use mysql;
Database changed
mysql> select Host,User From user;
+-----------+------+
| Host      | User |
+-----------+------+
| linux     |      |
| linux     | root |
| localhost |      |
| localhost | pma  |
| localhost | root |
+-----------+------+
5 rows in set (0.00 sec)

mysql> UPDATE user SET Host='%' WHERE User='root' and host ='linux';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

----------------
[root@SVNMANAGER ~]# unzip bugfree3.zip
[root@SVNMANAGER ~]# mv bugfree3 /opt/lampp/htdocs/
[root@SVNMANAGER ~]# cd /opt/lampp/htdocs/bugfree3/protected/config/
[root@SVNMANAGER config]# cp main.sample.php main.php
[root@SVNMANAGER config]# chmod 757 /opt/lampp/htdocs/bugfree3/assets
[root@SVNMANAGER config]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/runtime
[root@SVNMANAGER config]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/runtime/state.bin
[root@SVNMANAGER config]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/config
[root@SVNMANAGER config]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/config/main.php
[root@SVNMANAGER config]# chmod 757 /opt/lampp/htdocs/bugfree3/install/*

[root@SVNMANAGER htdocs]# chmod 757 /opt/lampp/htdocs/bugfree/assets
[root@SVNMANAGER htdocs]# chmod 757 /opt/lampp/htdocs/bugfree/protected/runtime
[root@SVNMANAGER htdocs]# chmod 757 /opt/lampp/htdocs/bugfree/protected/runtime/state.bin
[root@SVNMANAGER htdocs]# chmod 757 /opt/lampp/htdocs/bugfree/protected/config
[root@SVNMANAGER htdocs]# chmod 757 /opt/lampp/htdocs/bugfree/protected/config/main.php
[root@SVNMANAGER htdocs]# chmod 757 /opt/lampp/htdocs/bugfree/install/*

[root@SVNMANAGER htdocs]# cd bugfree/
[root@SVNMANAGER bugfree]# mkdir BugFile

[root@SVNMANAGER opt]# chmod 777 /opt/lampp/htdocs/bugfree/install
[root@SVNMANAGER opt]# chmod -R 777 /opt/lampp/htdocs

问题一:mysql 再次启动不起来
解决
cd /opt/lampp/etc
#chmod 755 my.cnf

问题二:HP Error
mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead

解决
[root@SVNMANAGER tmp]# cd /opt/lampp/htdocs/bugfree/protected/service
[root@SVNMANAGER service]# vi SqlService.php
 mysql_escape_string() 函数已废弃,用 mysql_real_escape_string() 代替

问题二:
fopen(../BugFile/caselist.xml): failed to open stream: No such file or directory

解决
在bugfree同级目录创建一个
BugFile文件
mkdir BugFile
chmod 777 BugFile

分析了下,原因应该是fastestmirror这个作怪,只要把/etc/yum/pluginconf.d/fastestmirror.conf里的enabled值1改为0,禁用这东东,保存退出即可。

centos 6.4 x64安装bugfree的更多相关文章

  1. CentOS 6.6 x64安装TensorFlow

    CentOS 6.6 x64安装TensorFlow升级Python到2.7(系统自带Python版本为2.6) // 安装编译工具 $ yum -y install gcc automake aut ...

  2. CentOS 6.5 x64 安装Tomcat8 并配置两个Tomcat8

    1.首先,安装tomcat的前提是已经配置好jdk环境变量,若没配好可以参考我的上一篇博文:CentOS 6.5 x64安装jdk8,当然也可以通过网络搜索安装步骤~~ 2.下载: 可以通过官网下载: ...

  3. CentOS 6.5 x64 安装jdk8

    1.去官网下载Linux版本的jdk8,我下载的是下面这个 2.下载xftp和xshell来操纵服务器,可以搜索一下下载安装即可,安装完成后,打开xshell,新建链接为你的云服务器的IP地址和密码, ...

  4. centos 6.5 X64 安装 mongodb 2.6.1 (笔记 实测)

    环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G) 系统版本:Centos-6.5-x86_64 *** Centos编译安装mongodb 2.6 系统最好是64位的,才 ...

  5. CentOS 6.4 x64 安装 配置 Redmine 2.4.1

    Redmine 安装配置 1. 安装Redmine 所需的依赖 首先安装 yaml wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz ...

  6. CentOS 5.8 x64 安装TomCat

    简单记录一下...虽然安装很简单... 首先下载配置安装 jdk http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-do ...

  7. MySQL 5.7.16 在CentOS 6.5 x64 安装

    1.创建MySQL组和MySQL用户   # groupadd mysql   # useradd -g mysql mysql2.创建MySQL软件安装路径/opt/software   # mkd ...

  8. CentOS 6.5 x64 安装MySql 5.6

    1.检测是否已经安装MySQL,输入以下命令 rpm -qa | grep mysql 如果存在,我们输入以下命令来删除 //强力删除 rpm -e --nodeps mysql 2.安装前环境准备 ...

  9. CentOS x64安装Virtualbox

    今天在CentOS 6.5 x64系统上装了个Virtualbox,这里记录下整个安装过程. 1.去官网下载Virtualbox及其扩展包,同时还要下载dkms,具体如下: Virtualbox:ht ...

随机推荐

  1. Pku1218

    <span style="background-color: rgb(204, 204, 204);">/* A - THE DRUNK JAILER Time Lim ...

  2. typeof小结

  3. 高速决心linux上oracle安装垃圾问题

    问题:在linux安装oracle时间.因为oracle用户local LANG安装问题,原因安装oracle软件.该接口是非常多的安装位置是乱码. 解决方案:在oracle用户运行:export L ...

  4. DDD分层架构之聚合

    DDD分层架构之聚合 前面已经介绍了DDD分层架构的实体和值对象,本文将介绍聚合以及与其高度相关的并发主题. 我在之前已经说过,初学者第一步需要将业务逻辑尽量放到实体或值对象中,给实体“充血”,这样可 ...

  5. jekyll bootstrap搭建github blog

    前提你必须有一个GitHub账号且本机安装有Git 一.创建一个新的仓库 去你的https://github.com主页新建一个仓库 名字为USERNAME.github.com USERNAME为你 ...

  6. LINUX下FD_SET介绍

    刚刚了解了linux下select系统调用,函数原型是 #include <sys/select.h> #include <sys/time.h> int select(int ...

  7. win7兼容oracle

    操作系统:win7,数据库版本:Oracle 10.0. 问题:安装Oracle10.0时,安装程序意外退出,可按照如下操作解决win7与oracle兼容性问题. 1.打开“\Oracle 10G \ ...

  8. leetcode第四题--Add Two Numbers

    Problem: You are given two linked lists representing two non-negative numbers. The digits are stored ...

  9. 同TTX更可爱的层次分析法游戏破解

    最近的工作太忙,没啥时间写文章,今天遇到一点点的游戏,浅析.以中午的优势写这篇文章. 移动MM的游戏.前面我们已经写过非常多文章,没有看过的朋友,自行查找就可以,今天我们继续分析一个类似的游戏,只是使 ...

  10. WCF 服务端异常封装

    通常WCF服务端异常的详细信息只有在调试环境下才暴露出来,但我目前有需求需要将一部分异常的详细信息传递到客户端,又需要保证一定的安全性. 最简单的办法当然是在服务端将异常捕获后,序列化传给客户端,但这 ...