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!错误解决
这个就是你登陆root权限ubuntu因为默认不开root所以你就用sudo,如果是RHEL你可以直接su -登陆root去操作解决方案5:这些需要root权限,你要用sudo执行脚本以上介绍了“怎么解决 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”
解决方案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”的问题解答,希望对有需要的网友有所帮助。