Let’s Encrypt is a free, automated, and open certificate authority (CA),
run for the public’s benefit. One of the features of Let’s Encrypt is
ninety-day lifetimes for certificates. There are many tutorials how to
automate the procedure of updating certificates. All of them have their pros and cons. For example you must manually create
folders and files or stop web-server for several minutes... I think I found
one of the simpliest ways. The main idea is to let Let's Encrypt to...
This article will show you how to setup CentOS WebPanel on your Virtual Private Server -VPS. There are multiple alternatives available but I will focus on an easy approach and let you inspect the other options on your own. This article doe not show you what to do after you deployed the WebPanel. It will only point you to the next steps.
Introduction to Shell
Q. I just noticed faq about clearing dns cache and there are lots of
commands stored in my cache. Can you tell me the command to clear out my
command history or cache from a shell prompt? A. Many programs read input from the user a line at a time. The GNU history
library is able to keep track of those lines, associate arbitrary data with
each line, and utilize information from previous lines in composing new
ones. Bash and other shell may...
Introduction to Linux Security Linux Security. Most people rarely secure a freshly installed server right
off the bat, but in the world we live in this is an absolute must. So if
it’s so important to, why do so many people wait and do it last, if at
all? I’m as guilty as the next person. It often comes down to just
wanting to to start developing and doing the fun stuff. Hopefully this
tutorial will show that it is far better secure your server first, and...
Change the hostname line in /etc/sysconfig/network to the hostname you want
(this file may be different on FreeBSd and others). Your hostname should be something prefixing a domain you own (this is
referred to as a fully qualified domain name, FQDN), so
server1.yourdomain.com for example, not just yourdomain.com. Changing it in that file ensure that your hostname gets set each time
networking starts, however you'd need to restart networking for it to get
set in the current session with just that changed....
If you would like to change the shell type for a specific user you can do
the following. In this example we will change the shell type for username jimmysmith to
Bash: chsh -s /bin/bash jimmysmith If you have any questions feel free to leave me a note below and I will get
back to you....
To set the timezone in Linux, update /etc/localtime with the appropriate
timezone file from /usr/share/zoneinfo. Example: rm -f /etc/localtime
ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime This would set your time zone to PST/PDT (Pacific Time) because that is the
time zone Los Angles is located in....
To set your current shell to a different language you use the bash variable
LANG followed by the language you want: LANG=en_us_8859_1 If you want to set that so its used every time add an export line to your
.bashrc for that user. The .bashrc file can be found in each user's
homedir, if they don't have one you can create it: export LANG=en_us_8859_1 The command locale will show you information about locale on the server.
The command locale -a will give you a list of all...