Ubuntu / Debian (OS specific)

From Oxxus Wiki

Jump to: navigation, search

Package manager

Ubuntu and Debian use apt-get for installation and removal of packages.

To install a package, in this example Apache web server, use the following command:

apt-get install apache2

To remove it, type:

apt-get remove apache2

Services start-up

To set the service for start-up with the system, use the following command, assuming appropriate start-up script is installed:

update-rc.d <service> defaults

To remove the service from automatic startup, use the following command:

update-rc.d -f <service> remove
Replace <service> with the name of the service, for example:
update-rc.d apache2 defaults

Debian

You can find out which version of Debian you are running by issuing more /etc/debian_version command.


Learn how to install/remove Fedora/CentOS packages

Contact About Us Support Network Servers Java Hosting Oxxus.net Order Now! Dedicated Servers VPS Hosting Tomcat Hosting Java Hosting Money Back Guarantee Privacy Policy Oxxus.net Terms of 
Service Contact About Us Servers Networks Support Domain Names SSL Certificates Java Wiki Tutorials E-learning 
Platforms