Linux
Linux, cPanel, CentoOs
Articles
Find Linux Server Geographic Location in Terminal
To find a Linux server's geographic location from the terminal, query a free IP geolocation API with curl. ipinfo.io returns your server's public IP address plus its...
For shared SSH access, is wget() command allowed?
Yes. wget and curl are available in Terminal (Advanced › Terminal) and over SSH on our cPanel hosting, for example to download a release file into your account:
cd...
Fzf: A Quick Fuzzy File Search from Linux Terminal
Fzf is a tiny, blazing fast, general-purpose, and cross-platform command-line fuzzy finder, that helps you to search and open files quickly in Linux and Windows...
GRUB Rescue Commands and How to Fix Linux Boot Failures
The screen your server stops at tells you which part of the boot failed:
grub rescue>: GRUB started but cannot load its normal module, usually because it cannot...
Gogo: Create Shortcuts to Long and Complicated Paths in Linux
Gogo is an impressive way to bookmark directories inside your shell. It allows you to create shortcuts to long and complicated paths in Linux. This way, you don’t have...
Goto: Quickly Navigate to Aliased Directories with Auto-Completion Support
Goto is a shell utility to quickly navigate to aliased directories, with support for auto-completion. It comes with a nice auto-completion script so that once you...
Graphical System Activity Monitor for Linux- Sysmon
Sysmon is a small graphical activity monitor for Linux desktops, similar to the Windows Task Manager: it shows CPU and GPU load, memory, network and disk activity in...
Host a website on lInux with HTTPS using Caddy
Caddy is a web server that gets and renews HTTPS certificates automatically. It is configured with a short Caddyfile. These steps install Caddy 2 from its official...
How can I access MySQL database remotely?
By default, MySQL databases on cPanel only accept connections from the server itself. To connect from your computer or another server (for example with MySQL Workbench...
How can I backup a database using phpmyadmin?
phpMyAdmin can export a database to a .sql file, which you can keep as a backup or import into another server. It is available in cPanel and in Plesk.
Steps
Open...
How do I backup my site in cPanel?
It is important to have your own backup procedure in place to protect yourself from losing all your files. It is extremely easy to backup your site using cPanel and we...
How do I password protect a folder?
You have the ability to password protect a folder on your website. You can create as many logins as needed for a protected folder. Click on Password Protect...
How do I read my web stats on Webalizer?
You can view your website's statistics through the Webalizer feature in cPanel. This can be found under the Stats/Logs menu in your cPanel account. Select the domain...
How do I transfer my existing website contents?
How you move a website to Ucartz depends on what your old host uses, and whether your plan includes free migration.
Free migration by our team
For managed web hosting...
How do you download raw access logs ?
Raw access logs record every request to your website: the visitor's IP address, the time, the page, the status code and the browser. They are useful for tracking...
How do you manage DNS records in Plesk
A domain name is an easy-to-remember address used to access websites. Users typed the domain name in a browser's and is directed to the corresponding website....
How to Add a New Disk Larger Than 2TB to An Existing Linux?
In such cases, we can use the parted command. The major difference lies in the partitioning formats that fdisk uses DOS partitioning table format and parted uses GPT...
How to Add or Remove a User from a Group in Linux?
Linux is by default a multi-user system, thus user management is one of the fundamental tasks of a system administrator. User management includes everything from...
How to Allow or Disable Root Login over SSH (PermitRootLogin)
Whether root can log in over SSH is set by PermitRootLogin in the SSH server’s configuration. The safest setting for a server is to let root log in only with an...
How to Append a Line to a File in Bash (echo, tee, sed)
To append a line to the end of a file in Bash, redirect with >>: echo "new line" >> file.txt. The line is added after the existing content, and the file is...
How to Back Up a Linux Server: Files, Databases and an Off-site Copy with restic
To back up a Linux server, dump the databases to files, then copy those dumps and your important folders (/etc, the web roots, /home, /root) to another machine, on a...
How to Block or Disable Normal User Logins in Linux?
To Block User Logins Using /etc/nologin File
This can be used to block user login by manually creating the file as follows.
# vi /etc/nologin
Add the message...
How to Change Exim mail server IP address in cPanel server?
By default, Exim sends outgoing mail using the server's main IP address. You can change this, which is often used as a temporary workaround while a particular IP is...
How to Change Runlevels (targets) in SystemD?
Systemd is a modern init system for Linux: a system and service manager which is compatible with the popular SysV init system and LSB init scripts. It was intended to...
How to Change UUID of Partition in Linux Filesystem?
UUID stands for Universally Unique IDentifier of a partition. This ID is used in a few different places to identify the partition. Most commonly this would be...