deepin 15.9.2 安装 lamp
Tofloor
poster avatar
‌量子巡游者
Moderator
2019-03-22 01:03
Author
本帖最后由 MMDMM 于 2020-6-10 10:42 编辑

第一步执行:
  1. sudo su                                       获取 root 权限
Copy the Code


第二步执行:
  1. wget -c http://lamp.phpstudy.net/phpstudy.bin
  2. --2019-03-21 16:59:04--  http://lamp.phpstudy.net/phpstudy.bin                               #权限设置
Copy the Code



第三步执行:
  1. ./phpstudy.bin     #运行安装
Copy the Code


安装完成!

遇到:怎么解决 linux下的 “you must be root to run this script,please use root to install lamp"

解决方案1:
登录root之后在执行,或者用sudo执行

解决方案2:
在虚拟机中安装了CentOS时安装了Nami版的Rendmine,没有设置MySQL自动启动,手动启动时出现 Please read "Security" section of the manual to find out how to run mysqld as root!错误,根据提示,查了 /opt/redmine-1.2.1-1/mysql/docs/my......
答案就在这里:Please read "Security" section of the manual to find out how to run mysqld as root!错误解决
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

解决方案3:
你把这句翻译一下也能知道什么意思吧!如果是ubuntu的话,输入sudo su,再输入密码进入管理员权限;如果是centos,fedora之类的系统,就是输入su,再输入密码,就可以获取管理员权限了。一般的话,我们用终端都是先获取管理员权限,再进行其他操作的,这是习惯问题,可以避免好多问题。

解决方案4:
这个就是你登陆root权限ubuntu因为默认不开root所以你就用sudo,如果是RHEL你可以直接su -登陆root去操作

解决方案5:
这些需要root权限,你要用sudo执行脚本

以上介绍了“怎么解决 you must be root to run this script,please use root to install lnmp”的问题解答,希望对有需要的网友有所帮助。

Reply Favorite View the author
All Replies
avatar
justforlxz
deepin
2019-03-22 01:23
#1
Reply View the author
avatar
abc
deepin
2019-03-22 01:42
#2

俩大佬分别发了LAMP和LNMP的架设, 我发个小白的方法吧
https://www.apachefriends.org/index.html 下载 linux版本
1. chmod +x xampp-linux-x64-7.2.9-0-installer.run
2. sudo ./xampp-linux-x64-7.2.9-0-installer.run (然后按步骤安装)
3. cd /opt/lampp ; sudo ./manager-linux-x64.run (开始运行)
Reply View the author
avatar
justforlxz
deepin
2019-03-22 01:56
#3
https://bbs.deepin.org/post/175813
俩大佬分别发了LAMP和LNMP的架设, 我发个小白的方法吧
https://www.apachefriends.org/index.html 下 ...

我只是不想看到你们乱装东西把系统搞坏,然后来论坛发帖抱怨系统做的不好
Reply View the author
avatar
successfully
deepin
2019-03-22 02:02
#4
https://bbs.deepin.org/post/175813
我只是不想看到你们乱装东西把系统搞坏,然后来论坛发帖抱怨系统做的不好 ...

来论坛吐槽我们总哋找个借口吧!
Reply View the author
avatar
‌量子巡游者
Moderator
2019-03-22 02:11
#5
https://bbs.deepin.org/post/175813
俩大佬分别发了LAMP和LNMP的架设, 我发个小白的方法吧
https://www.apachefriends.org/index.html 下 ...

哈哈 这样那些高级人员,又要砸键盘了
Reply View the author
avatar
lun1bz
deepin
2019-03-22 02:46
#6
用homestead吧
Reply View the author