Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

learn more… | top users | synonyms (2)

0
votes
0answers
5 views

Installing cmu-sphinxbase on AWS EC2 ubuntu instance

I've setup an app on EC2 using Elastic Beanstalk. It's a Ubuntu instance and I'm running a Rails app on it which depends on sphinxbase and pocketsphinx. I've ssh'd into the EC2 instance to install ...
1
vote
1answer
27 views

Getting my server maintenance script right

I have two routine postgresql maintenance tasks that require deletion of aged rows from certain tables of my web application. Both take ~1 hr to complete, respectively. Currently, each of these ...
-1
votes
1answer
9 views

Cannot chroot mounted volume to reset root password ( hangs )

I am trying to reset the root password on my instance. I boot it in rescue mode and mount the primary disk. fdisk -l sudo mount /dev/sdb1 /mnt sudo chroot /mnt The prompt just hangs here and it ...
1
vote
0answers
12 views

old tape backup using xfsrestore

I have some old tapes that were backups to servers from an old irix machine. I need to get the data off of them and I know they were written to the tapes via 'xfsdump'. I'm running ubuntu 14.04 server....
0
votes
0answers
6 views

EC2 custom AMI in autoscaling group not running user data script

Similar to this question, My user data is: #!/bin/bash echo 'test' > /home/ubuntu/user-script.txt Using a standard Ubuntu AMI, this works fine. I have a custom AMI that I have created by ...
0
votes
1answer
24 views

How to authenticate clients trying to access my website via my external IP address?

I have made a ruby on rails app which is running on 0.0.0.0:3000 I have also forwarded the port 3000 on my router so that it is accessible remotely via the internet. So, I can view the webapp by the ...
0
votes
0answers
8 views

Upgrade to Windows 10 fails on Windows 7 / Ubuntu dual boot machine [migrated]

My attempts to upgrade my Windows 7 install to Windows 10 consistently fails with Error 800703ED. I strongly suspect that this is caused by by dual boot setup. I have inserted info re my disk/grub ...
0
votes
1answer
32 views

How to diagnose process at 100% CPU without being able to shell in?

Given an Ubuntu 14.04 server setup on a popular VPS provider hosting a single website with Nginx, Apache and WordPress / PHP, after starting the server it works fine for a while. Days later the VPS ...
0
votes
0answers
15 views

How can I write a new HTML file based on changes to a cloud db? [on hold]

Trying to mend the gaping absence of content in my client-heavy web app when it's initially served. I'll use Firebase as an example cloud db. Instead of depending on client to populate DOM initially ...
0
votes
0answers
7 views

Recommended Hardware for a school lab LTSP [duplicate]

currently I'm working on a project for a elementary school's computer room/lab. They have a lot of old computers (AMD Athlon CPU f.e.) with WinXP. The teachers are afraid of using that insecure ...
0
votes
0answers
6 views

OpenCart SEO isn't functioning even with SEO Button Enabled and htaccess configured

I have opencart installed with ubuntu 14.04, my apache config file is: <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName example.com ServerAlias www.example....
1
vote
2answers
44 views

Installing LetsEncrypt on Ubuntu 14.04

I'm trying to install LetsEncrypt for my domains on my Ubuntu server, I've done these before.. Now I'm on another server, and when I try to run ./letsencrypt-auto --apache -d example.com -d www....
0
votes
1answer
20 views

How to stop Ubuntu keeping writing degraded RAID

I have a hardware RAID (Adaptec 5805, RAID 6 of eight 6TB drives) that recently constantly fails when I have lots of disk writes. I installed Ubuntu on a separate disk and the Ubuntu seems not able to ...
0
votes
1answer
20 views

Can only ping one direction across an Openvpn tunnel

Setup: Main office - Ubuntu openvpn server behind a sonicwall Remote Office - ASUS router connected to the openvpn via it's builtin VPN client. Main Office 10.0.5.0/24, Openvpn 10.8.0.1 Remote ...
0
votes
0answers
6 views

How to get tomcat probe sessions to expire and log you out

