Linked Questions
70 questions linked to/from How to enable or disable services?
0
votes
1
answer
1k
views
How do I turn off the sql server by default on startup? [duplicate]
As soon as I turn on my system and run the command :
service mysql status
It shows that the service has been activated since the PC was turned on, I want it to be off my default and when I want to, ...
0
votes
1
answer
951
views
What is the recommended way to disable a service in 14.04?
The specific programs that I needed to disable were nginx and postgresql.
I have tried the flagship post for this question, which suggests I create a manual override file for upstart, and it does not ...
0
votes
1
answer
8k
views
Httpd is not present in init.d
I have installed lamp on Ubuntu 15.10. Apache is working fine. Whenever i tried to start the server it says.
bash: /etc/init.d/httpd: No such file or directory.
Please help.
0
votes
1
answer
354
views
How to enable Lubuntu lightdm dinamic autologin (sorry for my english)
Hi I freshly installed Lubuntu 14.04
I disabled lightdm autostarting by editing /etc/default/grub
Well.. I got some problems
"sudo service lightdm start" is working but startx command always ...
0
votes
1
answer
483
views
How can I stop YaCy from starting when my machine starts?
I have installed the YaCy P2P search engine following these instructions (adding the YaCy repo to my sources and installing from there): http://www.yacy-websuche.de/wiki/index.php/En:DebianInstall
...
0
votes
1
answer
3k
views
Multi-user text mode runlevel in Ubuntu
I use Ubuntu as a server, and I want to change its runlevel to be full multi-user text mode (like init 3 in RedHat).
From this command runlevel i see that am running N 2 which is Graphical multi-...
-1
votes
1
answer
258
views
How to Control the SSH Service
Ubuntu 20.04.
I have installed the openssh-server to test with ssh, but since then, whenever I boot up the system, the server starts running at port 22, which I feel is a security risk when I am ...
-1
votes
1
answer
1k
views
How to forbid ssh server to autostart on boot [duplicate]
I installed openssh-server,it will start ssh server on boot automatic.But I don't want that.How to forbid ssh server to autostart on boot?
4
votes
0
answers
4k
views
How to start, stop, restart a service [duplicate]
Back some versions ago, when I wanted to restart, stop, start a sevice i would do something similar to this:
sudo /etc/init.d/apache2 stop to stop the apache service
sudo /etc/init.d/networking start ...
1
vote
0
answers
23
views
Do not start openssh server on startup [duplicate]
I do not want to start the openssh server on startup, but just by command if I need to.
By default, openssh always starts with booting, I removed in file /etc/init/ssh.conf the following line:
start ...
1
vote
0
answers
48
views
How to enable/disable startup services in Ubuntu? [duplicate]
There seems to be no definitive solution for this, either in Ubuntu's official documentation or other sources of information.
In some places systemctl is suggested but I think Ubuntu does not support ...
1
vote
0
answers
1k
views
How can I disable transmission-daemon autostart [duplicate]
I tried rcconf and update-rc.d but transmission-daemon starting each time i boot the system.
0
votes
0
answers
24
views
How do I unmask mongod in Ubuntu?
I get this error with mongo on Ubuntu, how would I unmask it
Failed to enable unit: Unit file /lib/systemd/system/mongod.service is masked.
0
votes
0
answers
1k
views
How to disable a service only for the next boot?
According to https://askubuntu.com/a/19324
systemctl disable SERVICE Turns the service off on the next reboot or on the next stop event. It persists after reboot.
Is it possible to disable a service ...
0
votes
0
answers
35
views
How to configure Elasticsearch to start at boot? [duplicate]
How do you make Elasticsearch start at boot time on Ubuntu 16.04? I've installed elasticsearch from the standard repo with:
sudo apt-get install elasticsearch
and it works fine. However, I have to ...