Mac users work in their native Unix environment are familiar with using the terminal to SSH into their Linux-based servers. When using a Mac to log into a Windows environment, or vice versa, the task is performed differently. Window machines use a different protocol, one aptly named RDP (Remote Desktop Protocol). For our tutorial, we’ll explore how to use your Mac to connect to a Windows server. Let’s get started!
You may find the “can’t resolve hostname” or “temporary failure in name resolution” error when using retrieval command like wget, cURL, ping or nslookup. There are many reasons why these commands can cause an error, including file corruption. For the sake of brevity, we look towards commonalities between these commands to solve the issue.
These commands connect to the Internet using gateways to communicate and provide information. If the connection from your local machine, in this case, a CentOS server, is disconnected you’ll likely run into issues trying to access the world wide web. In this troubleshooting tutorial, we’ll show you some common solutions to connectivity issues.
Step 1: Amongst many other configuration tasks, the resolv.conf file is used to resolve DNS requests. Manually editing the resolv.conf file to configure name resolution will only do so temporarily. The Network Manager controls this essential /etc/resolv.conf file to create permanent changes. So, we’ll first stop and disable the Network Manager:
chkconfig NetworkManager off; service NetworkManager stop
Step 2: The method for permanent changes is to edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file instead of resolv.conf file. Open the file:
Next, we’ll set our DNS IP’s to use Google’s Public DNS (188.8.131.52 & 184.108.40.206).
Save and quit the file using ESC and :wq.
Step 3: Enable and restart your network, using the commands associated with your server version.
CentOS 6, CloudLinux 6, RHEL 6:
chkconfig network on
service network start
CentOS 7, CloudLinux 7, RHEL 7:
systemctl enable network.service
systemctl start network.service
Step 4: Test the reachability of a host by using ping, curl, wget or any testing tool of your choice. In our example, we’ve successfully ping’d Google!
PING google.com (220.127.116.11) 56(84) bytes of data.
64 bytes from lga15s46-in-f14.1e100.net (18.104.22.168): icmp_seq=1 ttl=57 time=6.65 ms
64 bytes from lga15s46-in-f14.1e100.net (22.214.171.124): icmp_seq=2 ttl=57 time=6.68 ms
64 bytes from lga15s46-in-f14.1e100.net (126.96.36.199): icmp_seq=3 ttl=57 time=6.68 ms
You don’t have to rack your brain over connectivity issues! Liquid Web customers enjoy 24/7 support for our VPS Managed products. Our knowledgeable team of support techs have experience with solving errors of this nature. Access our support team through a ticket, chat or phone call!
Similar to Dropbox and Google Drive, Nextcloud is self-hosting software that allows you to share files, contacts, and calendars. But, unlike Dropbox and Google Drive, your files will be private and stored on your server instead of a third-party server. Nextcloud is a GDPR and HIPAA compliant hosting solution, so your files will be encrypted along with the ability to audit. For this tutorial, we’ll be installing our Nextcloud instance on our Ubuntu VPS server. Continue reading “How to Install Nextcloud 15 on Ubuntu 18.04”
When using PhpMyAdmin, it’s essential to have the correct user permissions to create edits/writes to the database. Otherwise, insufficient permissions can lead to errors like the ones pictured below “#1044 – Access denied for user …[using password: YES]” and “#1045 – Access denied for user…[using password: YES]”. In our tutorial, we’ll show you how to correct this issue using the command line terminal. Let’s get started! Continue reading “Troubleshooting: MySQL/MariaDB Error #1044 & #1045 Access Denied for User”
Sites with SSL are needed more and more every day. Its ubiquitous enforcement challenges website encryption and is even an effort that Google has taken up. Certbot and Let’s Encrypt are popular solutions for big and small businesses alike because of the ease of implementation. Certbot is a software client that can be downloaded on a server, like one of our Ubuntu VPS servers, to install and auto-renew SSLs. It obtains these SSLs by working with the well known SSL provider called Let’s Encrypt. In this tutorial, we’ll be showing you a swift way of getting HTTPS enabled on your site. Let’s get started! Continue reading “How to Setup Let’s Encrypt on Ubuntu 18.04”
MariaDB is a drop in replacement for MySQL, and its popularity makes for several other applications to work in conjunction with it. If you’re interested in a MariaDB server without the maintenance, then check out our high-availability platform. Otherwise, we’ll be installing MariaDB 10 onto our Liquid Web Ubuntu VPS server, let’s get started! Continue reading “How to Install MariaDB on Ubuntu 18.04”
Apache Tomcat is an accessible, open-source application server used to house many of today applications. It’s free, stable, lightweight and is utilized to render Java coding as well a range of other applications.
Today we will be focusing on how to install Apache Tomcat 9 on our Liquid Web Ubuntu server, specifically Ubuntu 18.04 LTS.Continue reading “How to Install Apache Tomcat 9 on Ubuntu 18.04”
Reading Time: < 1 minute
What Does Varnish Do?
Varnish is a website accelerator. It’s designed to decrease the time it takes for your website to load and an ideal tool for improving performance on busy, mission-critical sites.
GitHub is a free repository hosting service, used as version control for web developers to download and push their code from their servers to other users. In our previous article we’ve instructed on how to add Git to your Ubuntu VPS server. We’ll continue on and show you how to add and clone a repo from GitHub to your server.Continue reading “How to Create and Clone a Repo in GitHub on Ubuntu 18.04”