How to use systemd for system administration on Debian

Soon enough, hardly any Linux user will be able to escape the ever growing grasp that systemd imposes on Linux, unless they manually opt out. systemd has created more technical, emotional, and social issues than any other piece of software as of late. This predominantly came to show in the heated discussions also dubbed as […]
Continue reading…

 

How to set up a mail server in Ubuntu or Debian

This tutorial will discuss how to set up a working mail server in Ubuntu or Debian. As we know, the two major protocols used in a mail server are SMTP and POP/IMAP. In this tutorial, postfix will be used for SMTP, while dovecot will be used for POP/IMAP. Both are open source, stable and highly […]
Continue reading…

 

How to speed up slow apt-get install on Debian or Ubuntu

If you feel that package installation by apt-get or aptitude is often too slow on your Debian or Ubuntu system, there are several ways to improve the situation. Have you considered switching default mirror sites being used? Have you checked the upstream bandwidth of your Internet connection to see if that is the bottleneck? Nothing […]
Continue reading…

 

Interesting facts about Debian Linux

August, 15th 2013 was Debian’s 20th anniversary. The Debian Project is a massive community-driven open-source project devoted to a single goal: build a free Linux operating system. Debian is well-known for maintaining strictly guarded policies and principles to remain the most stable and secure Linux distribution. While many folks regularly use Debian operating system as […]
Continue reading…

 

How to check package dependencies on Ubuntu or Debian

A typical .deb package relies on other packages to install and operate properly. With package managers such as apt-get and aptitude, you can resolve package dependencies, and have all prerequisites installed automatically. Suppose for whatever reason, you want to manually resolve package dependencies of a particular package, in which case you need to identify all […]
Continue reading…

 

How to create .deb Debian package for Java web application

Suppose you have built a Java web application as a Java servlet. Now you want to create .deb Debian package for the Java web application, such that when you install the .deb package file, it will automatically install any prerequisite packages (e.g., Java and Tomcat web server), and deploy the Java servlet on Tomcat. I […]
Continue reading…

 

How to install .deb file with dependencies

In a Debian-base system, program files, libraries and source codes are packaged and distributed as .deb files. Installation of .deb files can be done with a command-line tool called dpkg. However, typical .deb package has dependencies (or prerequisite packages) which need to be pre-installed for the .deb package to be able to be installed, and […]
Continue reading…

 

How to reload /etc/network/interfaces in Ubuntu or Debian

In Ubuntu or Debian, information on network interface configuration is stored in /etc/network/interfaces. If you modify /etc/network/interfaces to reconfigure any interface, you need to reload it so that the new configuration can take effect. Here is how you can reload /etc/network/interfaces. sudo service networking restart One caveat: If NetworkManager is installed and enabled on your […]
Continue reading…