Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [server]

Questions related to Ubuntu Server, and server-related packages.

0
votes
0answers
8 views

Install mime types on server

I have problem with determine mime types of .png .bmp .gif .ico in web application. With .jpg .jpeg I don't have this problem. To solve this problem some recommend to install mime types on server. ...
0
votes
0answers
5 views

How to ensure RAID1 is set during format and installation of 18.04 server on HPE ProLiant DL20 Gen9 and how to switch between the RAID1 when needed?

I am given a HPE ProLiant DL20 Gen9 that I intend to install ubuntu 18.04 headless server edition on. I was told ( but I am not sure how to confirm ) that this server has 2 pieces of 1TB harddisk. I ...
0
votes
0answers
7 views

Is it possible to SAMBA share a specific folder on a different network without sharing the rest?

Sorry if the question header doesn't really make sense, kind of hard for me to explain in few words. Here is a hint of my network topology: WAN-->ISP router-->LAN1-->Ubuntu server acting as router, ...
0
votes
0answers
7 views

How to un-bind something from a port?

I keep trying to run a docker-compose up -d but it's failing because of this: ERROR: for php Cannot start service php: driver failed programming external connectivity on endpoint mystuff_php_1 (...
1
vote
0answers
12 views

No IP forwarding in Ubuntu 14.04

I not familar with Linux or Ubuntu that much. I recently installed an Ubuntu server 14.04.05 LTS on a HP Proliant server. My problem is that I can not get into the Internet with my Windows 10 Client. ...
0
votes
0answers
11 views

Make files writable with default permissions in Ubuntu 16.04

I have a web server (VPS) running through vultr.com that has Ubuntu 16.04 on it. I run WordPress on my /www root. I then have a store on example.com/store that it is not through WordPress. It is ...
1
vote
1answer
34 views

Editing crontab [duplicate]

I would like to automate some services using cron jobs. When I try to edit the crontab file at /etc/crontab, I am not able to save it as it says that it is read only. What can I do?
1
vote
1answer
28 views

Best way to securely share large files?

I have a bunch of video file I would like my friend to be able to download at his convenience. He can figure out how to use an ftp client, stuff like that, but he's not tech savvy as such, so I would ...
0
votes
0answers
15 views

Ubuntu does not upgrade from 4.15.0-23

I'm using Ubuntu Server LTS. HDD is fully encrypted and boot is from USB pen and I think that everything is working OK. Sometimes I'm asked to reboot system. On welcome screen I can see: Welcome to ...
0
votes
0answers
9 views

Proxy setup between a private and public

I have two servers: Private Server with IP: 172.16.0.2 Public Server with 172.16.0.3 (private IP) and x.x.x.x (public IP) What I want to achieve is: Incoming communications to Public IP (x.x.x.x) ...
0
votes
0answers
17 views

Getting error Gtk-WARNING **: cannot open display: when trying to SSH to my server

Bit of ubuntu noob but I'm trying to run a code off github on a server remotely using SSH, and the code stops at this Gtk-WARNING **: cannot open display: How to solve this error? I don't think I can ...
0
votes
0answers
37 views

Sharing a VirtualBox VM between computers (VM on server) [on hold]

My question revolves around a specific virtual machine I downloaded from a website called UCSC Genome Browser. Very briefly, to give context: Definition of UCSC: https://en.wikipedia.org/wiki/...
0
votes
0answers
20 views

Can a Windows drive be defined as destination for downloading a specific data from a remote server in Ubuntu Terminal?

I want to download data from a remote server using SSH key files. However, I've not dedicated enough space for the download which is a huge one. Since I am using Ubuntu alongside Windows 10 in dual-...
0
votes
0answers
18 views

Ubuntu 14.04 Extended Partition Issue

I am having an issue where I have extended the root partition of a server running Ubuntu 14.04 via GParted LiveCD from 259GB to 500GB but the changes are not shown once you log into the server. The ...
0
votes
0answers
20 views

How to redirect www to non-www https?

I have installed https on my domain. And all this cases are available of my website: http://example.com // will be redirected to https://example.com https://example.com http://www.example.com ...
1
vote
0answers
10 views

No response from remote desktop when connecting via ssh

I'm trying to connect to a Jetson TX2 running Ubuntu 16.04. I'm using ifconfig on my Jetson to figure out the ip adress on to which I want to connect to. then, using this adress, I do: ssh nvidia@...
0
votes
0answers
10 views

