How to compile Apache 2.4 with thread support in Ubuntu 18.04?

Trying to install Apache 2.4 on Ubuntu 18.04 for a WSGI application, I want to do this correctly.

Then I read this in the official Apache 2.4 documents:

"The version of Apache and its runtime libraries must have been compiled with thread support."

Now, a relatively easy way to install Apache on Ubuntu is simply by doing this:

sudo apt install apache2

My question is, will this make the installed version of Apache and its runtime libraries compiled with thread support?

If not, can anyone tell me how to do this?

I searched the official Apache documents to compile and install Apache, and it says nothing about threads.

https://httpd.apache.org/docs/current/install.html

The following tutorial can help you understand this a bit:
https://www.liquidweb.com/kb/apache-mpms-explained/

I ran the following in Ubuntu:
$ apache2ctl -V | grep -i 'version|mpm'

And the result can be useful to answer the question:

Server version: Apache/2.4.29 (Ubuntu)
Server MPM:     event

So, it seems that my Apache server is running Event MPM, and the previous tutorial says this about Event MPM:

Each process under Event can also contain multiple threads

So, I wonder if this means that my version of Apache and its runtime libraries have been compiled with thread support.

update: Chrome is mishandling Yahoo email after upgrading to ubuntu 18.04.3

Using a recently updated Dell OptiPlex-790 with Ubuntu 18.04.3, GNOME 3.28.2. When in Yahoo Mail, trying to delete an email by clicking on the trash, the deletion fails. It seems to simply reload Yahoo mail. The same goes for checking the email box and clicking Delete. Yahoo mail works well with Firefox.

gnome – Terminal icon larger than it should be (out of the edge) – Ubuntu 18

Battery exchange network

The Stack Exchange network consists of 175 question and answer communities, including Stack Overflow, the largest and most reliable online community for developers to learn, share their knowledge and develop their careers.

Visit Stack Exchange

Single boot on Ubuntu I want my PC to come back

On my PC I have the original Windows 10 operating system and I make a single boot to change it to ubuntu. And I don't make any changes to this, I know I just returned to my original Windows 10 operating system. Is it possible without losing any data?

The WiFi driver was not found on the HP -15-bs180tx laptop (Ubuntu 19.04)

I am new to Ubuntu / Linux, this is my first installation. I have installed Ubuntu 19.04 on a new HP notebook. I installed it from USB and Windows 10 dual boot is there. WiFi works on the Windows 10 operating system. But the Wi-Fi driver is missing from the Ubuntu operating system. Realtek RT8723DE 802.11b / g / n / PCIe adapter on my laptop.

apt: does the Ubuntu Server 16.04 update fail?

Ubuntu Server 16.04.6 LTS recently installed to run a homeless headless server. In addition to the base installation, I also installed the Samba, OpenSSH and Plex Media Server file sharing. I did not opt ​​for automatic security updates on the installation. All functions perform excellently with one exception: updates.

Immediately after the clean / base installation, I ran apt-get update and apt-get upgrade from root and they both ran correctly. Now, when I run apt-get update and apt-get upgrade, my system polls the repositories and retrieves updates (see the output below). But on the next boot / restart it seems that the updates have not entered into force since the "available updates" report line shows the same data as before.

I am new to running my own server, so I suspect that this is something simple that is causing my lack of experience, but I cannot find the solution. Any ideas?

Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-159-generic x86_64)

8 packages can be updated.
1 update is a security update.

Last login: Fri Aug 16 15:05:28 2019 of 127.0.0.1
xx @ xxserver: ~ $ su
Password:
root @ xxserver: / home / xx # apt-get update
Get: 1 http://security.ubuntu.com/ubuntu xenial-security InRelease (109 kB)
… (intermediate entries removed)
Get: 11 http://us.archive.ubuntu.com/ubuntu xenial-backports / universe Translation-en (4,328 B)
Obtained 3,658 kB in 7 s (491 kB / s)
Reading package lists … Done

root @ xxserver: / home / xx # apt-get upgrade

Reading package lists … Done
Building dependency tree
Reading status information … Done
Calculating update … Done
The following packages have been retained:
libdrm2 open-vm-tools ubuntu-minimal
0 updated, 0 newly installed, 0 to remove and 3 not updated.
root @ xxserver: / home / xx #

—————————restart———————- —————————-

Welcome to Ubuntu 16.04.6 LTS (GNU / Linux 4.4.0-159-generic x86_64)

