Questions tagged [server]

Ubuntu Server is a flavor of Ubuntu that comes with with no desktop environment by default, with command-line SSH login as the default way of remote access. This tag should be used for questions related to Ubuntu Server (as opposed to Ubuntu Desktop variants), as well as any questions related to installing services and programs on Ubuntu Server.

Filter by
Sorted by
Tagged with
1 vote
1 answer
3k views

Vlans in Ubuntu 12.04.3 bonding are down after boot

My issue is the following: I've got two 10 GIG interfaces that i need to use in bonding - LACP - mode 4. Here is my config: mypc# cat /etc/network/interfaces auto lo iface lo inet loopback auto ...
0 votes
2 answers
1k views

SSH with keys not working

I had SSH working with keys, but for some reason it stopped and I can't figure out why. I've tried reconfiguring by copying over my public key, I've tried making sure its loaded in the client, and I'...
0 votes
1 answer
297 views

How to connect Ubuntu server to laptop network

I have a headless raspberry pi running Ubuntu Server 18.04.4 LTS. I control it with my laptop through an Ethernet cable. I’d like to remove the Ethernet cable. There is an interface ‘wlan0’ that I ...
2 votes
1 answer
4k views

Reinstalling Ubuntu via SSH, keeping home folder/partition

I have a dedicated server that I cannot access anymore, for some reason, after a reboot. It refuses SSH connections. The machine had otherwise been running for a month without issues, and multiple ...
1 vote
0 answers
265 views

Multiple NIC Configuration Stopped Working ( Multiple NIC on Same Subnet) Routing Issues

Server : Ubuntu Server 18.04.4 Router : pfSense 2.4.4 Switch : tp-link TL-SG1016DE The Short : How do I configure multiple NIC on the same subnet/VLAN? Would like traffic that goes in one NIC to ...
0 votes
1 answer
2k views

Ubuntu DHCP server is not giving out IP addresses

I am trying to configure a DHCP server on a Ubuntu 18.04 virtual machine. I am able to configure it with the following configuration: File: /etc/dhcp/dhcpd.conf Settings: default-lease-time 600; ...
0 votes
0 answers
437 views

Fix broken server, think due to file permissions, error log info in post

