deepin 15.9.2 安装 LNMP一键安装包 V1.6 测试版
Tofloor
poster avatar
‌量子巡游者
Moderator
2019-03-22 00:36
Author
本帖最后由 MMDMM 于 2020-6-10 10:44 编辑

  第一步执行:
  1. sudo su
Copy the Code
输入root密码,enter 即可


  第二步执行:
  1. wget http://soft.vpser.net/lnmp/lnmp1.6beta.tar.gz -cO lnmp1.6beta.tar.gz && tar zxf lnmp1.6beta.tar.gz && cd lnmp1.6 && ./install.sh lnmp
Copy the Code


完成操作!


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

解决方案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!错误解决

解决方案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
‌量子巡游者
Moderator
2019-03-22 02:06
#2
https://bbs.deepin.org/post/175812
你是来水贴的吗…

没有啊   有人说不会安装,我不来发教程了~~~~
Reply View the author
avatar
‌量子巡游者
Moderator
2019-03-22 02:09
#3
https://bbs.deepin.org/post/175812
你是来水贴的吗…

你出来发教程最好了,比我这分区版主发好的多


那个安装系统时选择xfs 这个文件格式,显示需要个根目录啥的
有时间你给出个教程,教教我们被  
我昨天安装选择xfs,没安装成功,正好官方人员出来了!
Reply View the author