How to Install Let’s Encrypt on Apache2

 Apache2, Clusterweb, ClusterWeb, Debian, Linux, Profissional de TI, Redes, Segurança, Shell Script  Comentários desativados em How to Install Let’s Encrypt on Apache2
nov 052018
 

Improving your website security through encryption, even on the most basic servers, can increase your visitors’ trust in your site and your ability to run it. Setting up encryption on your web host has generally been complicated and expensive, which often deters administrators whose web applications might not depend on user input. Let’s Encrypt aims to change this by making implementing encryption on any website easier. They are an open and free project that allows obtaining and installing of certificates through simple, automated, commands.

Let's Encrypt Project Logo

Continue reading »

How To Configure Bind as a Caching or Forwarding DNS Server

 CentOS 7 / RHEL 7, Clusterweb, ClusterWeb, Debian, Dns, Leitura Recomendada, Linux, Profissional de TI, Redes, Segurança, Ubuntu  Comentários desativados em How To Configure Bind as a Caching or Forwarding DNS Server
set 272018
 

Introduction

DNS, or the Domain Name System, is often a difficult component to get right when learning how to configure websites and servers. While most people will probably choose to use the DNS servers provided by their hosting company or their domain registrar, there are some advantages to creating your own DNS servers.

In this guide, we will discuss how to install and configure the Bind9 DNS server as a caching or forwarding DNS server on Ubuntu 14.04 machines. These two configurations both have advantages when serving networks of machines.

Continue reading »

How to Setup OpenVZ 7 on CentOS 7

 CentOS 7 / RHEL 7, Clusterweb, ClusterWeb, Linux, Profissional de TI, Redes, Ubuntu, Virtualização  Comentários desativados em How to Setup OpenVZ 7 on CentOS 7
set 172018
 

OpenVZ is a free open source software that provides container-based virtualization solution for Linux. OpenVZ 7 is the latest version of OpenVZ out there and it comes with Red Hat Enterprise Linux 3.10 kernel. This post is all about how to setup OpenVZ 7 on CentOS 7.x servers.

One Kernel, Many VM’s

OpenVZ creates multiple secure, isolated Linux containers (otherwise known as VEs or VPSs) on a single physical server enabling better server utilization and ensuring that applications do not conflict. Here, all the Linux containers share a single Kernel. Each container performs and executes exactly like a stand-alone server; a container can be rebooted independently and have root access, users, IP addresses, memory, processes, files, applications, system libraries and configuration files.

Continue reading »

How to install OpenVPN inside a jail in FreeNAS 9.2.1.6+ with access to remote hosts via NAT

 Clusterweb, ClusterWeb, Firewall, FreeNAS, Leitura Recomendada, Linux, Profissional de TI, Redes  Comentários desativados em How to install OpenVPN inside a jail in FreeNAS 9.2.1.6+ with access to remote hosts via NAT
maio 252017
 

Requirements

  • FreeNAS 9.10+
  • Domain updated by DDNS or a static IP
  • Internet access
  • Router forwarding of your port of choice (in my case 10011 UDP internal to 443 UDP external).
  • SFTP Client (Winscp, Transmit or plain scp)

Route all traffic?
If you want to route all traffic through the VPN Tunnel, be sure to read the Know This section

Overview
In this guide, we’ll do the server/client configuration as follows:

Server configuration:

  • Creating the Jail.
  • Optional: mounting local storage.
  • Installing OpenVPN inside the jail.
  • Creating all the certificates needed: the server root cert, the OpenVPN server cert and each of the client’s cert.
  • OpenVPN configuration file.
  • Firewall settings so NAT can work.
  • Registering OpenVPN as a service so it can start automatically with the jail.

Client configuration:

  • OpenVPN configuration file.
  • Certificate installation in client

Continue reading »

jun 112015
 

  1. sudo apt-get update
  2. ———————————————————————–
  3. sudo apt-get install apache2
  4. ———————————————————————–
  5. sudo adduser –disabled-password –system –home /var/lib/deluge –gecos “SamRo Deluge server” –group deluge
  6. ———————————————————————–
  7. sudo touch /var/log/deluged.log
  8. ———————————————————————–
  9. sudo touch /var/log/deluge-web.log
  10. ———————————————————————–
  11. sudo chown deluge:deluge /var/log/deluge*
  12. ———————————————————————–
  13. sudo apt-get update
  14. ———————————————————————–
  15. sudo apt-get install deluged
  16. ———————————————————————–
  17. sudo apt-get install deluge-webui
  18. ———————————————————————–
  19. sudo nano /etc/default/deluge-daemon
  20. ———————————————————————–
  21. # Configuration for /etc/init.d/deluge-daemon
  22. # The init.d script will only run if this variable non-empty.
  23. DELUGED_USER=”deluge”
  24. # Should we run at startup?
  25. RUN_AT_STARTUP=”YES”
  26. ———————————————————————– Continue reading »