Controlling The Cache in PHP Using Edge Side Includes in Varnish posted 7 months ago
To Control the cache in php 1. Use `set beresp.do_esi = true;` and 2. set ttl for e.g. `set beresp.ttl = 0s;` at backend. 3) On the php template use <esi:include src="/to/path">
Instruction on Upgrading PHP 7.2
How to fix sudo: no tty present and no askpass program specified error? posted 7 years ago
Once you comment out #Defaults requiretty on /etc/sudoers you get this error if you don't allow user to use command without prompting for password. The fix is easy thought. Allow user to use the command without prompting for password in /etc/sudoers file.
Sudo: Sorry, You Must Have a Tty to Run Sudo posted 7 years ago
This is generally enforced by having Defaults requiretty in the /etc/sudoers. No panic, there is an easy fix! Comment out #Defaults requiretty on /etc/sudoers
Installing pdftk on Centos 7 posted 7 years ago
The problem with installing pdftk on Centos 7 is that if has dropped support for libgcj. But you can install to package to install pdftk on centos7.
How to create a symbolic link posted 7 years ago
Use this command ln -s <real folder> <link folder> to create symbolic link. With this command <link folder> will actually contain everything <real folder> have.
Speed up your task with Bash Shell Aliases for Linux / Unix / Mac OS X posted 7 years ago
Instead of typing a long command, use a Bash rc (keyboard shortcut) on Linux / Unix / Mac OS X to speed up your day to day task.
RATS, Ubuntu Sucks! Unity Desktop Won't Load Fully posted 8 years ago
On Updating Ubuntu OS sometime the Unity Desktop doesn't fully load. This short and sweet article shows how to reinstall Ubuntu Unity Desktop without loosing your sleep.
Installing XMLLint to Parse and Format XML Data posted 8 years ago
XML Lint is a command line tool that allows you to format and Parse Badly Formed XML Data. Instruction on installing XMLLint on Linux (Ubuntu, Centos, Fedora, openSUSE) operating system.
Using Access Contol List (ACL) to veiw and set files and folder permission posted 8 years ago
Learn how to use setfacl and getfacl to set and view the files and folder permission. Using setfacl will ensure all the files and folder will have a permission specified by setfacl.
Copy files and folder to remote server having different port number posted 8 years ago
Find out how to copy files and folder from your local computer using linux to remote linux server with different port number other than 80 or 8080.