Linux
How to find installation date Linux
How to find installation date Linux The easiest way – determine when the file system was created # tune2fs -l /dev/sda1 | grep 'Filesystem created:' Filesystem created: Wed Apr 6 11:19:06 2016
Linux
How to find installation date Linux The easiest way – determine when the file system was created # tune2fs -l /dev/sda1 | grep 'Filesystem created:' Filesystem created: Wed Apr 6 11:19:06 2016
Linux
VestaCP Forbidden You don’t have permission to access /vstats/ For fix: chmod 744 /home/admin/web/example.com/stat
CentOS
How to determine which php.ini config file loaded ? Just type: # php -ini phpinfo() PHP Version => 5.5.9-1ubuntu4.16 System => Linux host 3.13.0-85-generic #129-Ubuntu SMP Thu Mar 17 20:50:15 UTC 2016 x86_64 Build Date => Apr 20 2016
CentOS
How To Disable SELinux on CentOS 6 Edit configuration file and set SELINUX=disabled vi /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled
CentOS
How to Install vsftpd Server on CentOS / RHEL What is vsftpd? vsftpd (very secure FTP daemon) is an FTP server for Unix-like systems. vsftpd is the default FTP server in the Ubuntu, CentOS, Fedora, RHEL Linux distributions. Step One – Update your Linux System and Install vsftpd server on CentOS
CentOS
How To Configure Static IP On CentOS 6 Configure static IP on interface eth0 vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" BOOTPROTO="static" HWADDR="00:41:36:94:45:DE" #Replace with your NM_CONTROLLED="yes" ONBOOT="yes"
CentOS
CSP – Secure Copy Protocol scp -r /path/to/local/dir user@remotehost:/path/to/remote/dir
CentOS
yum install openssh-clients
CentOS
Exim is a message transfer agent for Unix systems developed at the University of Cambridge. Remove all messages from the Exim queue: # exim -bp | exiqgrep -i | xargs exim -Mrm Most useful Exim commands list: exiwhat #print what exim is doing right now exim -bp #print a list of the messages
FreeSWITCH
Verto (VER-to) RTC is a FreeSWITCH endpoint that implements a subset of a JSON-RPC connection designed for use over secure websockets. This allows a web browser or other WebRTC client to originate a call using Verto into a FreeSWITCH installation and then out to the PSTN using SIP,
CentOS
In this article i will show how to know monitor who is pinging my server with tcpdump Linux utility. tcpdump packet analyzer. In our case it will help us figure out the IP address where the ICMP requests come from. If you dont have installed tcpdump on your server please
CentOS
Install locate on CentOS and Debian Use the following commands : Debian : apt-get install locate CentOS : yum install mlocate