Questions tagged [ubuntu-18.04]

Ubuntu 18.04, named "Bionic Beaver" is a Long Term Support release of Ubuntu Linux (released on April 26th, 2018). Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

Ubuntu 18.04 - named "Bionic Beaver" - is a Long Term Support (LTS) release of Ubuntu Linux. Officially released on April 26th, 2018, it will be supported for 5 years for Ubuntu Desktop, Ubuntu Server, and Ubuntu Core. Only use this tag if your question is version-specific. Note that the Ask Ubuntu site is specifically dedicated to Ubuntu questions.

746 questions
0
votes
1 answer

Squid Proxy Setup, Paired With Google Cloud - Configure Outgoing Traffic

Summary; I am attempting to set up a transparent proxy for use with a Minecraft server I'm setting up for friends at home. I am needing help figuring out the more technical aspects of setting up Squid to forward to my home network, with a specified…
0
votes
0 answers

php and ssl on ubuntu 18.04

When running $fp = fsockopen ('ssl://www.sandbox.paypal.com', 443, $errno, $errstr, 30); I get a 500 internal server error and it fails completely. When running $fp = fsockopen ('https://www.sandbox.paypal.com', 443, $errno, $errstr, 30); I get an…
Amos
  • 257
  • 3
  • 4
  • 10
0
votes
0 answers

Running Ubuntu Server with GUI Desktop Environment | Dell PowerEdge R710 II

Let me start off by saying I’m completely new to using / running servers and I’m currently 2nd year CS & Business student in DCU, Ireland. I recently developed a program for automating sales invoicing at my work by using Python and AutoIT scripts,…
0
votes
1 answer

502 Bad Gateway nginx/1.14.0 (Ubuntu)

Im trying to deploy django app using nginx & gunicorn but its showing error sudo nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful sudo systemctl status…
jagtar
  • 1
  • 1
  • 2
0
votes
1 answer

[service I created].service: Failed to execute command: Permission denied

I've been trying to set up a website that runs from my computer that runs Ubuntu. I've managed to troubleshoot most of my problems thus far and I think I'm nearing the end of getting this thing online. The website I'm trying to get installed and…
H412H
  • 5
  • 2
  • 4
0
votes
1 answer

Nginx will not start

I'm currently trying to get nginx set up to help me run a website from home. I've followed the following instructions to set up nginx: sudo apt update sudo apt install nginx sudo ufw app list sudo ufw allow 'Nginx HTTP' sudo ufw status Once I try…
H412H
  • 5
  • 2
  • 4
0
votes
0 answers

DRBD node 2 doesn't become primary when node 1 restarts heartbeat but becomes Secondary/Secondary

I have an issue with heartbeat & drbd deployment for MySQL with 2 nodes on ubuntu 18.4. It used to work fine, but now it seems like its working, node1 has floating IP, MySQL runs on node1,drbd syncs, but when I restart heartbeat on node1, node2…
0
votes
0 answers

Failing to Start MariaDB on Ubuntu 18.04 - missing SSH key or bad login information?

I have just installed MariaDB on a new Ubuntu 18.04 box. When I attempt to start the server, I get this: sudo /etc/init.d/mysql start [....] Starting mysql (via systemctl): mysql.service Job for mariadb.service failed because the control process…
0
votes
1 answer

How to configure PAM to authenticate SSH logins with (password & OTP) or (public key & OTP)

My goal is to develop an ansible playbook to deploy multifactor ssh logins of the type (public key and OTP) or (password and OTP) on Ubuntu Server 18.04 hosts. I followed the guide here and it largely works. The only issue I had was needing to add…
AMiller
  • 101
  • 1
  • 1
  • 1
0
votes
2 answers

Use ufw to block users from accessing my server via a specific vpn

The last couple of days I've been having some weird small DDoS attacks on different VPS's I have online. The first one I detected using netstat and I noticed a bunch of IPs that were from a different region (resulting in Singapore) so I used ufw…
0
votes
2 answers

Is there a way to set up postgres to authenticate users based on the user they are logged in as?

I want to run queries on my postgres databases from scripts and whatnot, without having to do what I do currently: sudo su - postgres psql -U USER ...etc This is cumbersome because I have to type 2 different passwords. Is there a way to configure…
0
votes
0 answers

Accidentally deleted folder in ubuntu 18.04

One of my client project accidentally deleted and this project was on my aws ec2 instance.I used command "sudo rm -rf /home/ubuntu/project" now that folder is removed and i need to recover it asap. I used testdisk and by advanced method it is…
0
votes
0 answers

Using postfix without being able to set custom hostname

As the title suggests I am using a VPS that does not allow me to set a custom hostname. On every reboot the hostname is reset to their specification. Can I still run a postfix mail server on this machine?
0
votes
1 answer

nginx fails while the website somehow still works

Description I have built my Django3, gunicorn, nginx, Ubuntu 18.04, Digital Ocean project based on this guide. I only had 1 problem that it does not shows the CSS and all other static files like images. Before during the whole guide nginx have…
sogu
  • 213
  • 2
  • 4
  • 12
0
votes
1 answer

ubuntu 18.04: clamav running, tomcat dying

Ubuntu 18.04. 2Gb RAM + 512mb swap. When running clamav, it consumes 800+mb of memory because it loads all the signatures into the memory. Because of that, I set it to run every day at 3am instead of ongoing. So far, tomcat and clamav got along very…
Amos
  • 257
  • 3
  • 4
  • 10