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
5
votes
1 answer

Cannot change Redis data dir even after changing the user

I am running redis 3.0.6 in ubuntu 16.04 server. I have edited the /etc/redis/redis.conf file & changed the dir option from /var/lib/redis to /home/redisdata & changed the owner of /home/redisdata to redis. I have moved the dump.rdb from…
Anoop Reghuvaran
  • 329
  • 2
  • 10
5
votes
3 answers

enable firewall port 22 on ec2 server after disable it

Step error: 1. sudo ufw enable 2. Command may disrupt existing ssh connections. Proceed with operation (y|n)? y 3. exit Before ssh again and can not access. On Security Group, port 22 is opening But firewall disable port 22. How to access server…
thanks
  • 61
  • 1
  • 2
5
votes
1 answer

Missing suphp in Ubuntu 16.04

I am working on a new LAMP server based on Ubuntu 16.04, but it seems there are no libapache2-mod-suphp package available in the default repositories. On my formerly Ubuntu server it was available via a simple apt-get install…
Halacs
  • 832
  • 2
  • 8
  • 19
5
votes
1 answer

Resize images that are larger than X in Ubuntu

In my Ubuntu server, I have a specific directory that contains a large number of images that I wish to resize to a width of 2000px if they are larger than 2000 pixels whilst maintaining their aspect ratio but if an image's width is less than 2000px…
Adam Scot
  • 1,371
  • 4
  • 21
  • 41
5
votes
1 answer

"random: nonblocking pool" initialization taking a long time on Ubuntu 16.04 Server

On Ubuntu 16.04 Server (Kernel 4.4.0-22) it takes 2-5 minutes to initialize the "random: nonblocking pool" according to /var/log/syslog, compared to Ubuntu 14.04: May 28 18:10:42 foo kernel: [ 277.447574] random: nonblocking pool is…
Ralf Ebert
  • 3,556
  • 3
  • 29
  • 43
5
votes
1 answer

Jira Creating Project Throws 'Error creating project, XSRF check failed'

I'm trying to get a copy of Jira running on a ubuntu server box I have on AWS. I configured Tomcat, and can successfully access my site at http://example.com:8080/jira and begin the setup process. I am able to create a username, but when instructed…
carbide20
  • 1,717
  • 6
  • 29
  • 52
5
votes
2 answers

Auto commit and auto push changes in local repo to git

I have a local development system where I have a Ubuntu-Server VM and I use eclipse in windows host. I develop in eclipse using Remote System Explorer & SSH. I want that whenever I save a file or do some changes in ubuntu-server's…
Xk0nSid
  • 961
  • 2
  • 11
  • 19
5
votes
3 answers

installing zf2 on ubuntu server 12.04.01 LTS

Trying to install ZF2 on my ubuntu server using curl -s https://getcomposer.org/installer | php && ./composer.phar create-project zendframework/skeleton-application /var/www/skeleton-app dev-master I've also tried to add @dev in the end and I keep…
Shahar Galukman
  • 882
  • 3
  • 15
  • 35
5
votes
3 answers

Automatically Wake NAS on Access

I'm trying to get my NAS server to wake from an S3 sleep state when the NAS is accessed by a user. I want to do this to increase the longevity of the server, and also to limit its power usage. I've seen people asking for similar advice but none that…
Rabid
  • 326
  • 4
  • 14
4
votes
1 answer

Accessing MS Access hosted in Ubuntu server from Java in a windows based VPS?

Hi I have this little big problem I have a legacy VB6 desktop application that connects to a MS Access database hosted in a local Ubuntu server machine that is being shared to the LAN as a SMB share and I have a Tomcat web application hosted in a…
Tristian
  • 3,406
  • 6
  • 29
  • 47
4
votes
2 answers

Running node.js on a port other than port 80

I have an apache web server running on my ubuntu server box. Recently, I was attempting to learn JavaScript and I stumbled upon node.js. I'd like to create a few web application multiplayer games and I've learnt that node.js could come in handy. I…
lbj-ub
  • 1,425
  • 2
  • 19
  • 34
4
votes
3 answers

I'm getting an error when I ran mysql_secure_installation

I keep getting the following error on running sudo **mysql_secure_installation** ... Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL…
nehemuel
  • 61
  • 1
  • 5
4
votes
1 answer

Prevent Raspberry Pi 4 for going to sleep/shutdown (Ubuntu Server 18.04)

I have this issue: I installed Ubuntu Server 18.04 to my Raspberry Pi 4 and it is connected through the ethernet port. If I exit the ssh session, some minutes later the RPI4 is unaccessible with ssh, and the leds of the ethernet port are turned off,…
4
votes
0 answers

Open Firefox on Ubuntu Server accessed via Git Bash SSH on Win7

I am currently trying to open Mozilla Firefox on a Ubuntu Server. I am accessing this server via SSH on the Windows 7 Git Bash. I have installed it and when I run firefox, it displays: Error: no DISPLAY environment variable specified. How can I…
MiQu
  • 43
  • 1
  • 4
4
votes
2 answers

Environment Variable cannot be found in docker container

I'm trying to setup a docker container on a Ubuntu server for a discord bot. I have run the following on the Ubuntu server: export DISCORD_TOKEN = "*****" sudo docker run --env DISCORD_TOKEN me/my-docker-repo In the bot code I have: import…
KGB33
  • 55
  • 2
  • 8