Essential IT Support Commands Every Beginner
How to Install Nginx, MySQL, PHP (LEMP) Stack on CentOS This guide will help you install Nginx, MySQL, PHP (LEMP) Stack on CentOS machine i.e. Server. LEMP is a software stack comprised of Nginx as Web Server and MySQL as Database server along with PHP as the dynamic content processor for websites. LEMP term is…
Go to system/startup.php and find following lines of code: if (!ini_get(‘date.timezone’)) { date_default_timezone_set(‘UTC’); } Replace with following lines of code by changing to your timezone date_default_timezone_set(‘Australia/Sydney’); Synchronize PHP and Database Timezone The query we use to set database timezone if you are super admin is below: SET time_zone=’offset’; But everyone has no super admin access…
The way to reset the root password on centos7 is totally different to Centos 6. Let me show you how to reset root password in CentOS 7. 1 – In the boot grub menu select option to edit. 2 – Select Option to edit (e). 3 – Go to the line of Linux 16 and…
5 0 * * * /bin/find /tmp/ -type f -print0 | xargs -0 rm
Send A Test Mail via Exim Command line Sending a test mail from a server with a configured exim is easy as pie. From your user shell: tell exim that we want to send a mail to an recipient and tell us about the details of the sending procedure $ exim -v receipient@foo.bar Tell exim…
Disk Extend EXT2/3/4 and XFS root partition without LVM Looking for steps to grow your KVM VM/Container’s partition after extending root OS size or extending ext2/3/4 and XFS root partition without LVM at runtime. Steps to extend root partition without LVM are quite easy and can be followed without going into many technical details. This…