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…

 

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 desktop, Network Manager is the default network configuration tool, whereas Ubuntu server by default uses /etc/network/interfaces to configure network interfaces. Of course, even on desktop, you can disable Network Manager, and use /etc/network/interfaces instead to configure your networking. For those of you who use /etc/network/interfaces to configure network interfaces, if you […]
Continue reading…

 

How to reset the root password in Debian or Ubuntu

If you forgot the root password for your Debian system, do not panic. There is an easy way to reset the password. Linux provides a special mode called “recovery mode” or “single user mode,” whereby a Linux host boots into a single user environment where you get to access shared resources such as file systems […]
Continue reading…

 

How to automatically start a program on boot in Debian

When you want to configure your Debian system so that it will start a certain program automatically on boot, you can leverage Debian’s init system which controls various startup services at different runlevels. In Debian, a directory called /etc/init.d contains a list of scripts that are executed by init process during startup and shutdown. Thus, […]
Continue reading…

 

How to install LaTex on Ubuntu or Debian

LaTex is a document markup language for the Tex typesetting program. Due to its high quality typesetting capability, LaTex/TeX system is popularly used in academia and research communities to prepare professional looking documentations and research papers. If you would like to use LaTeX on Ubuntu or Debian, you can install Tex Live, which is the […]
Continue reading…