第一步:下载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. How to:installshield安装包怎样才能出现选择路径的界面?

    原文:How to:installshield安装包怎样才能出现选择路径的界面? 这个问题新手问的很多,installshield的安装包默认设置下选择路径的界面藏在Custom安装类型下.在做完安装 ...

  2. SQL Server 2012的附件失败,与硬链接的问题

    1.我在系统上做了硬链接,也就是把C盘的某个目录,映射为D盘. 2.把数据库文件mdf和ldf放入D盘.结果,SQL Server的企业管理器,无法从D盘里加载mdf或ldf文件,并且在目录下无法显示 ...

  3. codeforces #262 DIV2 C称号Present(二分法+贪婪)

    职务地址:http://codeforces.com/contest/460/problem/C 这个题是用二分枚举最小值.然后推断是否能在规定的次数内使得全部的数都达到这个值.推断的时候要用贪心的方 ...

  4. Linux下使用Photorec恢复误格U盘

    photorec包含在testdisk软件包中, 所以直接通过包管理器直接安装testdisk安装即可. 使用root权限来运行软件,在终端键入 [shell] photorec [/shell] 然 ...

  5. leetcode第16题--3Sum Closest

    Problem:Given an array S of n integers, find three integers in S such that the sum is closest to a g ...

  6. RPL协议介绍

    RPL是IPv6 Routing Protocol for Low-Power and Lossy Networks的简称. 低功耗及有损网络(LLN)是一类内部链接和路由器都受限的网络,该网络下的路 ...

  7. Rich IntelliSense for jQuery

    A while back we updated VS2008 IntelliSense to not fail when referencing jQuery.  However, getting I ...

  8. 读书笔记—CLR via C#章节4-7

    前言 这本书这几年零零散散读过两三遍了,作为经典书籍,应该重复读反复读,既然我现在开始写博了,我也准备把以前觉得经典的好书重读细读一遍,并且将笔记整理到博客中,好记性不如烂笔头,同时也在写的过程中也可 ...

  9. 读书笔记—CLR via C#线程27章节

    前言 这本书这几年零零散散读过两三遍了,作为经典书籍,应该重复读反复读,既然我现在开始写博了,我也准备把以前觉得经典的好书重读细读一遍,并且将笔记整理到博客中,好记性不如烂笔头,同时也在写的过程中也可 ...

  10. sql分组合并字段重复项sql for xml path

    -------------------------(情景描述) 在我们处理数据时,可能会碰到这种情景: Id                Name 1                  a,b 2  ...