linux ubuntu下安装xampp xampp 怎么安装

安装xampp 出问题 - 查看主题 & Ubuntu中文论坛
&[ 7 篇帖子 ]&
&文章标题 : 安装xampp 出问题发表于 :
8:41帖子: 5
系统: ubuntu12.04lts
接收感谢: 0 次
我下载来xampp1.8.3在桌面上,使用命令:chmod 755 xampp-linux-1.8.2-installer.run提示错误:cannot access `xampp-linux-1.8.3-5-installer.run': No such file or directory这是什么原因?各位前辈们帮忙解决一下。
&文章标题 : Re: 安装xampp 出问题发表于 :
论坛管理员
0:06帖子: 10107
系统: Ubuntu 12.04
先切换到桌面目录
cd ~/Desktop然后再执行。 另外在Ubuntu下,很少有人使用 xampp 的整合包,大部分都是直接安装配置。可以参考:
_________________
评价:&3.85%&
&文章标题 : Re: 安装xampp 出问题发表于 :
16:33帖子: 13465
cd 你存放 xampp-linux-1.8.2-installer.run 的目錄sudo chmod 755 ./xampp-linux-1.8.2-installer.run引用:cannot access `xampp-linux-1.8.3-5-installer.run': No such file or directory補充可能原因1. 你登入的使用者 沒有 存取 權限2. 你沒有 cd 到存放 xampp-linux-1.8.2-installer.run 的目錄3. 加 ./xampp-linux-1.8.2-installer.run強制在當下所在的目錄搜尋 xampp-linux-1.8.2-installer.run有些程式 如果沒加 ./ 會回覆說 找不到
_________________
评价:&3.85%&
&文章标题 : Re: 安装xampp 出问题发表于 :
8:41帖子: 5
系统: ubuntu12.04lts
接收感谢: 0 次
我参考: ,安装apache2,最后提示说:apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName是什么原因?
&文章标题 : Re: 安装xampp 出问题发表于 :
论坛管理员
0:06帖子: 10107
系统: Ubuntu 12.04
没有失败,已经安装成功了,只是没有设置域名而已。
&文章标题 : Re: 安装xampp 出问题发表于 :
16:33帖子: 13465
引用:apache2: Could not reliably determine the server's fully qualified domain name, using <span style="color: #FF.1.1 for ServerNameNetworking
In order to improve compatibility with other local nameserver packages, NetworkManager now assigns IP address <span style="color: #FF.1.1 to the local nameserver process that it controls instead of 127.0.0.1. If the system's /etc/resolv.conf is absent or is a static file instead of the symbolic link to ../run/resolvconf/resolv.conf installed by default then this static file will have to be updated by the administrator in order to continue using the NetworkManager-controlled nameserver.
&文章标题 : Re: 安装xampp 出问题发表于 :
13:29帖子: 6700地址: 新疆博乐
系统: Ubuntu 12.04/14.04
直接右键-属性,勾上执行,然后 sudo
nautilus 管理员身份打开文件管理器,双击运行就可以了,参考:
_________________===新手请看=== |
显示帖子 : 全部帖子1天7天2周1个月3个月6个月1年&排序 作者发表时间文章标题 升序降序&
&[ 7 篇帖子 ]&
正在浏览此版面的用户:没有注册用户 和 0 位游客
您 不能 在这个版面发表主题您 不能 在这个版面回复主题您 不能 在这个版面编辑帖子您 不能 在这个版面删除帖子您 不能 在这个版面提交附件
选择一个版面
------------------
公告/注意事项
& &新闻和通知
& &校园社团支持
& && &华东校区
& && &华南校区
& && &华北校区
& && &华中校区
& && &东北校区
& && &西北校区
& && &港澳台校区
& && &国外校区
& &软件推荐
& &非常任务
系统安装区
& &教学和常见问答
& && &课堂教学和培训
& &初学者园地 - 16.04
& &系统安装和升级
& && &新立得和软件源
& && &Wubi安装讨论
& &启动和引导
& &网卡问题以及网络和拨号
& && &校园网拨号
& &笔记本、UMPC支持
& &手机和平板
& && &Ubuntu移动应用开发
& &常用硬件支持
& &系统架构支持
配置美化区
& &字体美化和中文支持
& && &个人配置文件存放点
& &桌面特效
& &窗口管理器
& &屏幕抓图
& &办公、图像、机械电子设计等
& && &Vim和Emacs
& &因特网相关软件
& &影音多媒体
& &Wine及其分支
& &游戏和游戏模拟器
& &虚拟机和虚拟化
& &其它类软件
& &开源模板库
服务器管理
& &服务器基础应用
& &数据库管理
& &服务器维护和硬件相关
& &Ubuntu VPS
参与Ubuntu开发
& &软件和文档翻译
& &编译或打包
& &Ubuntu错误报告
程序设计区
& &Shell脚本
& &GTK+和QT
& &软件/网站开发
& && &Python/Php/Perl
& && &C/C++/Java
& &内核及嵌入式开发
& &开源小工具
& &Ubuntu 16.10
& &Ubuntu 14.04 LTS
& &Ubuntu 12.04 LTS
& &Ubuntu 10.04 LTS
& &老旧版本支持
& && &Ubuntu 15.10
& && &Ubuntu 15.04
& && &Ubuntu 14.10
衍生发行版
& &Ubuntu GNOME
& &Kubuntu
& &Xubuntu & Lubuntu
& &Ubuntu中文衍生版
& && &UbuntuKylin
& &Ubuntu国外衍生版
& && &Mint
& &Ubuntu衍生版制作
& &其它类Unix OS发行版
& && &Arch发行版
& && &Debian发行版
& && &OpenSUSE发行版
& && &Deepin
& &深度PK版
& &Ubuntu故事和感慨
& &Full Circle开源杂志
分享交流区
& &同城交流
& &线下活动专版
& &Ubuntu宣传推广
& &论坛管理
& && && &Ubuntu中文网上商店How to install XAMPP (LAMPP) on Linux Ubuntu 14.04 | Apache
&#8220;With this guide you will learn how to install XAMPP on Ubuntu 14.04 and configure its settings.&#8221;
You may like to Read: Advertisement
XAMPP, also known as LAMPP, is the easiest way possible to install an operating system on your home or localhost web server :
it should be noted that
it is not recommended to use XAMPP
on large production servers because of the simplicity (and relatively poor security ) of the default options. So if you are a beginner, do your testing with XAMPP on your local PC and train yourself to manually edit the configuration file, before using XAMPP on your webserver exposed to the world.
Within XAMPP, in addition to the Apache web server (with and without SSL support), you can find the
MySQL DBMS and its phpmyadmin web interface,
as well as the FTP server
XAMPP is a cross-platform tool that can be used on both Windows and Linux and Mac, provided &#8211; of course &#8211; to have administrative privileges on the machine where you intend to install it. Below you will find a guide that will teach you how to install XAMPP on Ubuntu 14.04 and to create a file. Desktops to simplify future operations.
That said, let&#8217;s proceed!
How to Install XAMPP on Ubuntu 14.04, 12.04
Note: with this procedure, the
earlier versions of XAMPP &#8211; if any &#8211; will be overwritten.
You may like to Read: Advertisement
After You download XAMPP for Linux, unload the latest version of XAMPP
directly from . Let&#8217;s go now to unzip the folder directly in / opt: assuming that you have downloaded the installer XAMPP directory ~ / Downloads. If not you can download Ubuntu LAMPP from terminal by typing:
cd ~ / Downloads
chmod + x *-xampp-installer.run
sudo ./xampp- *-installer.run
It will start a wizard that will allow you to install XAMPP on Ubuntu in directorry
/ opt / lampp.
You may like to Read: Advertisement
Once this is done, to
start XAMPP
(Apache by default will start only) simply leave the check on &#8220;Launch Xampp&#8221; and select &#8220;Finish&#8221;.
How to install XAMPP (LAMPP) on Ubuntu 14.04
Otherwise, if you do not want to start XAMPP at once, you can do it later by typing in terminal
sudo / opt / lampp / manager-linux.run
If you have a 32-bit system, or
sudo / opt/lampp/manager-linux-x64.run
if you have a 64-bit system. You will be presented a management of this kind:
How to install XAMPP (LAMPP) on Ubuntu 14.04
Via the tab &#8220;Welcome&#8221; will be able to:
open the webserver
(by clicking on &#8220;Go To Application&#8221;, analogous to write in the browserhttp://localhost/
the XAMPP installation folder
(by clicking &#8220;Open Application Folder&#8221;);
the site &#8220;Apache Friends&#8221;;
view an online tutorial on using Xampp
(&#8220;Get Started&#8221;);
How to install XAMPP (LAMPP) on Ubuntu 14.04
Via the tab &#8220;Manage Servers&#8221; (picture above) will be able to
turn on, turn off or configure your web server, the SQL server or the ProFTPD server
(in this case, only switching on and off).
From the &#8220;Application Log&#8221;, however, you will have access to the logs generated from XAMPP.
How to create a custom launcher for Unity
the simple launcher for the handler is not enough
but you want
a launcher with plenty of practical quicklist for Unity
that allows you to perform certain actions via right click you can build it without problems following the procedure below.
In particular, the quicklist
to open the fly various directories or multiple files of interest.
To add to the pitcher proceed as follows:
hidden directory in your home,
with the command
mkdir-p ~ /. launchers
gksudo installed with the command
sudo apt-get install gksu
open the text editor to create your launcher with the command
gedit ~ / .launchers / xampp.desktop
paste inside the following text ( if you have a 32-bit operating system ):
[Desktop Entry]
Name = XAMPP Control Panel
Comment = Open Panel management XAMPP
Keywords =
Exec = gksudo / opt / lampp / manager-linux.run
Icon = redhat-preferences
Terminal = false
Type = Application
StartupNotify = true
OnlyShowIn = GNOME U
Categories = GNOME GTK;
Actions = Installation, Apache, MySQL, HTTPD; Conf_ Conf_ Conf_ Conf_ Security
X-Unity-IconBackgroundColor = # af4853
[Desktop Action Setup]
Name = Open folder XAMPP installation
Exec = xdg-open gksudo / opt / lampp / bin
OnlyShowIn = U
[Desktop Action Apache]
Name = Open folder web projects
Exec = xdg-open gksudo / opt / lampp / htdocs
OnlyShowIn = U
[Desktop Action MySql]
Name = Open folder MySQL
Exec = xdg-open gksudo / opt / lampp / bin / mysql
OnlyShowIn = U
[Desktop Action HTTPD]
Name = Open the Apache configuration file
Exec = xdg-open gksudo / opt / lampp / etc / httpd.conf
OnlyShowIn = U
[Desktop Action Conf_mysql]
Name = Open the configuration file for MySQL
Exec = xdg-open gksudo / opt / lampp / etc / my.cnf
OnlyShowIn = U
[Desktop Action Conf_php]
Name = Open the configuration file for PHP
Exec = xdg-open gksudo / opt / lampp / etc / php.ini
OnlyShowIn = U
[Desktop Action Conf_proftp]
Name = Open configuration file ProFTP
Exec = xdg-open gksudo / opt / lampp / etc / proftpd.conf
OnlyShowIn = U
[Desktop Action Conf_phpmyadmin]
Name = Open the configuration file of phpMyAdmin
Exec = xdg-open gksudo / opt / lampp / phpmyadmin / config.inc.php
OnlyShowIn = U
[Desktop Action Security]
Name = Configure the security parameters for XAMPP
Exec = xterm-e sudo / opt / lampp / lampp security
OnlyShowIn = U
or the following text ( if you have a 64-bit operating system ):
[Desktop Entry]
Name = XAMPP Control Panel
Comment = Open Panel management XAMPP
Keywords =
Exec = gksudo / opt/lampp/manager-linux-x64.run
Icon = redhat-preferences
Terminal = false
Type = Application
StartupNotify = true
OnlyShowIn = GNOME U
Categories = GNOME GTK;
Actions = Installation, Apache, MySQL, HTTPD; Conf_ Conf_ Conf_ Conf_ Security
X-Unity-IconBackgroundColor = # af4853
[Desktop Action Setup]
Name = Open folder XAMPP installation
Exec = xdg-open gksudo / opt / lampp / bin
OnlyShowIn = U
[Desktop Action Apache]
Name = Open folder web projects
Exec = xdg-open gksudo / opt / lampp / htdocs
OnlyShowIn = U
[Desktop Action MySql]
Name = Open folder MySQL
Exec = xdg-open gksudo / opt / lampp / bin / mysql
OnlyShowIn = U
[Desktop Action HTTPD]
Name = Open the Apache configuration file
Exec = xdg-open gksudo / opt / lampp / etc / httpd.conf
OnlyShowIn = U
[Desktop Action Conf_mysql]
Name = Open the configuration file for MySQL
Exec = xdg-open gksudo / opt / lampp / etc / my.cnf
OnlyShowIn = U
[Desktop Action Conf_php]
Name = Open the configuration file for PHP
Exec = xdg-open gksudo / opt / lampp / etc / php.ini
OnlyShowIn = U
[Desktop Action Conf_proftp]
Name = Open configuration file ProFTP
Exec = xdg-open gksudo / opt / lampp / etc / proftpd.conf
OnlyShowIn = U
[Desktop Action Conf_phpmyadmin]
Name = Open the configuration file of phpMyAdmin
Exec = xdg-open gksudo / opt / lampp / phpmyadmin / config.inc.php
OnlyShowIn = U
[Desktop Action Security]
Name = Configure the security parameters for XAMPP
Exec = xterm-e sudo / opt / lampp / lampp security
OnlyShowIn = U
open your file manager in the newly created directory with the command
nautilus ~ /. launchers
drag the file xampp.desktop on the Unity launcher to add it.
The result is as follows:
XAMPP and the default security
That said, it&#8217;s time to
talk a little security: as I said, XAMPP is a tool designed to
make it easy to install a web server
in order to make the deployment of
applications, home-made,
mostly for the purpose of testing, that is
&#8211; at least by default &#8211;
a bit lacking in security.
In particular, a basic installation of XAMPP happens:
the user MySQL administrator (root)
MySQL daemon is ac
ProFTPD uses the
password &#8220;lampp&#8221; for user &#8220;nobody&#8221;;
PhpMyAdmin is
MySQL and Apache are executed using the permissions of the same system user
To remedy these problems it is advisable to start XAMPP , type in terminal
sudo / opt / lampp / lampp security
follow the instructions carefully,
or right-click the icon of the launcher you created earlier, and select &#8220;Configure security parameters for XAMPP.&#8221;
For completeness, we mark the various different files and directories
of interest:
/ Opt / lampp / bin /: installation folder of XAMPP ;
/ Opt / lampp / bin / mysql folder for monitoring
/ Opt / lampp / htdocs /: Apache Web s
/ Opt / lampp / etc / httpd.conf configuration file of
/ Opt / lampp / etc / my.cnf: configuration file for
/ Opt / lampp / etc / php.ini: PHP configuration file.
/ Opt / lampp / etc / proftpd.conf: configuration file
/ Opt / lampp / phpmyadmin / config.inc.php: configuration file for
phpMyAdmin
the various parameters which are run from the XAMPP (which must be preceded by
sudo / opt / lampp / lampp ):
restart : Stop and
startapache : only start
tartssl : Starts
with SSL support. This command activates the SSL support permanently, so next time you start XAMPP,
startmysql : Star
startftp starts the server
ProFTP . Through this service you can upload files to the web server (user name &#8220;nobody&#8221;, password &#8220;lampp&#8221;). This command enables FTP support permanently, so next time you start XAMPP,
stopftp : Stops the server
ProFTP . This command disables the FTP support permanently, so next time you start XAMPP, this servic
stopapache : Stops
the Apache ;
stopssl : Disable SSL support for
Apache . At the next startup, support for SSL
stopmysql : Stop the MySQL
security : Starts a simple program for the control and configuration of security parameters.
About the Author
Leave A Response
Most Popular PostsUbuntu安装xampp打开phpmyadmin显示403的解决方法
昨天晚上安装的xampp,没办法打开默认配置页面http://localhost/xampp 也没办法打开phpmyadmin,开始的时候以为是文件夹权限问题,将文件夹权限改为755还是无法打开。错误页面提示的信息是找httpd-xampp.conf进行配置,所以就找到该文件进行修改。
经过几个回合的百度和谷歌,找到的所有的国内的教程都是修改配置文件的最后几行,将Order deny,allow 下面的Deny from all注释掉即可。但是按照此种操作并重启xampp之后还是无法打开。
今天将此问题解决,是在ubuntu论坛一个外国人写的方法,但是只给了后面的方法(也就是国内的资料写的方法,并修改phpmyadmin中config.inc.php的文件权限为644,前面的修改方法在一个链接里,后缀是.co.uk。点击链接,发现无法打开,猜想可能是国内的网络问题(大家都懂的哈),最后打开之后发现,教程非常详细,不仅要注释掉Deny from all并加入Allow from all,还要修改phpmyadmin的配置项。截图如下:
修改安全策略:
修改phpmyadmin和xampp的配置
sudo /opt/lampp/lampp restart
问题解决!
感谢谷歌国际版。啦啦~
标签(Tag):
------分隔线----------------------------
------分隔线----------------------------ubuntu15.04 xampp安装memcache
要ThinkPHP3.2里由于要用到 memcache 缓存,如果没有配置memcache,会报错,说系统支持 memcache。
所在配置的时候有点问题,现在解决了,现把它记录下来,以便以后查阅之用。
首先去下载一个xampp(https://www.apachefriends.org/download.html) 我下载的是& XAMPP forLinux PHP 5.6.11 64位,
现在 主要是安装 memcache& ,配置这个是有点费劲,弄了两天才安装好
sudo apt-get install memcached&
memcached -d -m 50 -p 11211 -u root&
端口出来了
安装php-memcache模块
sudo apt-get install php5-memcache&
因为我的xampp安装到的路径是 /opt/lampp下面,所以要修改php.ini要到 /opt/lampp/etc/php.ini,添加以下内容。
extension=memcache.so&
[memcache]&
memcache.allow_failover=1&
memcache.max_failover_attempts=20&
memcache.chunk_size=8192&
memcache.default_port=11211&
还有很重要的一步,就是要把 memcache.so 复制到 xampp 里的php里的extension目录里去。
&span style=&font-size:18&&&strong&sudo cp /usr/lib/php5//memcache.so /opt/lampp/lib/php/extensions/no-debug-non-zts-/&/strong&&/span&&
sudo chmod 777 /opt/lampp/lib/php/extensions/no-debug-non-zts-/memcache.so&
重启apache
sudo /opt/lampp/lampp stopapache&
sudo /opt/lampp/lampp startapache&
然后看下 phpinfo()信息,里面是不是出来了。memcache
这样就在memcache基本上就配置好了。
Ubuntu下Memcache环境安装:
Linux系统用户如何安装XAMPP 1.8.3.4服务:
Ubuntu 64位系统xampp环境编译32位php扩展库:
------分隔线----------------------------最近,我也玩起了Linux了,瞬间觉得自己逼格又上去了,所以,就给笔记本安装了Ubuntu+Win7双系统。当然在Ubuntu下必须安装的就是XAMPP了,我是说对我而言。
&&&& 要安装,必须先下载,这个去官网下载Linux版本的XAMPP的。下载下来的包只有rw权限,没有X权限,所以必须更改其权限。对于Ubuntu新手,就只能网上找教程了,可是安装失败了
& 第一种方式是chmod a+x& XAMPP安装包名,给其增加x权限,变成可执行文件,failure.
&&&& 第二种方式是chmod 777 *.run ,之前将权限改为777,但是还是failure.
&&&& 所以,我就想,用root权限来安装,总是可以了吧,这是最高权限了。也就是试试了。首先获取root权限
获取root权限
1、输入sudo passwd root
2、输入新的密码,再次确认密码
3、每次打开终端输入 su root
&&& 获取到权限之后,切换到xampp包的目录,输入./包完整名称& 就能安装了
安装完成之后,会自动打开xampp的一个界面。ubuntu14的保存路径是在/opt/lampp下面。
& 在Ubuntu下,也是有一个控制界面的,调出控制界面的命令如下:
//Linux下的XAMPP图形化面板必须是root权限
$ cd /opt/lampp/share/xampp-control-panel
$ sudo ./xampp-control-panel
&&&& 如图:
&& 各配置文件目录:
&&&&&&&&&&&& Apache文档根目录:/opt/lampp/htdocs/
&&&&&&&&&&&& Apache配置文件:/opt/lampp/etc/httpd.conf
&&&&&&&&&&&& MySQL配置文件:/opt/lampp/f
&&&&&&&&&&&& PHP配置文件:/opt/lampp/etc/php.ini
&&&&&&&&&&& ProFTPD配置文件:/opt/lampp/etc/proftpd.conf
&&&&&&&&&&& PHPMyadmin配置文件:/opt/lampp/phpmyadmin/config.inc.php
常用XAMPP命令(在终端以root输入):
&&&&&&&&&&&& 启动/停止/重启Apache:/opt/lampp/lampp start/stop/restart(包括启动/停止/重启了mysql,proftpd)
&&&&&&&&&&&& 安全设置:/opt/lampp/lampp& security
&&&&&&&&&&&& 使用php版本/查看版本:/opt/lampp/lampp php4(5)/phpstatus
&&&&&&&&&&&& 只启动和停止Apache:/opt/lampp/lampp startapache/stopapache
&&&&&&&&&&&& 只启动和停止MySQL:/opt/lampp/lampp startmysql/stopmysql
&&&&&&&&&&&& 只启动和停止ProFTPD服务器:/opt/lampp/lampp startftp/stopftp
&&&&&&&&&&&& 启动和停止Apache的SSL支持:/opt/lampp/lampp startssl/stopssl
&&&&&&&&&&&& 随系统自启动:
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ln &s /opt/lampp/lampp/etc/rc.d/rc3.d/S99lampp
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ln &s /opt/lampp/lampp/etc/rc.d/rc4.d/S99lampp
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ln &s /opt/lampp/lampp/etc/rc.d/rc5.d/S99lampp
&&&&&&&&&&& 取消自启动:
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& ln &s /opt/lampp/lampp K01lampp
&&&&&&&&&&& 卸载XAMPP:rm &rf /opt/lampp
阅读(...) 评论()

我要回帖

更多关于 ubuntu下安装xampp 的文章

 

随机推荐