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
On CentOS 7 server, after adding SSL virtualhost entry, i got error Jul 16 10:27:56 mon1 httpd[6620]: AH00526: Syntax error on line 359 of /etc/httpd/conf/httpd.conf: Jul 16 10:27:56 mon1 httpd[6620]: Invalid command ‘SSLEngine’, perhaps misspelled or defined by a module