Questions tagged [ubuntu-server]

Ubuntu Server is a flavour of the Ubuntu operating system. It is the same core product as the Desktop version, but with certain differences that make it more suitable as a server. Most notably, it's missing a GUI. is a free desktop and server operating system based on Debian GNU/Linux. Note that https://askubuntu.com is specifically dedicated to Ubuntu questions.

Philosophy

The goal of the Ubuntu project is to provide a free computer environment, centered on a Linux distribution and complemented by online services.

Releases

Ubuntu includes a small amount of non-free software such as drivers. Ubuntu offers a large amount of packages directly taken from Debian's unstable distribution, in the form of the universe repository.

There is a release of Ubuntu every six months. One in four is a long-term support (LTS) release.

Links

Common tasks

812 questions
107
votes
20 answers

Default password of mysql in ubuntu server 16.04

I have installed ubuntu 16.04 server. Mysql server was installed by default in it. When I am trying to access the mysql with mysql -u root -p, I am unable to log in to mysql because I dont have the password. Is there any default password? I have…
Debashisenator
  • 1,621
  • 4
  • 17
  • 16
92
votes
1 answer

Not able to use systemd on ubuntu docker container

Problem It seems systemd is not active or available in Ubuntu Docker containers. Setup I'm running Docker containers from the ubuntu:16.04 and ubuntu:16.10 images. Tests If I execute: systemctl status ssh in the 16,04 container the result is the…
Duncan Gravill
  • 4,552
  • 7
  • 34
  • 51
91
votes
7 answers

docker login fails on a server with no X11 installed

I am trying to deploy a docker configuration with images on a private docker registry. Now, every time I execute docker login registry.example.com, I get the following error message: error getting credentials - err: exit status 1, out: Cannot…
msrd0
  • 7,816
  • 9
  • 47
  • 82
57
votes
16 answers

NGINX: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)

I've just recently moved my websites from apache2 to Nginx as my new web server backend. got to love problems aha. HTML files in the web host director work prior to php files making there way main directory then I received 502 error from nginx Error…
Michel Barrette
  • 591
  • 1
  • 4
  • 4
52
votes
3 answers

How do I update MySQL 5.7 to the new MySQL 8.0?

How do I update to MySQL 8.0 from the default version (5.7)? It's important for me for it to make an update and not re-install MySQL so all my data won't be corrupt. There is not a lot of info regarding this issue since it was only released not…
Imnotapotato
  • 5,308
  • 13
  • 80
  • 147
52
votes
12 answers

Silent install Qt run installer on ubuntu server

I wanted to know if there is a way to do a silent install of the Qt run installer on Ubuntu Server? I mean by-pass the options of the installer and do a default install?
Antoine
  • 910
  • 1
  • 9
  • 26
49
votes
7 answers

How do I add a remote Git repository to an Ubuntu Server?

I have created a Git repository on my Desktop machine (Windows 7) with: git init git add git commit -m "added my files" Now I have installed a new Ubuntu Server 10.10 on a machine on my LAN and installed OpenSSH. My home directory is…
Jonas
  • 121,568
  • 97
  • 310
  • 388
47
votes
7 answers

Can't find Python executable "python"

When i install iconv with npm got the following error: iconv@2.1.0 install /root/Dropbox/nodeApps/nodeApp/node_modules/iconv node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the…
Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166
44
votes
5 answers

Ubuntu 18.04 Server - how to check DNS IP server setting being used

Working with Ubuntu 18.04 Server LTS. I am trying to find a way to check the DNS IP(s) that is actually being used when set via DHCP. The resolv.conf only will point to 127.0.0.53 now. /etc/systemd/network folder is empty. The NSLOOKUP output…
Nathan Smith
  • 1,573
  • 2
  • 10
  • 17
41
votes
10 answers

SVN permission denied - txn-current-lock

I have just set up svn on my ubuntu server. I have a my user I can login to. The problem is that whenever I try to make a change on the file structure I get a permission denied error. Can't open file '/var/www-svn/db/txn-current-lock': Permission…
Marwelln
  • 28,492
  • 21
  • 93
  • 117
36
votes
2 answers

conda fails to create environment from yml

I’m trying to run the code below to create a virtual Python environment from a YAML file. I’m running the code in the command line on Ubuntu server. The virtual environment is named py36. When I run the code below, I get the message below. The…
user3476463
  • 3,967
  • 22
  • 57
  • 117
36
votes
3 answers

How to deploy a docker container on a remote ubuntu server?

I have implemented an API inside a docker container and I want to deploy this container to a remote ubuntu server. How can I do that exactly? My API uses many resources and I have used MLDB framework to implement it. I want to deploy the container…
sniper71
  • 479
  • 1
  • 4
  • 16
31
votes
2 answers

error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near

I ran this command : CREATE DATABASE wordpress; And I got Query OK, 1 row affected (0.00 sec) I ran the second command : CREATE USER wordpressuser@localhost IDENTIFIED BY ‘password’; And I got: ERROR 1064 (42000): You have an error in your SQL…
user2950680
  • 457
  • 1
  • 5
  • 8
27
votes
4 answers

Reuse Github Actions self hosted runner on multiple repositories

I have a Self-Hosted Github Actions runner running on my server for 1 of my repositories. But now I want to use that same runner for an other repo. Is there a way that I can reuse that same Github Actions runner for an other repo without the need of…
Mike Brouwer
  • 443
  • 1
  • 5
  • 7
27
votes
4 answers

How to install bcmath in Ubuntu for PHP 7.1

I'm using an Ubuntu 16 server for testing with php7.1. One of my app uses bcadd function. I know that I need to install bcmath module for that but I'm unable to find php7.1-bcmath. When I tried to install apt install php-bcmath, it simply installed…
Vajira Lasantha
  • 2,435
  • 3
  • 23
  • 39
1
2 3
54 55