We’ll show you how to automate shell scripts with expect command. The “Expect” name comes from the concept of sending/waiting for sequences popular by uucp, kermit and various modem management programs. However, not like uucp, Expect is generalized so it can be executed as a user-level command with any program and task in mind. Expect can communicate with multiple programs at the same time. In other words the Expect is a program that talks to a variety of interactive programs according to the script.
When testing a website to check it’s speed score and load time using the popular tools such as Gtmetrix, Pingdom and Google Page Speed, sometime we will get a low score in “Remove Query Strings from Static Resources”. URLs which contain special characters such as question marks (? ) and ampersand (&) are treated as Query Strings. Some proxy caching servers cannot cache the resources with special character in the URL, like : http://yoursite.com/wp-content/themes/yourtheme/css/style.css?ver=1.1.1.
In this post, we will discuss ‘sudo’ command and we will show you sudo command examples. The sudo command is one of the most important and commonly used command in Linux. It is very important that the Linux user understand sudo command to increase security and prevent unexpected things, that the user have to go through. In the most of the Linux operating system, sudo (“superuser do”, “switch user do”) permits a user with proper permissions to execute a command as another user, like the superuser. Basically, the sudo command allows a permitted user to execute a command as the superuser or another user such as modify important system configuration files, remove packages, create users and groups, install and update.
On the other hand, the system administrator can share the root password (which is not the recommended method), so that normal users of the system can access the root account via the sudo command. The behavior of the sudo command is controlled by the /etc/sudoers file on your system.
If you want to install Java on a VPS running CentOS 7 then this is the right tutorial for you. You will also be able to learn how to set a Java home variable and overview some basic management steps to get you started. As we already know Java is at the top of the list of the programming languages and this is worldwide. This programming language is created to have very little dependencies and that allows application developers to “write once, run everywhere”. As a matter of fact, any platform that supports Java can be operated by a compiled Java code. It can also be used to build both simple web applications and advanced software.
OpenJDK and Oracle Java are the two different implementations of Java. These two implementations of Java are based on the same code, but the main difference is that the reference implementation of Java or Open JDK is entirely open source, while on the other hand, Oracle Java contains some proprietary code.
In this article, we will show you how to install and configure Redis on a Debian VPS. Redis is an open source, in-memory data structure store with support for disk persistency. It is a key-value distributed database that supports data structures such as Strings, Lists, Sets, Sorted Sets, Hashes, HyperLogLogs, Bitmaps.
The Redis package that comes with Debian repo is quite outdated and contains a lot of security vulnerabilities. In this guide, we will install Redis from the source. At the time of this writing, the latest stable version of Redis is 4.0.8. Installing Redis on Debian 9 is fairly easy task, if you carefully follow the steps in the tutorial below. Let’s get started with the installation.
Git is a free and open source distributed version control system, originally developed in 2005 by Linus Torvalds, the great creator of the Linux operating system kernel. In this tutorial, we will show you how to install GIt on Ubuntu 16.04 and discuss how Git can help improve your development workflow.
Apache Maven is a java based software for project management and comprehension tool developed by Apache Foundation. Based on the concept of a project object model (POM), Maven can manage an entire project’s build. With Maven you can easily store documents, generate reports and documentation from a central piece of information. Installing Maven on Debian 9, is fairly easy task if you follow the steps bellow carefully and should not take more then 10 minutes.
Matomo or formerly known as Piwik, is free and open source, PHP based, web analytics software platform similar to Google Analytics, used by more than 300,000 websites around the world. It provides users with detailed reports of their websites, search engines and keywords used by the visitors, their language and geographical location, pages they visit, files they download, etc.. In this tutorial we will guide you through the installation of Matomo on an Ubuntu 16.04. The installation is pretty simple and straightforward and it should take no longer than 10 minutes.
In this tutorial will show you how to install NextCloud 13 on CentOS 7 . NextCloud is free and open-source file sharing and communication self-hosted software. It is used as storage of personal files, photos, songs, contacts and many other types of files and the best part is that you have access to them at any time and you can also share them with your friends/colleges. NextCloud is highly secured collaboration software that is HIPPA and GDPR compliant. It is the best alternative of the popular application ownCloud. Let’s get started with the tutorial.
We’ll show you, how to set up SSH Keys on CentOS 7. SSH (Secure Socket Shell) is an open source, UNIX based, network protocol that provides users with a secure and encrypted way to login to remote computers, transfer files securely between the computers (SCP), command execution on remote servers, automate tasks between multiple servers on the network, and much more. SSH supports several authentication methods. In this tutorial we will configure SSH with public key authentication on CentOS 7 VPS, so instead of logging to your CentOS 7 VPS as usual using a username and password, you will be able to authenticate using a trusted SSH key which will increase the security of your server.