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

learn more… | top users | synonyms (2)

0
votes
2answers
5k views

Installing new network driver ubuntu server 14.10

Ok first of all I was trying to connect my server to my router and set up my apache2 server so my server could be viewable online. But in my attempts to connect, I found that I have no eth0 ...
1
vote
1answer
4k views

Permission problem with files created by Deluge when one fstab entry was removed

Recently my second hard disk, sdb1, broke on my Ubuntu server, it was mounted as multimedia in /home/user/multimedia and Deluge is downloading my torrents to this directory. When sdb1 disk died, I ...
0
votes
2answers
45 views

Openswan shows no installation candidate after running apt-get update

I have ubuntu server 16.04 installed, with a working internet connection but running apt-get install openswan still fails, giving E: Package 'openswan' has no installation candidate. Does anyone know ...
6
votes
0answers
1k views

How do I configure two NICs in ubuntu-server preseed? [closed]

I have a script that installs Ubuntu server to a new VirtualBox instance via PXE and preseeding. So far it is working great, I can run a complete install and come out with a fresh machine with one ...
1
vote
0answers
12 views

Lock file when editing in server

Our network has 1 server and 2 clients. Our web project is stored in the server, and we edit it from both clients. When one user is editing one file, the other user shouldn't be able to edit it at the ...
0
votes
1answer
12 views

Creating ISO images from already installed Ubuntu Server on commandline

I am using Ubuntu Server 14.04 LTS. I need to make an .ISO image from it. The trouble is that all tools i have come across use GUI. Ubuntu Server on the other hand does not come with GUI. Are there ...
1
vote
0answers
13 views

How to provision Using t2 micro vm @ AWS using Juju [duplicate]

Currently I provision vms at AWS using Juju deploy mysql and setup environment are medium size vms. How can I setup/run using t2 micro vms at AWS? What are commands? Here are what I used currently.. ...
0
votes
0answers
24 views

Debian Server not receiving IP from DHCP [closed]

I have configured a DHCP server on Windows Server 2012 which is connecting to my Debian server on virtualbox. They are connected on same line. I changed eth0 to receive IP address from a DHCP server ...
0
votes
0answers
18 views

System performance impact of huge iptables block lists

Due to non-responsiveness to abuse reports by Chinese network operators I decided to block all of their IPs. Several other countries as well. This website's data is incomplete, but gives an example ...
0
votes
0answers
6 views

rsyslogd somehow crashes my server

About 8 hours ago my java web server (on an ubuntu machine) crashed and I'm trying to figure out why so that it doesn't happen again. There is some weird stuff going on in /var/log/syslog around that ...
0
votes
0answers
18 views

Lost Password Ver 14.01 LTS

Tried the suggestions in the thread "How do I reset a lost administrative password?" and when I get to recovery menu and select "root" I do not get a command line that says "Give Root Password for ...
0
votes
0answers
15 views

Install font packages for all the language charsets

On a machine running Ubuntu server there is a script that generates pdf files with the website content. There was a problem that it was not showing the Chinese characters. After installing the ...
0
votes
0answers
25 views

Why ping and ssh resolves different Ip?

Honestly I have no idea what happened but ping not connecting to the right ip address so can't login with ssh. Say my server ip address is 136.17.90.160, but when local when ping... (venv) simon@...
0
votes
0answers
13 views

Cannot open virt-manager from terminal | ubuntu server

I am trying to open virt-manager from the terminal "sudo virt-manager" but I got this error "gdk_mir_display_open Failed to connect to Mir: Failed to connect to server socket: No such file or ...
0
votes
1answer
5k views

Apache2 “configtest failed” (error line 216, 5, 62)

Starting web server apache2 The apache2 configtest failed. Output of config test was: apache2: Syntax error on **line 216** of /etc/apache2/apache2.conf: Syntax error on **line 5** of /etc/...
0
votes
0answers
15 views

IP masquerading to share server connection isn't working

I have 2 Ubuntu servers, one has internet another doesn't I've followed manual here - https://help.ubuntu.com/community/Internet/ConnectionSharing Done setup accordingly to Ubuntu Internet Gateway ...
0
votes
1answer
18 views

