Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将我的lampp添加到自动运行中。我应该把这个命令放在哪里/opt/lampp/lampp start,以便在系统启动时从 root 运行?
/opt/lampp/lampp start
谢谢你。
将其添加到 /etc/rc.local 它将在启动时以 root 身份运行。
在 Systems\Preferences\Sessions 中应该有一个启动程序选项卡。您只需在此处添加命令。要使其以 root 身份运行,您需要通过chown对其执行 a 来赋予文件本身 root 所有权。
chown