I managed to setup tomcat and an ldap server to authenticate the connections to tomcat and probe which is great to change the passwords and users in a large amount of servers without actually having ...
0
votes
0answers
7 views

Is it possible to change ownership of root directory for NFS mountpoint? [duplicate]

I have an NFS share and OpenSSH server. What I'm trying to achieve is to jail SSH users in the mountpoint for the share. The problem is that OpenSSH server requires all directories within a path of ...
-3
votes
2answers
32 views

How can i set my new ip adress? [Debian / Ubuntu] [on hold]

I have my own VPS at OVH and it comes with a default ip address in France. So for geolocation needs, i bought one for in the UK. Now i have Ubuntu server 16.40 running, and i want to set my newly ...
0
votes
0answers
11 views

Windows Server 2012R2 to Ubuntu Server NFS mount extremely slow (4MB/s)

The mounting of a NFS share provided by the windows server under ubuntu works fine, accessing the files too, but copying a 1GB file over to the share results in an aggregated speed of 4MB/s. The first ...
0
votes
1answer
18 views

SSH: hangs after “connection established”

I have an AWS EC2 instance to which I can't connect through one of Ubuntu servers. However, I can connect to the AWS instance through any machine(with and without private SSH key), but Ubuntu server ...
0
votes
1answer
46 views

Setting up mail accounts without real Linux users

I've setup Postfix and Dovecot on my Ubuntu Server. My aim is to create 27 mail accounts that can receive and send mail to everywhere. I've got emails to not show up as spam in Gmail, Yahoo and ...
1
vote
2answers
22 views

Create daemon on ubuntu 16.04

I developed a crawler in PHP that parse an URL with specific headers and put all URLs of content in the queue. It works fine. I developed this code in a ubuntu 14.04 and I put a .conf file in /etc/...
-1
votes
1answer
32 views

What permissions should I give to CA Bundle file?

Hi I setup an ssl certificate using godaddy and read the following article: Best location for SSL certificate and private keys on Ubuntu. I am trying to protect an aws ubuntu gitlab instance that uses ...
-1
votes
1answer
20 views

How do I install nginx on Ubuntu 16.04 so that I can have upstream config files

I use ubuntu 16.04. I have removed nginx config $ sudo rm -rvf /etc/nginx/ purged nginx and installed it again # apt-get remove --purge nginx # apt install nginx aptitude shows nginx installed ...
0
votes
0answers
14 views

DHCPv6 not working when UFW is enabled (Ubuntu 16.04 LTS)

So, as the title says, I setup a isc-dhcp-server for DHCPv6, which is working as long as UFW is disabled. Once enabled, though I have all the necessary rules in place, and UFW is enabled for v6, it ...
-1
votes
1answer
20 views

Updating Ubuntu Webserver

Our webserver is on AWS running on Ubuntu 14.04.3 LTS. When I ssh into the server I see this message. 196 packages can be updated. 123 updates are security updates. Should I update our ...
0
votes
0answers
11 views

How did I get the git commits to show up in autocomplete? [migrated]

Git tab completion on my mac Git tab completion on my ubuntu server On my mac and my Ubuntu server I get very different output from tab completion despite having the same version of zsh, same ...
1
vote
0answers
32 views

Incorrectly mounted partition [on hold]

I'm having a few mishaps with a friend's VPS from OVH hosting and Ubuntu Server 14.04. Basically the guys decided to reboot it into a so-called rescue mode which loads some Debian and mounts the old ...
1
vote
1answer
28 views

LINUX:how to find time+ in top?

i m implementing my own top command .i just cant find out where to find SHR(shared memory),TIME+(process start time) and mem% of each process from proc. please reply :)
0
votes
0answers
10 views

Nginx: public website and anywhere access vpn routing

I have a nginx server with a https site hosted on it. In my network I also have windows anywhere access running (VPN, RDP ,xyz.remoteaccess.com etc). How do I setup nginx to allow the public to view ...
-1
votes
0answers
18 views

Firefox is not opening none of my apps (WP, Laravel) [closed]

