The typical question after we install a new package on our system is that what are the actual files ware installed and what is their location. This may be even less obvious if the final executable name intended to start your program has slightly different name than the package its self. In the following example we are going to install a dummy package hello using apt-get command:
# apt-get install hello
(Reading database ... 7528 files and directories currently installed.)
Preparing to unpack .../hello_2.9-2+deb8u1_amd64.deb ...
Unpacking hello (2.9-2+deb8u1) ...
Setting up hello (2.9-2+deb8u1) ...
This article will describe an installation of the ownCloud file sync and share server on Debian 8 Linux Jessie. This article does not assume any pre-installed packages. Using the commands below you can install ownCloud on the fresh installation of Debian 8 Linux Jessie. Furthermore, we will be using external sources to install the latest version of ownCloud suite.
Let's begin by inclusion of the ownCloud repository:
Now install the owncloud package which will also fetch all required prerequisites such as mysql-server or apache2 webserver:
# apt-get install owncloud
In the next step we are going to configure database. Let's enable database to start after reboot and start the database:
# systemctl enable mysql
# service mysql start
Once the MySQL( mariaDB ) is up and running, we need to create a new database called owncloud. All mysql commands below require administrator user name and password. Replace root user if your administration to access to mariaDB database is different:
# mysqladmin -u root -p create owncloud
Beautiful Soup is a Python package for parsing HTML and XML documents and it resides within a Debian package named python-bs4. However, python-bs4 package is a default package on Debian Linux system for Python 2 version. Therefore, if your intention is to use Python3 as a default environment you will need to also install Python3 and its corresponding version of BS4 python3-bs4. Let's start by python3 installation:
: When using apt-get or some other GUI package management application to install a new package on Ubuntu or Debian Linux the following error message appears:
W:Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140416)/dists/trusty/main/binary-amd64/Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
apt-cacher-ng is an alternative to a more robust apt proxy servers available such as squid-deb-proxy. If you are running a small home or office network look no further. It may lack some of the more advanced features but it can be configured in no time, that is, you are ready to go within minutes after initial installation.
Let's get started by configuring apt-cacher-ng server:
Author:Tobin Harding Task is to configure x86 bare metal machine as a docker host using Debian 8. You will need a network connection to the host to follow this guide. Also a connected keyboard and monitor.
Host machine. I will be using an optiplex 760 but any machine will do.
Internet connection. I will be using the net install Debian 8 image.
The idea about starting your services under Supervisor's supervision is to be able to run multiple services under a single daemon. Depending on the Supervisor's configuration it will be able to start,stop or restart any given service as a child process. In this config we show how to runapache2 as supervised service ( useful for docker images etc. ) on Ubuntu/Debian Linux. First, install supervisor:
# apt-get install supervisor
Include apache2's supervisor configuration into /etc/supervisor/conf.d/. Supervisor will pick any configuration files from this directory where the only requirement is *.conf file extension. For example insert a following lines into a new file /etc/supervisor/conf.d/apache2.conf:
This article describes an upgrade procedure from Debian Wheezy to Debian Jessie. Debian Linux with a code name "Jessie" is the latest stable Debian release which succeeds previous stable version "Wheezy".
It is important to point out that nothing is bulletproof and proper failover procedure should be discussed before the upgrade takes place. The rule of thumb is, the less software is installed on your system the higher chance for a successful upgrade. Before you move on with the upgrade consider the following recommendations.