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

812 questions
6
votes
4 answers

PHP modules don't load after installing PHP 7 to my server

I installed PHP 7 to my server (as a result, I have not /etc/php5 and /etc/php/7.0). When I run my web app, I cant see any of my previous CURL (or fork). at first I got this err msg: Message: Call to undefined function curl_init() and after…
Imnotapotato
  • 5,308
  • 13
  • 80
  • 147
6
votes
1 answer

Authorization failure (no authenticated user) - .htaccess error, Apache

I'm running Apache/2.4.7 (Ubuntu) Server and I'm trying to protect one of the directories 'myFolder' which is located at /var/www/html/myFolder I made the following edits in /etc/apache2/apache2.conf file Options Indexes…
am3
  • 681
  • 2
  • 12
  • 30
6
votes
2 answers

Tracking file complete download

I have a file hosting site and users earn a reward for downloads. So I wanted to know is there a way I can track whether the visitor downloaded whole file so that there are no fake partial downloads just for rewards. Thank You.
Shishant
  • 9,256
  • 15
  • 58
  • 79
6
votes
2 answers

(Warning) Ubuntu-Server overlaps and earlier Alias

There's a warn after i type sudo service apache2 restart. * Restarting web server apache2 [Thu Sep 26 05:46:24 2013] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier…
Josua Marcel C
  • 3,122
  • 6
  • 45
  • 87
6
votes
2 answers

Can't enable php as apache2 module

During Ubuntu server setup, I got to the point where I need to enable php as apache2 module. I tried running sudo a2enmod php5, but it returned ERROR: Module php5 does not exist! After a bit of searching, I stumbled upon this tip by gerard : If sudo…
Evaldas Raisutis
  • 1,628
  • 4
  • 18
  • 32
6
votes
1 answer

What Folder(s) Can My Tomcat Application Write To on Ubuntu Server

I'm not sure if the fact that i'm using Ubuntu Server matters in this case. When I am trying to create folder using the File.mkdirs() method, it doesn't throw an exception, just never works. A larger explanation of my problem with specific code…
ryandlf
  • 27,155
  • 37
  • 106
  • 162
6
votes
2 answers

why does virtualenv workon not take me to the env directory

I have virtualenv setup and it is working well accept for one annoying issue. when I use the workon command to enter an environment the environment is logs in correctly but I do not get automatically directed to the environments root directory. I…
Finglish
  • 9,692
  • 14
  • 70
  • 114
6
votes
2 answers

Php web application internationalisation with Gettext();

I am currently developping a PHP web app that needs to be available in French and English. I looked around and found that the Gettext() functionality offers the best performance. I generated my .pot file with the command xgettext…
William Fortin
  • 777
  • 1
  • 4
  • 17
5
votes
3 answers

Cannot get my Upstart script to run Node.js and Forever when server restarts

I've been setting up my server recently and today I had to restart it... then I realised all of my Node apps I had running weren't running anymore. I'm using Node Forever module to keep the apps running, but then I realised I still need to have them…
littlejim84
  • 9,071
  • 15
  • 54
  • 77
5
votes
2 answers

isc-dhcp-server status failed: Failed with result 'exit code'

I setup a simple dhcp-server with isc-dhcp-server, but when I start the service, the status is in failed with the message "failed with result 'exit code' ". And yes, I did configure the files /etc/dhcp/dhcp.conf and /etc/default/dhcpd.conf I…
arturogaag
  • 91
  • 1
  • 1
  • 3
5
votes
1 answer

mount.nfs: Connection timed out on ubuntu 14.04.1 LTS

I trying to create a nfs server for the first time. On trying to mount to the server I am getting an error "mount.nfs: Connection timed out". My server version is ubuntu 14.04.5 LTS while my client is ubuntu 14.04.1 LTS. Following are the step that…
surajitM
  • 239
  • 2
  • 4
  • 11
5
votes
2 answers

how to delete redis from my ubuntu-16.04 server

When I run sudo systemctl status redis i get this ● redis.service - Redis In-Memory Data Store Loaded: loaded (/etc/systemd/system/redis.service; enabled; vendor preset: enabled) Active: inactive (dead) (Result: exit-code) since Thu 2017-05-11…
Abdellah Chadidi
  • 665
  • 2
  • 9
  • 23
5
votes
2 answers

Install PHP stats library on Ubuntu 16

I'm trying to install the PHP statistics package on my Ubuntu 16.04 LTS server, and I'm stuck. First off, config stuff: $ apache2 -v Apache/2.4.18 (Ubuntu) $ php -v PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS ) $ pear -V PEAR Version: 1.10.1 I have…
LukeSkywalker
  • 153
  • 1
  • 8
5
votes
2 answers

pm2 with systemd and passing node argument

I want to start node with pm2 and environment variables like --nouse-idle-notification or --max-old-space-size=2048. However, whatever I do, it is not passing the node variables. I start my app with pm2 and a configuration file. The configuration…
Nitai
  • 1,821
  • 1
  • 14
  • 10
5
votes
1 answer

Why does my R uses all CPU cores when running functions like step()?

My R often shows using more than 100% CPU in "top", does it mean it's using more than 1 core? As I understand, R by default uses 1 core of CPU unless when using certain parallel computing packages. But I am just using step() function. It's Dell T410…
MacChuck
  • 79
  • 3