8 packages can be updated.
1 update is a security update.

New version & # 39; 18 .04.2 LTS & # 39; available.
Run & # 39; do-release-upgrade & # 39; to update it.

Last login: Fri Aug 16 16:06:56 2019 from 127.0.0.1
xx @ xxserver: ~ $

ubuntu: choregraphe project data recovery after a full restart lock

I am working with Choregraphe to build some robot functions in a project. Recently I did something to make my project freeze not only my Choregraphe, but also my entire system froze until I disconnected it. Once I restarted, I tried to start the project to correct the error in the project. To my surprise, Choregraphe will lock on the desktop in any attempt to open the project. Despite this, no other projects were affected. I was wondering if anyone had any advice or suggestion to recover the project, since they have years of work from former colleagues that would be difficult to replace.

server: Ubuntu 16.04 VPS security: check if the operating system installation is not altered (clean)

Before continuing, I must inform you that I asked this question on August 1, 2019 on unix.stackexchange but I did not get any suitable answer. So I have brought the whole question here, but here is the original place where I asked the question for your information and I encourage you to quickly review it. Nor did I find any related questions so far. Thanks beforehand for your attention.

I had requested a VPS with Ubuntu 16.04 / 64-bit LTS server edition with some open ports, which are essential for my application.

I recently received the VPS, so I accessed the VPS using ssh and changed the ssh password.

Now my question is:

How can I make sure that the Ubuntu 16.04 installation that was delivered to meIs it a clean installation and does not have any additional functionality (malicious or not) and / or additional files with respect to the original operating system that Ubuntu provides publicly?

Now I have to say that I trust my VPS provider, but I have this question in general.

Unfortunately I could not find any similar questions. so I would be happy if you mean one.

The following are more details that may be useful.

Thank you.


cat /etc/os-release departure:

NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

hostnamectl departure:

Static hostname: ubuntu
Icon name: computer-vm
Chassis: vm
Machine ID: *** (not shown deliberately)
Boot ID: *** (not shown deliberately)
Virtualization: vmware
Operating System: Ubuntu 16.04.6 LTS
Kernel: Linux 4.4.0-157-generic
Architecture: x86-64

uname -r departure:

4.4.0-157-generic

package management – ubuntu sudo apt – broken repair installation fails "Unable to make a symbolic backup link"

Trying to fix a broken installation:

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  systemd
Suggested packages:
  systemd-container
The following packages will be upgraded:
  systemd
1 upgraded, 0 newly installed, 0 to remove and 128 not upgraded.
5 not fully installed or removed.
Need to get 0 B/2903 kB of archives.
After this operation, 4096 B of additional disk space will be used.
Do you want to continue? (Y/n) y
(Reading database ... 34600 files and directories currently installed.)
Preparing to unpack .../systemd_237-3ubuntu10.25_amd64.deb ...
Unpacking systemd (237-3ubuntu10.25) over (237-3ubuntu10.17) ...
dpkg: error processing archive /var/cache/apt/archives/systemd_237-3ubuntu10.25_amd64.deb (--unpack):
 unable to make backup symlink for './usr/share/man/man8/systemd-sysusers.service.8.gz': No such file or directory
No apport report written because the error message indicates an issue on the local system
                                                                                         Errors were encountered while processing:
 /var/cache/apt/archives/systemd_237-3ubuntu10.25_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ ls ./usr/share/man/man8/systemd-sysusers.service.8.gz
    ./usr/share/man/man8/systemd-sysusers.service.8.gz

The file that complains about the error message is there. What can I do to solve this problem?

ubuntu – Dual Nic Failover and Vrrp Gateway

I really hope someone can help me here. I have the following configuration:

  • 2 routers that expose an Ip 192.168.1.1 routed gateway through vrrp
  • 1 server connected to each through a single cable

Schematically it looks like this:

          internet
      /             
     /               
 (router1)        (router2)
                    /
       192.168.1.1 /
           vrrp   /
                 /
                /
        (eth0)(eth1)
          (server) 

I want to archive a Failover Scenario where the Server can still be accessed if, for example, router1 is disconnected.

Let's say I have Ubuntu 16.04 with classic ifupdown on the server. I thought about joining eth0 and eth1 and setting the bridge interface to 192.168.1.1 but every test concept I tried to build locally doesn't seem to work.

For example, a single machine, a single gateway and drop eth0 on a bridge connected to the single gateway always results in "unreachable network".

Is this possible or is there a better way to file a failover?

Sincerely