Here are some ways you can encrypt files on a linux system. GPG To encrypt a file with gpg, run You will be asked to enter password. Example boby@hon-pc-01:~$ gpg –symmetric –cipher-algo AES256 -o forums.txt.secure ~/work/MY_FILES/forums.txt boby@hon-pc-01:~$ To decrypt, run
last is a command used to list last logged in users on a linux system. [root@m3722 ~]# last root pts/0 112.133.248.3 Wed Jul 19 21:55 still logged in root pts/0 112.133.248.3 Tue Jul 18 19:58 – 20:00 (00:01) root pts/0
To get /etc/rc.local working on CentOS 7, first you need to set it executable. Now enable rc-local service with command Now start service. Verify it is running properly
Here are some commands to monitor and identify Disk I/O related server loads. iostat iostat give stats about disk i/o usage. Some of the important values are * %iowait = if this value is higher, your server is waiting on
When your server is under load, you need to identify the bottleneck. This can be CPU, Memory or Disk IO. Here are some of the useful commands that help you identify cause of high server load. uptime uptime is the
nmtui (Network Manager Text user interface) is a command line program available in RHEL/CentOS 7 to configure IP address. This is a text based UI, allow you to add IP address to network interfaces. To install nmtui, run To navigate
On a web site using xpanel control panel (free hosting script created with perl), i get error This is because perl-CGI module was missing on the server. On CentOS 7 server, you can install it with command
Free Accounting software https://www.manager.io/ https://www.waveapps.com/
When i install pureftpd with mysql support on CentOS 7 server, i get following error This is because MySql dev packages are missing on the server. Fixed by installing
Encrypt files using OpenSSL Generate random string using OpenSSL Generate Self Signed SSL If you have .crt file, you can find more details about the certificate with command To get details of SSL installed on a web site, use csr