我对 ubuntu 还很陌生,我尝试运行 xampp。下载文件并按以下方式安装
chmod +x xampp......run
./xampp.......run
这些文件安装在opt/ direktroy ( not
/etc/opt , don't know is it right this way ) under the name of
lampp/` 中。之后我尝试像这样运行它:
chmod +x manager-linux-x64.run
./manager-linux-x64.run
终端出现了一些错误:
toma@toma-hp-zbook-17:/opt/lampp$ sudo ./manager-linux-x64.run
[1882:1882:0911/232638.612121:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
[1892:1892:0911/232638.644026:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Running Firefox as root in a regular user's session is not supported. ($HOME is /home/toma which is owned by toma.)
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: iceweasel: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: seamonkey: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: mozilla: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: epiphany: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: konqueror: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: chromium: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: chromium-browser: not found
[1923:1923:0911/232638.697093:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 851: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'http://wiki.bitnami.com/Infrastructure_Stacks/BitNami_for_XAMPP'
还创建了桌面快捷方式,但显然它不再起作用。我做错了什么?
答案1
按照这个对我有用..首先从 xampp 网站安装它.....
你要做的是先停止 Mysql 和 apache2
sudo 服务 mysql 停止 sudo /etc/init.d/apache2 停止
然后开始
sudo /opt/lampp/lampp 启动
Switch to the XAMPP installation directory. Type in
cd /opt/lampp
and press ↵ Enter
Enter the "Open" command. Type in
sudo ./manager-linux-x64.run
and press ↵ Enter
出现提示时输入密码。输入你通常用来登录电脑的密码,然后按 ↵ Enter。