Some of my servers have a fancy motd…
I like them… unfortunately my new server didn’t had it.
I had to run
apt-get install landscape-common
On dkpg-reconfigure I’v selected Run sysinfo on every login.
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-63-generic x86_64)
* Documentation: https://help.ubuntu.com/
You have new mail.
Last login: Fri Oct 23 10:28:37 2015 from es2-84-XXX-XXX-XXX.netvisao.pt
System information as of Fri Oct 23 10:28:59 CEST 2015
System load: 0.06 Processes: 245
Usage of /: 81.9% of 411.33GB Users logged in: 1
Memory usage: 9% IP address for em0: 195.154.XXX.XXX
Swap usage: 0%
Graph this data and manage this system at:
To have the number of updates/security updates we need to run the following apt-get command….
sudo apt-get install update-notifier-common
This way we will see also
20 packages can be updated.
8 updates are security updates.
Ubuntu CIS Benchmark
This document provides prescriptive guidance for establishing a secure configuration posture for Ubuntu 12.04 LTS Server. To obtain the latest version of this guide, please visit http://benchmarks.cisecurity.org. If you have questions, comments, or have identified ways to improve this guide, please write us at [email protected].
Apache CIS Benchmark
This document, CIS Apache 2.4 Benchmark, provides prescriptive guidance for establishing a secure configuration posture for Apache Web Server versions 2.4 running on Linux. This guide was tested against Apache Web Server 2.4.3 – 2.4.6 as built from source httpd-2.4.x.tar.gz from http://httpd.apache.org/ on Linux. To obtain the latest version of this guide, please visit http://benchmarks.cisecurity.org. If you have questions, comments, or have identified ways to improve this guide, please write us at [email protected].
Got it from http://askubuntu.com/questions/447144/basic-security-tools-and-packages-that-should-be-installed-on-a-public-facing-we
My new server has a Ubuntu 14.04 LTS.
Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64)
Change/Create Root Password
sudo passwd root
Create a New User
Add Root Privileges to new user
Continue reading Ubuntu 14.04 LTS some basic configurations
I was trying to start fresh installation of nginx, but nginx wasn’t staring….
We must always read the logs!
root@pornrack:/etc/nginx/sites-enabled# tail -f /var/log/nginx/error.log
This was I was getting on it…
2013/11/17 10:56:34 [emerg] 12362#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
Easy! I searched for server_names_hash_bucket_size on /etc/nginx/nginx.conf and uncommented that line…
On my stack, on digitalocean, i have Ubuntu (13, and i’m deploying a small work that need avconv (former ffmpeg).
I need to convert from WMV to MP4 files and i was getting Unknown encoder ‘libx264’ error.
This is how i’v added video encoder libx264 to my avcodec.
apt-get install libavcodec-extra-53
Ubuntu 13.04 (GNU/Linux 3.8.0-19-generic x86_64)
Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-29-generic x86_64)
Tried to share it!