so i changed file permissions so i could edit config and ini files from the ubuntu gui file explorer (couldn't save them before) I'm using ubuntu 18.04 with server additions. apache2 php7.2 and so no....
1 vote
1 answer
149 views

Ubuntu Server 18.04 Shutdown

Currently am running ubuntu server 18.04. How can I modify the power button behaviour? I want my system to get turned off when I hit the power button. Edit: it's a headless unit so no GUI , ...
1 vote
1 answer
3k views

Cannot ping or be pinged by any other devices on network

I have just completed a fresh install of Ubuntu Server on an old PC. The PC is being connected to my local network via Wi-Fi. The Wi-Fi card is a TP-Link TL-WN751ND. The server connects to the ...
0 votes
0 answers
1k views

vlc android streaming by ubuntu

I have tried to play video from my PC to android app but the android app can not find the PC vlc. When i run the vlc on my PC i have this error: vlc VLC media player 3.0.8 Vetinari (revision 3.0.8-...
0 votes
1 answer
3k views

AWS EC2 disk full, cannot release space

I am using an EC2 instance to run a node app. I logged into the server after a while only to realise that the server has run out of disk space. After debugging, I realised that logs are taking up ...
0 votes
2 answers
1k views

Running Sublime Text Editor on Server

I have a question about running GUI apps on the ubuntu server, e.g. sublime. Is it possible? since there is no Desktop installed on the server. what I mean is that can I install sublime text from ...
1 vote
0 answers
209 views

Ubuntu 18.04 live cd/install gui not showing

I have an asus k53sv laptop with an i7 2670qm and a gt540m gpu and when i try to install ubuntu desktop 18.04 the GUI dose not appear. I press enter to go into live usb and after the splash screen ...
1 vote
2 answers
5k views

Ubuntu Server 16.04 LTS Installation step failed

I got the message "Installation step failed an installation step failed. you can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: select and ...
0 votes
1 answer
290 views

Post 8088 is open and is pointed to url but still getting a "The requested resource is not available

I am working remotely on a ubuntu 18.04 server through PuTTY. I have a docker container running on port 8088 Port Listen I have the localhost:8088 pointed to xyz.abc.de. /etc/apache2/sites-enabled ...
1 vote
1 answer
3k views

Nginx 403 Forbidden error on a simple conf file

I've got a new Ubuntu 18.04 droplet on DO, by following this guide. Just installed Nginx and Ufw (which is disabled for now) on it. I've this conf file inside the /etc/nginx/conf.d folder. server { ...
0 votes
1 answer
312 views

Nginx gives 404 error on specific pages only

My website hosted on ubuntu 16.04 and nginx/1.10.3 My problem is, that specific pages return 404, I am pretty sure the issue lies with nginx settings where I screwed up somehow. Here is my website ...
0 votes
0 answers
91 views

Ubuntu Server 18.04 won't boot after migrating to smaller hard drive

I have a 1TB HDD with Ubuntu server 18.04 on it that I'm using as a games server: Terraria, Starbound, and UT2004. I’m repurposing the drive and am going to eventually try to migrate it to a VM, but ...
1 vote
2 answers
841 views

How to get out of a Netplan rabbit hole?

0. Introduction I've just installed Ubuntu 18.04.4 LTS (server) on an old-ish Dell Poweredge 510 - formerly hosted Windows 2008R2. The installer "mentioned" an issue with the network adapters. This ...
1 vote
0 answers
252 views

When I set up a user account restricted to port forwarding, `command="/bin/echo message"` blocks `permitopen`

I'm trying to set up a user account that can only set up a tunnel for port forwarding on a specific port (9229). I've created the user with a minimal home folder (just a .ssh folder and .ssh/...
0 votes
0 answers
463 views

Some unnamed processes eat 100% CPU

My vps is running Ubuntu 16.04. Recently, I have found a lot of failed ssh connections in /var/log/auth.log. I have enabled fail2ban and disabled password authentication. Now, there are some unnamed ...
0 votes
1 answer
948 views

Netplan bonding 2 gateways (2 ISP)

My office is in an area where wired internet connection is poor and unstable so I'm trying to bonding 2 ISP. I have 2 modems connected to two different phisical interfaces on my Ubuntu 18 server: ...
6 votes
1 answer
6k views

Problems setting up samba and connect with windows, "You can't access this shared folder..."

I have tried multiple guides on the internet trying to solve this problem that I have. I have installed samba on my Ubuntu server 18.04.1. I added the shared folder with the following settings: #my ...
2 votes
1 answer
596 views

Server 19.10 on Raspberry Pi 4 defaults to root?

I've successfully installed Server 19.10, then got a desktop (Lubuntu) going on a single Raspberry Pi 4 (4gb). I went with the 32-bit version, having heard the 64-bit is not very stable. (Please ...
1 vote
0 answers
67 views

Setting up a direct wireless connection

Ubuntu 18.04.4 LS I have a headless raspberry pi that I connect to my laptop and edit through an Ethernet cable. My goal is to get rid of the Ethernet cable. With no access to the internet, is it ...
0 votes
1 answer
451 views

Can connect to any website except youtube.com - Server not found

Good evening, I've recently installed Ubuntu 16.04. I setup a wireless connection and it works flawlessly on any website except youtube.com. Error message I've pinged it and it seems like there ...
0 votes
1 answer
171 views

How do I monitor who is loading files on my server ? (Apache PHP)

I am using Ubuntu to run a web server with Apache, PHP and MySQL. How can I monitor who is loading files on my server and which files are opened in PHP? I would really appreciate your answer ...
0 votes
0 answers
193 views

Network interface configuration

I understand (kind of) the way this file works in etc/network/interfaces. My question is, is this the right way to think? I want to set up a static IP address, so that whenever I start up my Ubuntu ...
2 votes
1 answer
3k views

Sync between local folder and server

Is there anyway to automatically sync between files from local machine to server? ex) There's a folder called wug both in server and local machine. If I add file to folder wug in local machine, when ...
42 votes
7 answers
285k views

How do I show active dhcp leases

Not experiened with Ubuntu. Set up a dhcp server about a year ago but don't remember the command to see the active leases.
0 votes
0 answers
190 views

Ubuntu SSH connection to server | Open file with texteditor

I have an SSH connection to my server. I need to edit /etc/turnserver.conf. I can access the file with vi /etc/turnserver.conf. But honestly thats the worst **** I have ever experienced in my career ...
0 votes
0 answers
6k views

Issues setting static IP using netplan Ubuntu Server 18.04 LTS

Having some major issues with networking on Ubuntu 18.04 LTS. Fresh install. I set a static IP during install which worked for a couple days and remained set after multiple reboots. Now the interface ...
2 votes
0 answers
41 views

Live Boot via. Ubuntu Server?

I made the mistake of overwriting my entire hdd with ubuntu 19.10 server on a laptop with no ethernet port :| and it has no wireless drivers pre-installed. I was wondering if there was a way that i ...
0 votes
1 answer
2k views

Adding an ip address on startup

I have a raspberry pi 4 with Ubuntu Server running. I got it to start up. I am running an Ethernet cable directly from my laptop to the raspberry pi. On my laptop, I manually set the Ethernet IP ...
2 votes
0 answers
1k views

Configure a VNC server on Ubuntu 19.10 desktop

I am trying to set up my Ubuntu Desktop to allow me to access it from my Windows 10 laptop. I installed the latest supported version of Ubuntu and it runs very nicely from the desktop. I simply ...
1 vote
1 answer
10k views

How to run a script when opening OpenBox?

On my Ubuntu Server computer, after I log in (in tty1), I can run startx which opens Openbox. I want to run a specific command when opening Openbox. How can I do that? I did it in the past and I ...
0 votes
1 answer
339 views

Is it possible to set the DNS and Gateway but still use dhcp to set ip address in Ubuntu 18.04 LTS server?

I use a ubuntu 18.04 LTS server, and I find the content of the yaml file in /etc/netplan is: network: version: 2 renderer: networkd ethernets: eth0: dhcp4: yes dhcp6: no I want ...
9 votes
1 answer
4k views

Sysctl IPv6 disable autoconfig for all interfaces not working

I am trying to turn off IPv6 autoconfig for my all interfaces (I have 4). I want to use net.ipv6.conf.all.autoconf = 0 In the my sysctl config (under /etc/sysct.d) But the settings not applied for ...
1 vote
0 answers
60 views

Emacs not displaying properly after Ubuntu update

I just spun up a droplet (DigitalOcean) running Ubuntu 18.04. Emacs works fine. After running apt upgrade, emacs is behaving strangely. My cursor is always off by one line and some elements don't ...
0 votes
0 answers
33 views

Ubuntu-desktop installed on Ubuntu Server. login screen goes nowhere

Followed these instructions How do you run Ubuntu Server with a GUI? on a new install of Ubuntu Server. Partial success. I get the purple Ubuntu login screen, my user account is selected, and I can ...
0 votes
0 answers
282 views

Intel Compute Stick Ubuntu Server 19.10 with Wifi

Hey I recently bought a Intel compute stick STK1A8LFC as a minecraft bedrock server. I don't have any connection currently. I've manually installed net-tools via a usb and dpkg. Whenever i try to ...
0 votes
1 answer
668 views

Grep from nginx server files, but exclude www.domain.tld

I have a command in a bash script like this, to get me an array of all the domains on my webserver. domains=($(grep -rnw '/etc/nginx/sites-available/' -e 'server_name' -l | xargs grep -e 'server_name'...
0 votes
1 answer
3k views

Ubuntu Server 18.04.2 LTS Raspberry Pi3b+ can't boot/install

I've a Rasberry Pi 3b+ and want to run 'Ubuntu Server 18.04.2 LTS' on it. I downloaded the 'ubuntu-18.04.2-live-server-amd64.iso' and used Etcher to put that onto my microSD card. I unmounted it then ...
1 vote
1 answer
538 views

Cannot acces linux (server) shared folder via windows

So i saw multiple of similiar questions but none of them worked. I am using ubuntu 19.10 (GNU/Linux 5.3.0-42-generic x86_64) (server version) I want to make a mc server that is hosted on a linux ...
4 votes
2 answers
416 views

Ubuntu 19.04 server doesn't boot, but 19.04 desktop does

I'm trying to install Ubuntu 19.04 on my ThinkPad T420. I would like to install the server edition, so I can configure a custom GUI. I don't want GNOME, and I don't want the trouble of manually ...
0 votes
1 answer
2k views

How to transfer files from remote server to my local desktop using jump host (? gateway server?)

I may be using wrong terminology because I am new to this, so let me clarify in layman's terms. So, I have to access the files on my work desktop, from my laptop at home. I have been provided with a ...
0 votes
1 answer
53 views

HowTo longtime monitor the amount of used and open ports and their state (like Fin_wait2, time_wait, eg.)?

I'd like to refind a tool I have used before to pinpoint problems with the port usage of a system. It was a small tool (small like using almost no resources) with it's own webpage-server, that showed ...
0 votes
0 answers
248 views

Wd Mycloud drive, files not showing on drive itself

I have installed ubuntu 19.10 and I have mounted my drive in /etc/fstab like this: //192.168.1.194/Katon /mnt/mycloud cifs noperm,username=username,password=password 0 0 However when I copy files to ...
0 votes
1 answer
191 views

SSH Ubuntu 19.10 weird ssh behaviour rejecting key after first login

I have a respberry pi 4 with Ubuntu 19.10 x64 installed. I have ssh setup the same way I have done with every other Ubuntu server I have (No password login). My keys are appended correctly to ...
0 votes
1 answer
809 views

PHP curl module not recognised

I am installing https://github.com/pH7Software/pH7-Social-Dating-CMS On a virgin Ubuntu 18.04 server. I am going by this guide Nginx, php 7.3 (Maria DB). It all went well, the installation script ...

1
112 113
114
115 116
332