You Are Here: Home » Tiny Post

Quick and small posts

Securing your Rsyslog and LogAnalyzer

I suppose that you already have Rsyslog and LogAnalyzer up and running, if not see "Installing Rsyslog and LogAnalyzer" The tools to generate certificates and debug connections are available in the gnutls-bin package. Install it with the following command: sudo apt-get install gnutls-bin rsyslog-gnutls On the LogAnalyzer server PART 1 Generate the private key: sudo certtool --generate-privkey --outfile ca-k ...

Read more

Using a private key to connect on your Linux servers

Why using a Private key to connect on your Linux servers? This will prevent you entering the password each time you want to connect via SSH on your Linux server. On the server On your Linux server as root we're going to create a new user # adduser NEWUSERNAME Connect as NEWUSERNAME # su NEWUSERNAME Generating an authentiction key $ ssh-keygen -b 1024 -f MyKEY -t dsa This will generate one public key "MyKEY. ...

Read more

Enabling SSL in Monit and M/Monit

Usually we use HTTP to connect to the web, HTTPS protocol is the result of simply layering the Hypertext Transfer Protocol (HTTP) on top of the SSL/TLS protocol. The TLS/SSL protocol allows client-server applications to communicate across a network in a way designed to prevent eavesdropping and tampering. I suppose that you already have Monit and M/Monit up and running, if not see "How to install M/Monit – ...

Read more

Running Java applications as daemon on Linux

Recently I found the need to create an init.d script for a java app and since I had a hard time finding an example, I came up with this vim /usr/local/bin/myAPP-stop.sh vim /usr/local/bin/myAPP-start.sh vim /etc/init.d/myAPP chmod +x /usr/local/bin/myAPP-start.sh /usr/local/bin/myAPP-stop.sh /etc/init.d/myAPP update-rc.d myAPP defaults This script work perfectly under Ubuntu 12.04, but it should apply to ot ...

Read more

Graphical User Interface (GUI) Server

In computing, graphical user interface (GUI, pronounced 'gooey') is a type of user interface that allows users to interact with electronic devices using images rather than text commands. Running Ubuntu 12.04 LTS Byobu: terminal-based windowing Byobu is an enhancement for the terminal multiplexers GNU Screen or tmux that can be used to provide on screen notification or status as well as tabbed multi window m ...

Read more
Scroll to top