preview the data from a exported .mysql file without loading into MySQL

What I want to do is preview an exported SQL file without having to load it into the MySQL server. Many of my exported or backup files have the same names, but different dates and locations. In simple ...
0
votes
1answer
30 views

Is there a way that I can know the user names of a server?

My server has been hacked a few days ago and now I decide to ban root user remote login. Is there a way that an attacker can scan my own added user name? (As far as know the answer is NO?). If so, I ...
0
votes
0answers
16 views

How to enable NULL SSL Ciphers?

OpenSSL 1.0.2g 01 Mac 2016 Apache/2.4.18 (Ubuntu) Ubuntu 16.04 SSLCipherSuite ALL: !ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLProtocol all –SSLv2 I would like to know on how ...
0
votes
1answer
15 views

Pointing 2 subdomain on same ip but I want it both to work in different directory

I've 2 sub domains both are pointing on same ip and server and currently pointing to /var/www/html as root but I want one of them to point in subdirectory like /var/www/html/anothersub : So I created ...
0
votes
0answers
15 views

Custom error in Apache using mod Rewrite

Hello to everyone I wanna write a custom error using mod-Rewrite regex. My idea is to redirect not allowed users to access specific URL or folder. to error message 404 or 200, default error message is ...
1
vote
0answers
13 views

How can I set a static IP for juju machines?

I found a similar question from 2014, How to give a Juju charm a static ip address - wordpress, but the answer only says it's not possible, but will be in 15.04, which doesn't help much. Currently ...
0
votes
1answer
17 views

zshconfig command is not found

I'm unable to perform zshconfig. Ubuntu is not recognizing the command. The problem I'm having is I'm trying to set up a server on Ubuntu. My apache is up and running; I checked by typing in ...
0
votes
1answer
14 views

How can I configure Tomcat 9 without apt-get installation?

I have installed my Tomcat 9 from this source. Just downloaded the tar.gz file and extracted it. Then I went into the ../conf/server.xml file to change the port from 8080 to 80. And then I started ...
1
vote
0answers
32 views

How do undo chmod 664 on a folder

I am trying to setup a webserver on an ubuntu server. I followed this guide to setup a my python app and it works great until I tried to add sqlite3 database. When running it on a apache, it couldnt ...
0
votes
1answer
39 views

After 18.04.01 LTS server update samba returns unable to find suitable address message

So, at first Samba worked even after the update, Due to lack of GB on server side hard drive i changed the label of a drive. altered all i needed to relevant places and files. All worked, could acces ...
0
votes
0answers
14 views

Install Ubuntu 18.04 Server with Hardware RAID1 configuration on Intel Nuc Skull Canyon

I am trying to install Ubuntu Server 18.04 LTS server with hardware RAID1 on Skull Canyon (NUC6i7KYK). SSDs for RAID are two identical Samsung 970 Pro 1Tb. In first step i updated bios of Skull ...
0
votes
1answer
15 views

Installing vpnc on Ubuntu Server 18.04

I'm trying to get vpnc installed on Ubuntu Server 18.04 using: sudo apt-get install vpnc But that results in: Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
0answers
6 views

How to remotely initiate a Ubuntu Server netinstall using GRUB + vncconnect?

I have a remote server running CentOS 7 which I want to re-install with Ubuntu Server 18.04. I don't have physical access to the server, so I cannot install any bootable media, nor do I have access to ...
-1
votes
0answers
18 views

How to add css folder in apache2? [duplicate]

How i can add this into apache folder? I tried add this folder of my site but my system says I don't have access.
0
votes
0answers
12 views

Network doesn't come back up after connection loss

I've successfully gotten my setup working with a 2Gbps connection to the rest of my network through a Unifi switch via bond0 (enp6s0 & enp7s0 in LACP) using netplan. The problem I'm running into ...
0
votes
0answers
11 views

Forward bounced emails to gmail too

i have configured an email account on postfix in my ubuntu server, to forward to gmail like this: mail to --> user@mydomain.com ----postfix-forward--> some_user@gmail.com and in gmail account of "...
0
votes
1answer
17 views

After running for few days if mysql gives following error

After running perfectly for few days, If the mysql server gives following error. mysql -uroot -p -h localhost Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '...
1
vote
0answers
29 views

Ubuntu Server 18.04.1: mount raid 1 as /boot partition

