首页 > 其他 > 详细

centos装xampp、bugfree

时间:2014-12-11 20:34:43      阅读:384      评论:0      收藏:0      [点我收藏+]

1./opt目录下放xampp-linux-1.8.3-3-installer.run、bugfree.zip

2.[root@centos1 opt]# chmod 775 xampp-linux-1.8.3-3-installer.run  #赋权
3.[root@centos1 opt]# sudo ./xampp-linux-1.8.3-3-installer.run         #安装xampp

4.启动xampp

  [root@centos1 /]# sudo ./opt/lampp/lampp start
  Starting XAMPP for Linux 1.8.3-3...
  XAMPP: Starting Apache...already running.
  XAMPP: Starting MySQL...ok.
  XAMPP: Starting ProFTPD...ok.
  [root@centos1 /]#

4.[root@centos1 opt]# unzip bugfree.zip               #解压bugfree

5.[root@centos1 opt]# mv bugfree3.0.1/ /opt/lampp/htdocs/     #移动htdocs路径

6.[root@centos1 htdocs]# mv bugfree3.0.1/ bugfree          #改名

7.访问http://192.168.0.101/bugfree/install/

8.改文件权限

  [root@centos1 htdocs]# mkdir BugFile
  [root@centos1 htdocs]# chmod 777 -R  BugFile/
  [root@centos1 htdocs]# chmod 777 -R  bugfree/assets/
  [root@centos1 htdocs]# chmod 777 -R  bugfree/protected/runtime/
  [root@centos1 htdocs]# chmod 777 -R  bugfree/protected/config/
  [root@centos1 htdocs]# chmod 777 -R  bugfree/install/

乱码文件,删节点

 [root@centos1 opt]# ls
2345+?+???+?.url  2345+?+?????.url  bugfree3.0.1  bugfree.zip  lampp  xampp-linux-1.8.3-3-installer.run
[root@centos1 opt]# ll -i
总用量 125712
670550 -rw-r--r--  1 root root       225 6月  26 2012 2345+?+???+?.url
670551 -rw-r--r--  1 root root       235 6月  26 2012 2345+?+?????.url
670552 drwxr-xr-x  8 root root      4096 12月 31 2011 bugfree3.0.1
670548 -rw-r--r--  1 root root   5032944 12月 11 19:50 bugfree.zip
654295 drwxr-xr-x 30 root root      4096 12月 11 19:49 lampp
654294 -rwxrwxr-x  1 root root 123675606 12月 11 19:43 xampp-linux-1.8.3-3-installer.run
[root@centos1 opt]# find . -inum 670550 -exec rm {} -rf \;
[root@centos1 opt]# find . -inum 670551 -exec rm {} -rf \;
[root@centos1 opt]# ll -i
总用量 125704
670552 drwxr-xr-x  8 root root      4096 12月 31 2011 bugfree3.0.1
670548 -rw-r--r--  1 root root   5032944 12月 11 19:50 bugfree.zip
654295 drwxr-xr-x 30 root root      4096 12月 11 19:49 lampp
654294 -rwxrwxr-x  1 root root 123675606 12月 11 19:43 xampp-linux-1.8.3-3-installer.run
[root@centos1 opt]#

centos装xampp、bugfree

原文:http://www.cnblogs.com/stay-sober/p/4158364.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!