`

CentOS6.4下安装xampp

    博客分类:
  • PHP
php 
阅读更多

 

(原创)CentOS6.4下安装xampp  

2013-11-29 12:12:44|  分类: CentOS原创 |  标签:centos  xampp  安装配置  开机启动  卸载  |举报|字号 订阅

 
 
 

一、xampp下载地址:

http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/

二、我下载的是xampp-linux-x64-1.8.3-1-installer.run

wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-1-installer.run/download

三、下载完以后,给该文件添加执行权限:

chmod a+x xampp-linux-x64-1.8.3-a-installer.run

四、安装xampp过程如下:

[root@nginxone src]# sh xampp-linux-x64-1.8.3-1-installer.run

xampp-linux-x64-1.8.3-1-installer.run: xampp-linux-x64-1.8.3-1-installer.run: cannot execute binary file

[root@nginxone src]# ./xampp-linux-x64-1.8.3-1-installer.run

----------------------------------------------------------------------------

Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------

Select the components you want to install; clear the components you do not want

to install. Click Next when you are ready to continue.

XAMPP Core Files : Y (Cannot be edited)

XAMPP Developer Files [Y/n] :y

Is the selection above correct? [Y/n]: y

----------------------------------------------------------------------------

Installation Directory

XAMPP will be installed to /opt/lampp

Press [Enter] to continue :

----------------------------------------------------------------------------

Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: y

----------------------------------------------------------------------------

Please wait while Setup installs XAMPP on your computer.

 Installing

 0% ______________ 50% ______________ 100%

 #########################################

----------------------------------------------------------------------------

Setup has finished installing XAMPP on your computer.

Launch XAMPP [Y/n]: y

五、安装后的文件在 /opt/lamp

六、启动xampp:

[root@nginxone lampp]# /opt/lampp/xampp start

Starting XAMPP for Linux 1.8.3-1...

XAMPP: Starting Apache...fail.

XAMPP:  Another web server is already running.

XAMPP: Starting MySQL...ok.

XAMPP: Starting ProFTPD...fail.

XAMPP:  Another FTP daemon is already running.

七、停止xampp:

[root@nginxone lampp]# /opt/lampp/xampp stop

Stopping XAMPP for Linux 1.8.3-1...

XAMPP: Stopping Apache...not running.

XAMPP: Stopping MySQL...ok.

XAMPP: Stopping ProFTPD...not running.

八、添加开机启动:

温习一下ln命令,使用方式:

#ln [option] source dist

#ln –s /opt/lampp/xampp /etc/rc.d/init.d/xampp

九、如果执行完上面这条还不能开机自动启动,再执行下面3条语句。

#chkconfig –add xampp

#chkconfig –list | grep xampp

#chkconfig –level 3 xampp on

xampp的界面:

(教程)CentOS6.4下安装xampp - CentOS - Linux合Oracle学习之路

 

十、卸载xampp

#/opt/lampp/xampp stop

#rm -rf /opt/lampp

 

How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

 
SHARE :google How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop132facebook How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop62twitter How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop6stumbleupon How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop1pinterest How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop1reddit How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop0linkedin How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop2

XAMPP is an independent server platform, which consists mainly of the MySQL database, the Apache web server and interpreters for scripting languages: PHP and Perl. The name comes from the abbreviation of X (for any of the different operating systems), Apache, MySQL, PHP, Perl. The program is released under the GNU license and acts as a free web server, it easy to use and able to interpret dynamic pages. Currently XAMPP is available for major operating system (GNU/Linux Distributions, Microsoft Windows, Solaris, and MacOS X).

The latest XAMPP now available in version 1.8.3 has the following features:

<iframe id="aswift_0" style="margin: 0px; padding: 0px; border-width: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; vertical-align: baseline; left: 0px; position: absolute; top: 0px;" name="aswift_0" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="336" height="280" data-en_id="92648691"></iframe>
  • Apache 2.4.7;
  • MySQL 5.6.14;
  • PHP 5.5.6;
  • PEAR + SQLite 2.8.17/3.7.17 + multibyte support (mbstring);
  • Perl 5.16.3;
  • phpMyAdmin 4.0.9;
  • OpenSSL 1.0.1e;
  • ProFTPD 1.3.4c;
  • GD 2.0.35;
  • Freetype2 2.4.8.

More info about XAMPP you can see at XAMPP Official Website.

Installing XAMPP on Ubuntu 13.10, 13.04, 12.10, 12.04 and Linux Mint 13/14/15/16

Now let’s see how to installing XAMPP 1.8.3 with PHP 5.5 in Ubuntu and derivatives, but no other previous Xampp 1.8.2 with PHP 5.4 can also be installed by following the same instructions. XAMPP 1.8.3, Tested on Ubuntu 13.10 (64 bit) without problems.

Step 1. Open terminal and download XAMPP 1.8.3 package.

for 32-bit:

wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-1.8.3-2-installer.run/download

for 64-bit:

wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-2-installer.run/download

Step 2. After that, Change xampp package installer to executable then run to installing with following command:

sudo chmod +x xampp-linux-x64-1.8.3-2-installer.run
sudo ./xampp-linux-x64-1.8.3-2-installer.run

The window installation wizard will appear:

Setup 193 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

Click “Next”. Another appears:

Setup 194 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

Click “Next” again. And you will go to the next window:

Setup 195 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

Click “Next” again. And will to the following:

Setup 196 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

Uncheck: “Learn more about BitNami for XAMPP”
And click “Next”

Setup 197 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

Click Next again. Wait for the installation:

Setup 198 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

When finished, this will be the last window:

Setup 199 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

When you checked “launch XAMPP” before clicking finish A page will open in your browser,  If the page does not open automatically, go into your browser’s address and type http://localhost/xampp

To stop the XAMPP service:

sudo /opt/lampp/lampp stop

To start the XAMPP service:

sudo /opt/lampp/lampp start

To open the page of XAMPP, whenever you want, type in the address bar of your browser: http://localhost/xampp/

XAMPP for Linux 1.8.2 3 Mozilla Firefox 201 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

Basic Configuration
If you want XAMPP to start automatically when you restart your system, add a command line in “rc.local” file. Run:
sudo nano /etc/rc.local
The file is opened for editing. And where was this:
#! /bin/ bash
# 
# rc.local 
# 
# This script is executed at the end of each multiuser runlevel. 
# Make sure que the script will "exit 0" on success or any other 
# value on error. 
# 
# In order to enable or disable this script just change the execution 
# bits. 
# 
# By default this script does nothing.
/opt/lampp/lampp start
exit 0

I added a line just before the “exit 0.” Save and close the file. When you restart your system, the command that was added runs and starts XAMPP. . Note: if anyone knows a more “correct” way to autostart XAMPP, please comment Lastly.
If you have to set passwords XAMPP. To do this, run:

sudo /opt/lampp/lampp security

Questions on various passwords will be made. Would be appreciated define what Restart XAMPP:

sudo /opt/lampp/lampp restart

Or simply use the graphical interface of the program to start and stop the web server

XAMPP 1.8.2 3 200 How to Install XAMPP 1.8.3 for Linux in Ubuntu Desktop

 

分享到:
评论

相关推荐

    Centos6.4_安装oracle_11g教程

    在本教程中,我们将探讨如何在CentOS 6.4操作系统上安装Oracle 11g数据库。Oracle 11g是Oracle公司推出的企业级数据库管理系统,适用于大型企业应用,提供高性能、高可用性和安全性。在CentOS 6.4上安装Oracle 11g...

    centos6.4iso镜像

    centos6.4的安装镜像。可以下一个VM,安装流程百度一大堆。

    centos6.4U盘安装

    ### CentOS 6.4 U盘安装详细指南 #### 一、前言 随着Linux系统的广泛应用,CentOS作为一款稳定...此外,由于CentOS 6.4版本较为老旧,建议用户在条件允许的情况下选择更新的版本进行安装,以便获得更好的性能和支持。

    CentOS 6.4 i386的学习笔记-001 自定义安装图形界面

    在《CentOS 6.4 i386的学习笔记-001 自定义安装图形界面》中,作者详细记录了在虚拟机环境下进行自定义安装CentOS 6.4 i386图形界面的全过程。自定义安装是一种高级安装方式,允许用户根据实际需求选择安装的组件和...

    CentOS 6.4安装(超级详细图解教程)

    ### CentOS 6.4安装(超级详细图解教程) #### 知识点一:CentOS 6.4系统概述 CentOS是Community ENTerprise Operating System的缩写,是一款基于Red Hat Enterprise Linux(RHEL)源代码编译的免费Linux发行版。...

    CentOS6.4单用户下root密码破解

    ### CentOS6.4单用户模式下Root密码破解详解 #### 一、背景介绍 在Linux系统管理中,可能会遇到忘记root账户密码的情况。这不仅会给系统维护带来不便,还可能影响到系统的正常使用。CentOS 6.4作为一款广泛使用的...

    CentOS 6.4 安装 Oracle 11g

    在本教程中,我们将深入探讨如何在 CentOS 6.4 操作系统上安装 Oracle 11g 数据库管理系统。Oracle 11g 是一个企业级的数据库解决方案,它提供了高性能、高可用性和安全性,适用于大型企业的关键业务应用。在 CentOS...

    CentOS6.4的安装与配置Qt4.8.4环境

    本文是关于如何在CentOS 6.4操作系统上安装和配置Qt 4.8.4开发环境的详细步骤。首先,我们将关注CentOS 6.4的安装过程,然后转向Qt开发环境的配置。 **一、CentOS 6.4的安装** 1. 将CentOS 6.4的安装盘放入光驱。 ...

    centos6.4 安装 oracle12c 单实例 asm

    本篇教程将详细介绍如何在CentOS 6.4操作系统上安装Oracle 12c数据库的单实例版本,并使用自动存储管理(ASM)。 首先,安装Oracle数据库之前,需要对系统环境进行全面的检查,确保操作系统满足Oracle 12c的安装...

    【PDF】CentOS+6.4安装(超级详细图解教程)

    CentOS 6.4安装(超级详细图解教程) 说明: 1、CentOS 6.4 系统镜像有两个,安装系统只用到第一个镜像即 CentOS-6.4-i386-bin-DVD1.iso(32 位) 或者 CentOS-6.4-x86_64-bin-DVD1.iso(64 位),第二个镜像是...

    Centos6.4 64位系统安装oracle 11g R2

    在没有显示器的情况下安装Oracle数据库非常有用。在CentOS中,可以通过以下命令安装VNC Server: ```bash sudo yum install tigervnc-server -y ``` 然后设置VNC密码,并启动VNC服务: ```bash vncpasswd sudo ...

    CentOS6.4 SSH Telnet服务器配置

    通过对CentOS 6.4系统下SSH服务器的详细介绍,我们可以了解到SSH不仅仅是一个简单的远程登录工具,它还提供了一系列强大的安全特性和服务。掌握SSH的使用对于Linux系统的管理和维护至关重要。通过本文所述的方法和...

    Dell CentOS 6.4安装Oracle VM VirtualBox 操作文档.doc

    自己动手从开箱上架开始,Dell CentOS 6.4服务器安装Oracle VM VirtualBox 操作的文档

    vm虚拟机centos6.4百度云盘下载地址(永久有效)

    VMware上的centos6.4虚拟机,直接下载解压导入即可使用

    centos 6.4安装gcc和gcc++需要的全部包

    在这种情况下,压缩包文件`centOs6.4补充rpm包`就派上用场了。这个压缩包可能包含了CentOS 6.4安装GCC和G++过程中可能缺少的一些特定依赖。解压该文件,然后逐个安装缺少的RPM包,例如: ```bash cd /path/to/...

    CentOS 6.4安装配置LAMP服务器_Apache+PHP5+MySQL

    CentOS 6.4安装配置LAMP服务器

    CentOS6.4安装MySql5.5.27[文].pdf

    在本文中,我们将详细探讨如何在CentOS 6.4操作系统上安装MySQL 5.5.27。MySQL是一款流行的开源关系型数据库管理系统,广泛应用于软件开发领域。以下是安装过程的关键步骤: 首先,确保系统中没有旧版本的MySQL。...

Global site tag (gtag.js) - Google Analytics