Running a self-contained ASP.NET Core application on Ubuntu


Question I've published an ASP.NET Core application as a self-contained application targeting Ubuntu. The publish seems to work fine. I've copied the files to a pretty vanilla Ubuntu machine. Now, how do I run my application? My understanding is that because it is a self-contained .NET Core application I do not need to download and install .NET Core anything. My application should contain everything it needs. All tutorials seem to say I should call dotnet run.…
Read more ⟶

Create conda environment: "Found conflicts!" when solving environment and "Finding shortest conflict path" running forever


Question I was provided with an environment.ubuntu.yml file to be able to create a conda environment. However, running conda create env --file environment.ubuntu.yml I get the following output: conda env create --file environment.ubuntu.yml Collecting package metadata (repodata.json): done Solving environment: - Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. Examining fontconfig: 5%|▉ | 10/202 [00:00<00:00, 5393.91it/ ] Comparing specs that have this dependency: 0%| | 0/12 [00:00<?…
Read more ⟶

How do I install Eclipse with C++ in Ubuntu 12.10 (Quantal Quetzal)?


Question I just installed Ubuntu 12.10, and I tried to install Eclipse and C++, but I failed miserably. I started with an installation from the Software Center, Eclipse worked, but only in Java. Then I started googling for installation guides and tutorials, but after hours of downloads and installations, the C++ in Eclipse still doesn't work. So now I have two questions: How do I clean up this mess? Actually, how do I know if there is a mess?…
Read more ⟶

Jenkins User on Apt-Get Install Installation


Question I just installed Jenkins on my Ubuntu server via the debian installation steps (using apt-get install). I want my build to pull from a private git repository on GitHub. With that, I need to use SSH access to get to my repository. Most of my search results have just said to login as the Jenkins user and generate an SSH key for my GitHub account, but installing through the debian package manager, I don't have a password for the Jenkins user.…
Read more ⟶

How to configure postgresql so it accepts login+password auth?


Question I have a fresh ubuntu 10.10 install with all updates and postgresql 8.4 In order for postgresql to accept login+password connections i have configured it via: sudo su postgres psql ALTER USER postgres WITH PASSWORD 'password'; CREATE DATABASE myapp; \q exit sudo vi /etc/postgresql/8.4/main/pg_hba.conf change "local all all indent" to "local all all trust" But, surprisingly, this is not working! The command psql -U postgres password Evaluates with error:…
Read more ⟶

How to enable php7 module in apache?


Question When I try to run a2enmod php7.0 - I got message "Considering conflict php5 for php7.0". After restarting apache - apache can't start. How to solve this? Maybe some already enabled modules links to php5? Params: Ubuntu Wily, Apache 2.4.18, PHP 7.0.4 (works only cli) Answer First, disable the php5 module: a2dismod php5 then, enable the php7 module: a2enmod php7.0 Next, reload/restart the Apache service: service apache2 restart Update 2018-09-04 wrt the comment, you need to specify exact installed php-7.…
Read more ⟶

How to install multiple versions of .NET Core side by side on ubuntu


Question We have an app, written in .NET Core rc2 running on an acceptance environment (linux server). Recently our client ran their own performance tests, which turned out to completely break the application. We couldn't reproduce it ourselves for several reasons: We develop on windows We have since migrated from rc2 to 1.0.0. On windows, we couldn't reproduce in either our new version (1.0.0) or rc2. So we tried to reproduce it on a linux machine.…
Read more ⟶