Search The Hostwinds Guides Knowledge Base

How to Create a New User (Ubuntu)

set up and ready for use! If you’d like to give this user account Sudo access, you can do so by utilizing the information in the following guide: Create a sudo user (Ubuntu). You can test that this account was created successfully and is in working order by issuing the following command replacing “newusernamehere” with the username you just created.   su – newusernamehere   If the account was created correctly and is in working order, you should now be logged in as the new user!   Related Articles How to Delete a User (Ubuntu) Create a Sudo User (Ubuntu)…

How To Run Python Web frameworks (Ubuntu 18.04)

one is very simple and straightforward. Hopefully, this guide is enough to get you started, and as always, you can reach out to us if you have any additional questions or concerns. Related Articles How to create a custom landing page using HTML and CSS Shared / Business Web Hosting Account Security Default files and directories in cPanel How To Secure Memcache on CentOS 7 Optimize Website Using .htaccess File DNS Servers, Roles and Functions Install LAMP Stack Manually (Ubuntu) Installing and connecting to Filezilla Server for Windows Server Installing a VNC server in Debian/Ubuntu User Adding Domains in CWP…

Install Postfix and s-nail on Ubuntu (18.04)

add the following lines: set emptystart set folder=Maildir set record=+sent Step 4: Initialize The Directory Structure The best way to create the Maildir structure is to send yourself an email. You will use the s-nail command with the -Snorecord option. Change the following command to match the user you are wanting to use: echo ‘init’ | s-nail -s ‘init’ -Snorecord user To view all commands possible, you can view the help page for s-nail: s-nail -h Related Articles How To Install Ubuntu Desktop On A VPS How To Download and Install Software Ubuntu How To Create A New User (Ubuntu)…

How to Install MySQL in Ubuntu 14.04

MySQL is a very popular open source database management system that you’ll typically find in a Linux server environment as part of a LAMP stack. MySQL is used by a number of large companies across the internet such as Facebook and YouTube to store various bits of pertinent data. MySQL can also be used when working with content management systems such as Joomla or WordPress which you can use to create a stylish website. This article will walk you through the process to install MySQL in Ubuntu 14.04. How to install MySQL in Ubuntu 14.04 There are a few things…

Installing a GUI on Debian / Ubuntu

Installing a GUI on Debian / Ubuntu The Debian and Ubuntu options in our VPSes don’t come with any graphical user interface by default. There are a lot of options when it comes to look-and-feel of a GUI in Linux, but for lightweight (low resource usage) window management, this article will use Xfce. Tested with Debian 9 and Ubuntu 18.04 The following commands are to be run as root in your VPS (via SSH or GetVNC) Note: it is recommended to run apt-get update apt-get upgrade before proceeding, to make sure you have the latest version of all packages. To…

Use Ngnix to Proxy Docker Containers on Ubuntu

…and add in this code: server { server_name [YOUR.DOMAIN.NAME]; listen 80; location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://127.0.0.1:8080; } } From here, NGINX takes in all the public requests, and the Apache container just serves your files. Related Articles: Live Streaming from a VPS with Nginx + RTMP How to Make a Script Executable to Other Users on Linux How To Install Maldet on Ubuntu How to install LAMP on Ubuntu 16.04 Why should I add an SSL to my Web site? HostWinds Cloud Control quick start guide Install FTP Server on Ubuntu

Install and Configure Mezzanine (Ubuntu 19.10)

Mezzainine is a Content Managment system written in Python. It’s a great alternative to the popular WordPress, and offers a similar interface. You will need: A Hostwinds SSD Cloud or Dedicated Server Ubuntu 19.10. You can get the ISO from Canonial here: https://ubuntu.com/download/serve Then, use our guide for installing from an ISO here: https://www.hostwinds.com/guide/reinstall-vps-cloud-server-from-an-iso/ A working public domain. Hostwinds offers domains here: http://hostwinds.com/domains.php Python3 The virtualenvwrapper script Nginx Web server Postgresql To get all of this running, use the command: sudo apt install python3 python3-pip postgresql nginx libpq-dev Then, use pip in install virtualenvwrapper*: sudo pip3 install virtualenvwrapper Normally, it’s…

How to install LAMP on Ubuntu 16.04

…below with the actual username you desire to create sudo usermod -a -G sudo [desiredusername] Use the su  command to switch to the new user account which you have granted the privileges to.  su [desiredusername] Installing Apache Apache is one of the most popular web servers available and widely used due to its stability. It’s generally the default choice for Clients when setting up a webserver due to it’s long history, stability and support over many years. You will install Apache using the Ubuntu package manager, apt  .  You will run the following commands to start the update for your…

Install wordpress on Ubuntu 16.04

WordPress is one of our most popular Website builders. It allows you to build sites with a MySQL backend and PHP processing. We’re going to focus on getting this installed on Ubuntu 16.04 using the terminal. Before we begin, there’s a few other things that need to be taken care of. Prerequisites: Create a sudo user Install a LAMP Secure your site with SSL Alright, now that you gotten the pre-work out of the way, you should be a bit more familiar with the terminal interface. There’s still a few more steps before we actually start installing wordpress, but lets…

Installing a VNC server in Debian/Ubuntu

…we just installed. https://www.tightvnc.com/ — but other VNC clients should be compatible. Install and open the client, then enter the IP address or hwsrv-…hostwindsdns.com hostname, followed by a colon and the desktop number. Step 5: Enter the IP of the server followed by a colon and the VNC server number. Step 6: Click connect, then enter your password when prompted. You’re connected to a desktop running as root! If the default 1024×768 is not appropriate, you can stop it and restart it with different settings: vncserver -kill :1 vncserver -geometry 1920×1080 Related Articles Installing a GUI on Debian / Ubuntu