How to check SSD/HDD model used on a VPS?

Is there anyway we can check what is the model of storage device used on VPS without having access to the hypervisor. I`ve tried to check it on DigitalOcean droplet using several command but I didnt ...
0
votes
0answers
13 views

Restrict output of Xorg on Ubuntu server

I have Ubuntu server 16.04 installed with Xorg , xinit , xauth , openbox - when I logout from UI Xorg prints a lot of data to screen. This data shouldn't be seen by my users - how can I stop Xorg from ...
2
votes
2answers
32 views

Where is system Disk info stored

I have written a C program to display basic system info. It does this by parsing /etc/network/interfaces and /proc/meminfo with fgets and associated logic. These give me the network info and memory/...
6
votes
2answers
3k views

Help me to install ppp server on Ubuntu 12.04 server

I want build ppp server on Ubuntu 12.04 Server. I failed even after tried to install ppp server numerous times. I want to build ppp server like the below environment. ppp client: Modem -------> ...
-1
votes
0answers
27 views

Ubuntu Openstack MAAS multiple VLAN's

I have setup Ubuntu Openstack using MAAS. Now after the fact i decided i wan to add additional additional VLAN's to it. I add new network VLAN and then attach that to a new router in Horizon. But i ...
0
votes
0answers
10 views

Hide an interface from wireshark

I have been looking at the possibility to hide a network interface from wiresharks dumpcap, the reason is that I want to hide the servers management port so that users can't listen on that traffic ...
0
votes
2answers
26 views

What are the actual risks of giving www-data sudo nopasswd access?

I have a server that I just installed apache on. I have a php script on the server that I would like to run a sudo command from. I've been scouring the web on why giving www-data sudo nopasswd access ...
120
votes
8answers
212k views

How can I monitor the memory usage?

I have used top to see the memory usage at the moment. But I would like to monitor the memory usage over a period of time. E.g start monitoring and then execute a few commands, and final stop the ...
0
votes
1answer
21 views

Do I need to install drivers for headless server?

I'm creating a file server with Ubuntu Server 16.04 LTS. The motherboard doesn't have a on-board graphics card so I'm using a Nvidia graphics card for the install. I've tested that I can install with ...
1
vote
2answers
170 views

Problem connecting to my Samba server on ubuntu from my windows computer

I'm doing a school project where i have to set up a basic samba server on linux to share files between 2 computers (i only need to show it working), one computer is a laptop running linux on a virtual ...
0
votes
0answers
58 views

INFO: rcu_sched detected stalls on CPUs/tasks

I have a AMD FX 8320 8 Core CPU that I have turned into my main file server. I installed Ubuntu Server 16.04 on it with no problems. I also installed KVM/Quem and tested installing a VM from another ...
0
votes
0answers
14 views

Juju provision at AWS [duplicate]

I am using Juju charms to provision & deployment at AWS account. My AWS account is free tier. My situation is whenever I used juju deploy mysql or haproxy its provision as medium size vm at AWS ...
0
votes
0answers
25 views

Ubuntu PXE install, server 16.04 from ISO, cd rom couldn't be mounted

I'm trying to install ubuntu 16.04 server from a PXE server (running freenas). After the install starts i'm getting an error message for cd rom couldn't be mounted. I've tried every thing i can think ...
1
vote
1answer
59 views

What iptables rules are needed to allow an nfs share on 16.04?

Can anyone provide the exact wording/coding I would have to add to my /etc/iptables/rules.v4 file ? The server I am working on has many complicated firewall rules, and I have determined it is for sure ...
3
votes
2answers
33 views

Disable remote logon but still allow su to same user

My company is looking to secure our a Ubuntu 14.04 LTS servers and we wanted to disallow specific users the ability to logon remotely, but still allow people to change over to that user account using ...
1
vote
0answers
12 views

Error running $ juju quickstart

Error running $ juju quickstart. I doubt there is some problem with maas installation but can't find any. juju quickstart v2.2.4 ssh-agent has been started. To interact with Juju or ...
0
votes
1answer
21 views

How to serve static files on startup?

I have a kiosk, which displays a website inside of chrome, on full-screen mode. Website files, are static html templates, and they're stored in: /home/kiosk/app directory and I want to display them ...
0
votes
2answers
25 views

How to set a server that sends request to my API?

I am working with Linux, Ubuntu and an API made in Django. My questions are: How do I configure a server (preferably in apache) in order to send http requests to my API? How do I 'catch' the data ...
4
votes
1answer
36 views

Comment, Uncomment, change setting based on string, add line from terminal

I have to edit some files to uncomment a line, change a value on that line or uncomment a line. I am trying to do this through a bash script. I am trying to edit /etc/ssh/sshd_config and change ...
0
votes
1answer
44 views

Port is not open

This is could be a database issue but to check if related to network configuration. To start DB i USE : Running rethinkdb 2.3.4~0trusty (GCC 4.8.2)... Running on Linux 3.19.0-39-generic x86_64 ...
0
votes
2answers
27 views

Run Executable After login [duplicate]

So I have an executable (output of gcc compiling a C program), that I would like to run after login so it is the first thing a user sees upon login. It is a graphical menu that displays system ...
0
votes
0answers
12 views

Ubuntu Server - After reboot key always refused, until login

I installed Ubuntu Server and also configured the ssh server. I tried the "key system", so I have a public key in ~/.ssh/authorized_keys, and also configured this file in /etc/ssh/sshd_config. When I ...
0
votes
1answer
33 views

SSH : Could not resolve hostname 192.168.40.250:2080, Name or service not known

I just installed a centOS 6.5 web server on a VMWare. Now I' like to access it from my physical computer in order to use the LAMP stack i installed on it to host a web application am developping. But ...
0
votes
1answer
17 views

I started trying to install MariaDB MySQL. Now I have a mess, looks like I can't install packages now

First of all, I don't know very much about Ubuntu. It's Ubuntu 16.04 Server (64 bits). I needed to install a MySQL database, using apt-get install mariadb-server. It worked, it's been installed but ...
31
votes
3answers
40k views

How do I disable remote SSH login as root from a server?

For security purposes my company wants me to not allow anyone to be able to log into our Ubuntu server as root remotely over SSH. We still want the root account to exist, we just do not want it to be ...
1
vote
0answers
38 views

How to configuring PAM to use different language / locale settings

Currently we are using a database client with a ISO-8859-1 character set. The Ubuntu server is running with de_DE.utf8. If the user uses a username or password containing other characters than 7-bit ...
7
votes
3answers
127 views

Can't locate a directory using “locate”? [duplicate]

I want to locate a directory in my system using "locate" command. I know there is a directory named "bench-repo". when I'm giving the following command it shows me the following error : locate: can ...
0
votes
0answers
11 views

Password authentication problem in scaleway server

I have two scaleway servers. When i used scp to transfer file it asked for password, upon typing the correct password it errors back saying "Permission denied".What might be the reason?
0
votes
1answer
17 views

Is `scp` for non sudo users executable?

Can non sudo users execute scp command while using two remote servers?
0
votes
0answers
29 views

network restart fail on Ubuntu server 16.04

In Ubuntu 16.04 server I want to change IP from /etc/network/interfaces and run sudo service networking restart and there is no error given but the IP didn't change. I also ran sudo systemctl ...
0
votes
2answers
66 views

Can't install mysql-server on 14.04

Ubuntu Server 14.04, everything on the server is fully updated. No matter what I try, I cannot get mysql-server to install. I followed all answers to this question, and I even tried sudo apt-get purge ...
1
vote
0answers
14 views

Glusterfs fstab

Currently I have 2 bricks that are replicated. I'm trying to mount a client to gluster. The only way I can get it to work is if I do this in the fstab: hostname:volume /test glusterfs defaults,...
0
votes
0answers
9 views

Ubuntu symmetric key cache ssl?

I'm trying to create a learning resource to demonstrate SSL pinning. I'm attempting to emulate a man-in-the-middle attack by having Apache switch between two different certificates at a set interval. ...
0
votes
0answers
13 views

While configuring phpmyadmin ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have attempting to set up a LAMP server over the past couple of days and I already have overcome some problems with apache2. But, every time I try to sudo apt-get install phpmyadmin, After I have ...