HostOnNet Blog

Author Archives: admin

Windows VS Linux: learn from Microsoft

Today i got email from Mirosoft about their cloud service. I clicked on one of the links and i got this. They got some problem with their web server. The interesting thing is they use nginx web server, that run


Install LetsEncrypt SSL on Proxmox Node

To install LetsEncrypt SSL certificate for Proxmox VE Server, first install certbot-auto, this is a command line tool to generate/renew LetsEncrypt SSL certificate. Now run certbot-auto, when you run first time, it will download some required packages and install it.


Connect to PPTP server via command line on Ubuntu

To connect to PPTP server from command line on Ubuntu/Linux, create file Here honvpn is name of the connection, this can be anything. Add following content to the file. Here 35.154.48.22 is IP of PPTP server. hostonnet is the PPTP


Install pptpd server (vpn) in Amazon EC2

To install in Ubuntu 16.04, run Now edit /etc/pptpd.conf Add to end of the file. Next you need to create users, this can be done by editing file I created a user with username = “hostonnet” and password = “tpmH7xADcb@zKH”


Ubuntu nobody cared (try booting with the “irqpoll” option)

Ubuntu PC randomly crashed with some graphics errors, had to do hard reboot after this occur. On /var/log/syslog, i have following error. To fix the problem, edit Find line Replace with Now run


Installing kernel 4.x on Ubuntu 14.04 Server

To install latest kernel from Ubuntu 16.04 on Ununtu 14.04 LTS, run Before upgrade After upgrading kernel to latest Hardware Enablement Stack (HWE)


Grub

To generate grub.cfg on CentOS 7, run


open3: exec of ipset flush failed at csf

On CentOS 7 (CloudLinux 7) Server starting csf firewall got following error I checked if command /usr/sbin/ipset exists, but was not found. So checked which package provide this command. Problem is fixed by installing package ipset with yum


Postfix

Installing postfix mail server on ubuntu To see postfix configuration, run To see value of specific item, for example myhostname, run


Upload files to Amazon S3 from Linux Command Line

Amazon provide awscli command line tool to upload files from Linux command line to Amazon S3. This is a python package, so you need pip installed for installing awscli, if you dont have pip installed, install it with Now install