I have 2 apps in my server, A Classic Wordpress One Page site: https://kendozone.com, and a Laravel 5 app : https://my.kendozone.com Weird thing is I can't open them in Firefox. Fact that both ...
0
votes
0answers
14 views

Change the root folder in a ubuntu server, using nginx with serverpilot [duplicate]

Right now there is a ubuntu server using amazon EC2 and serverpilot to build. The web files structure is like this: 1) /srv/users/serverpilot/apps/**site_a**/public/wp-content .. 2) /srv/users/...
0
votes
1answer
34 views

How to properly setup squid3 as HTTPS proxy?

I am trying to setup squid3 as an HTTPS proxy using the tutorial given here. I have properly setup the proxy settings in my browser and when I try to hit HTTP web sites, I am able to connect ...
1
vote
0answers
22 views

How to forward port through VPN on Linux

I'm setting up a small CTF (hacker competition) and have a machine that hosts VMs. One of these VMs will be the target. The host machine cannot be reached through the internet, so I have set up a ...
0
votes
0answers
37 views

What is the correct way to configure match rules in sshd_config?

I'm configuring Match rules in /etc/ssh/sshd_config . Whenever I add more than 1 match rule and after restarting SSH ofcourse, I'm getting locked outside of the machine with the following error: [...
0
votes
1answer
47 views

Stop and prevent brute force attacks on Ubuntu 14.04

I've currently 3 servers with SSH service being attacked by brute force. The attack is from multiple sources or one who's changing his IP with each attempt performed. I need help to stop current ...
0
votes
0answers
22 views

Change the root folder in serverpilot , ubuntu server [closed]

Right now there is a ubuntu server using amazon EC2 and serverpilot to build. The structure is like this: 1) /srv/users/serverpilot/apps/**site_a**/public/wp-content .. 2) /srv/users/serverpilot/...
0
votes
0answers
16 views

Arch Linux install without root password

Is it possible to install (and later maintain) Arch Linux (or some of its derivatives) without ever setting root password - using only user account and sudo? The same way it's done in Ubuntu and many ...
-1
votes
0answers
9 views

How deny URLs with a key parameter? [closed]

How can I only allow requests to apache2 with a key parameter? For example: http://my-map-server.com?id=123456 Any request with id=123456 allow it. Others reject. Thanks!
0
votes
0answers
18 views

Cannot install libopencv-dev on Ubuntu Xenial

Has anyone else seen this problem? I'm trying to install OpenCV in Ubuntu Xenial LTS. I've tried to uncomment the deb-src entries in my /etc/apt/sources.list and still not working. sudo apt-get -f ...
-2
votes
0answers
26 views

How many IP I can get on a dedicate server [closed]

I am planning to buy a dedicated server and host 10 website . Is it possible to get as many IP I want ? or I have to pay provider for each IP ?
0
votes
1answer
69 views

OpenFire authentication against Samba Active Directory using StartTLS

I am trying to authenticate different services (specifically openfire for now) against Samba Active Directory over StartTLS (port 389). While setting openfire up, I checked this option (Use StartTLS),...
0
votes
0answers
21 views

Amazon AWS EC2 instance : select the public folder [closed]

Right now there is an ubuntu server There are two wordpress site in my instance: 1) /srv/users/serverpilot/apps/**site_a**/public/wp-content .. 2) /srv/users/serverpilot/apps/**site_b**/public/wp-...
0
votes
0answers
13 views

auditd - Getting only EXECVE in ausearch?

I'd like to use the auditd daemon to log whatever is run as or by root on our servers. To that effect, I added the following lines to /etc/audit/audit.rules: # Log all commands run as (or by) root -a ...
1
vote
1answer
22 views

Client route for OpenVPN Access Server

I am running OpenVPN Access Server and I'd like to push a route to every client on connection that is the equivalent of: sudo ip route add 172.17.0.0/24 via 172.27.232.1 Where should I go to set ...
0
votes
1answer
18 views

Samba is ignoring file and directory create permissions

I am trying to create a SAMBA share but as usual I get a bunch of permissions problems. Here is my setup: [global] workgroup = WORKGROUP security = user map to guest = bad ...