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

744 questions
84
votes
17 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,333
  • 3
  • 14
  • 15
81
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,082
  • 6
  • 31
  • 48
58
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
  • 6,403
  • 9
  • 36
  • 64
48
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
  • 854
  • 1
  • 7
  • 23
45
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
  • 97,987
  • 90
  • 271
  • 355
43
votes
2 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…
W.Doch
  • 3,983
  • 9
  • 58
  • 117
37
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
  • 25,688
  • 19
  • 82
  • 110
37
votes
4 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,287
  • 2
  • 8
  • 15
36
votes
4 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
  • 11,609
  • 21
  • 101
  • 153
29
votes
9 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
  • 311
  • 1
  • 3
  • 4
26
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
  • 359
  • 1
  • 4
  • 14
22
votes
3 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,133
  • 3
  • 17
  • 34
19
votes
5 answers

Unable to connect to mongo on remote server

I have installed mongo on machine1(Ubuntu 14.04.3 LTS server) in my local network. I have also opened the port 27017 as mentioned in this guide using following commands: sudo iptables -A INPUT -p tcp --destination-port 27017 -m state --state…
Abhishek Gupta
  • 6,148
  • 10
  • 42
  • 75
17
votes
7 answers

MariaDB cannot start after update: [Warning] Can't create test file /home/mysql/beta.lower-test

I've just updated MariaDB using apt-get dist-upgrade. Now it won't start using service mysql start anymore. I can however, run it as root or do: sudo -u mysql mysqld_safe then MariaDB starts up fine. The folder /home/mysql is owned by the mysql user…
Bento
  • 583
  • 2
  • 5
  • 19
16
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
  • 307
  • 1
  • 3
  • 7
1
2 3
49 50