Curl is a library that lets your make HTTP requests in PHP. Most hosting providers have cURL installed already but if you have to install it on your self managed server with Apache and PHP5 installed, then follow this step by step process. 1. Install packages
| || |
apt-get install curl libcurl3 libcurl3-dev php5-curl php5-mcrypt
2. Open php.ini and add extension (my php.ini… Read more »
You might need to add users to sudoers but when they elevate to sudo they will be prompted for a password, this process will add the user to sudoers and also allow them to run commands without being prompted for a sudo password. This works for Linux Ubuntu or Debian Process 1. Install Sudo (if not… Read more »
You might need to send files between Linux servers, a great way to send files quickly and securely is by using the SCP command. Sending to a Host
| || |
scp /home/user/file.ext user@host:/home/user/folder
scp = The secure file transferring program /home/user/file.ext = The full path of the file you want to send user@host = Username at host you want… Read more »
What is Varnish? (From Wikipedia) Varnish is an HTTP accelerator designed for content-heavy dynamic web sites. In contrast to other web accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin servers, Varnish was designed as an HTTP accelerator. Varnish is focused exclusively on HTTP,… Read more »
Setting the locale in Linux Debian or Ubuntu is quite easy, usually it is because you get the following errors:
| || |
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_AU.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Module status already enabled
To fix the problem, run the following command:
Select the location Select the locale as default Should you have any questions, comments or suggestions, please don’t hesitate to comment below. If you… Read more »