第一步:下载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. Linux 查看和删除进程

    1. 在 LINUX 命令平台输入 1-2 个字符后按 Tab 键会自动补全后面的部分(前提是要有这个东西,例如在装了 tomcat 的前提下, 输入 tomcat 的 to 按 tab).2. ps ...

  2. CSS3制作

    目标是制作如下面DEMO显示的一个日历效果: HTML Markup 先来看看其结构: <div class="calendar"> <span class=&q ...

  3. 原生AJAX基础讲解及兼容处理

    原文:原生AJAX基础讲解及兼容处理 AJAX = Asynchronous JavaScript and XML (异步的JavaScript和XML). AJAX不是新技术 ,但却是热门的技术.它 ...

  4. APUE学习笔记(2):lseek()练习与文件洞

    对于lseek函数早在大一的C语言课上就有接触,但是几乎没有使用过,只记得是和文件偏移操作相关的 看了APUE上的示例,又使用od工具查看了内容,果然很神奇,很新鲜 figure3.2.c [c] # ...

  5. ubuntu下的词典的安装

    因为从事开发,安装一个词典是很有必要,文中介绍安装openyoudao和stardic两个软件的方法 一.openyoudao的安装 因为是由window转来学ubuntu的,所以总是想安装和wind ...

  6. 【转】Android的Merge讲解与实例

    原文:http://blog.sina.com.cn/s/blog_62f987620100sf13.html 单独将<merge />标签做个介绍,是因为它在优化UI结构时起到很重要的作 ...

  7. 无线连接手机进行Android测试

    当每天走到哪都要拿一根数据线进行项目测试的时候,总是有一些焦急和烦躁的,如果能够无线连接测试就在好不过了. 这样不再是什么难事了,只需要几步走: 在进行无线连接测试的过程中,你的手机必须root了,这 ...

  8. 输出,变量的使用,子查询,逻辑语句,循环,case..when..then..end多分支语句,Exists(判断存在)

    --------------输出----------------print 'hello world'--以文本形式输出select 'hello world'--以网格形式输出,也可以设置成以文本形 ...

  9. 使用ServletContext实现数据共享和获得web.xml中的参数

    //适用于:很多文件需要初始化参数时,例如数据库账号和密码,不可能使用config这个对象,因为如果使用config对象去配置的话,那么每个servlet类都必须写一个参数,这时候就必须采用conte ...

  10. MVC为什么不再需要注册通配符(*.*)了?

    MVC为什么不再需要注册通配符(*.*)了? 文章内容 很多教程里都提到了,在部署MVC程序的时候要配置通配符映射(或者是*.mvc)到aspnet_ISPAI.dll上,在.NET4.0之前确实应该 ...