I have 6 disks (2x 1tb and 4x 4tb) and want the following setup: 2x 1tb disks in raid 1 (mounting point /) 4x 4tb disks in raid 5 (mounting point /home) I got the following messages: If you put ...
0
votes
0answers
23 views

ftp command times out in 18.04

I recently upgraded my server from 16.04 to 18.04. I have alway's used the command ftp://backups@192.168.1.x/ in Deja Dup on my laptop (also recently upgraded to Ubuntu 18.04 from 17.10)to make ...
1
vote
0answers
30 views

How to only use terminal to connect to a wifi hotspot which requires webpage login?

I have a server machine running at home. It has two network interfaces: cable LAN, and a WLAN. I ssh into this machine using its cabel LAN interface, because it is stable and robust. I need to use ...
0
votes
0answers
10 views

Mailserver on Ubuntu 16.04

I know, there are like hundreds of tutorials to install "a mailserver" on Ubuntu 16.04, but I just don't seem to get it working and resetted my server the 4th time now.... What I would like to have ...
1
vote
1answer
36 views

netplan apply does not change the IP address

ok, my file is located at /etc/netplan/50-cloud-init.yaml I changed the IP address as a static IP address as following: network: version: 2 renderer: netwokrd ethernets: dhcp4: no ...
3
votes
0answers
59 views

What is the best way to run a server application on ubuntu?

This is my first attempt at running a Linux server. I have a server application which I want to run on a server to which I have ssh access. If this were a Windows server, I'd just open a remote ...
1
vote
0answers
17 views

Add a /64 range of IP addresses

I have a VPS that the provider allocated me a /64 block of IPv6 addresses, I'm trying to give each domain I'm hosting in it a unique IPv6 address. I'm using the configuration options in /etc/network/...
-1
votes
0answers
16 views

LAMP and user permissions

I reinstalled lamp today because I want to build a PHP extension for a CMS. You hear, I'm new with server. But I've managed to activate all the apache modules I need and put my user in the www-data ...
0
votes
0answers
8 views

Windows server as a Desktop enviroment for Ubuntu server

i have set up and ubuntu 16.04.5 server. and i have managed to install windows server 2012 r2 on top of it via KVM. Autostart is also enabled. for convenience i did the configuration via the unity ...
0
votes
1answer
14 views

Joomla Configuration File writing issue with Ubuntu 16.04 and nginx

I keep getting errors from joomla saying it can't write to. configuration.php An error has occurred. 0 Could not write to the configuration file I added recommended permissions to folders 755 and ...
3
votes
2answers
51 views

Getting the checksum of a file through vsFTPd

I'm making a script for automatically downloading a backup of files from a local server. There are a lot of files, so to avoid downloading unchanged files, I want to compare the remote file hash to ...
1
vote
1answer
57 views

Can mount SMB share using nautilus but not using smbclient

I can mount my SMB share using nautilus by simply adding the location smb://ip Here's what happens when I use smbclient on another computer: lz@air:/media$ smbclient -L //192.168.0.3 WARNING: The "...
0
votes
0answers
27 views

Apache2 - SSL_ERROR_NO_CYPHER_OVERLAP

I have OwnCloud set up on Ubuntu server 18.04 with Apache2, which is only accessible on my internal network. It's been working fine until today I tried to access the web interface (normally I don't ...
0
votes
0answers
18 views

Multiple Subdomains with different ssh host keys (docker containers)

I am trying to get rid of these annoying message Warning: the ECDSA host key for 'mysub.domain.de' differs from the key for the IP address 'XXX.XXX.XXX.XX' Offending key for IP in /home/thisuser/.ssh/...
0
votes
0answers
36 views

Thunderbird does not connect to popular IMAP servers after lapse in usage

Apologies for redundant submittal but the workaround in a related post was to uninstall/reinstall Thunderbird after backing up key folders. I would prefer to delay this brute force approach for an ...
0
votes
0answers
9 views

How to create multiple Samba instances on single server

Good day. Having trouble creating multiple samba shares on different ports. I have 2 virtual interfaces (say: eth0:0(10.10.0.1) and eth0:1(10.10.10.1)). I need a separate Samba instance running on ...
0
votes
0answers
60 views

apt-get not working on Ubuntu 14.04 due to lock, I killed apt upgrade process in the middle - can I kill the remaining processes?

Can I kill these below processes now or not? I don't want to update anything; my GRUB file should not be affected. This is a production server. root@ANPRCentralServer:~# apt-get install nfs* E: ...