怎么解决 you must be root to run this script,please use root to install lnmp

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

这些需要root权限,你要用sudo执行脚本

在虚拟机中安装了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,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

登录root之后在执行,或者用sudo执行

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

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