Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
This has to be the easiest way to perform a speedtest or bandwidth test on a linux box, perform the following: wget -O speedtest-cli chmod +x speedtest-cli ./speedtest-cli You should end up with something like this
Setting up expires on Plesk is a little bit tricky, if you’re like us, under the Nginx settings in domains you’ll have Serve static files directly by nginx enabled, at the same time the extensions included will have the extensions you want…
We recently had to run rsync excluding some identically named folders. To explain: /var/www/html/cms/admin/uploads – (exclude) /var/www/html/cms/content/uploads – (sync) Here is how we got around to getting this done rsync -av –exclude=/admin/uploads/ /var/www/html/cms/ /var/www/html/syncfolder/ –progress Flags: -a: Archive mode -v: increase verbosity…
We recently came across a server which had an outdated ioncube load running, follow below to update to the latest version. Search for the location of ioncube loader files on your server, run the following command: find / -name ioncube_loader_lin_5.3.so…
I really haven’t been able to get to the bottom of why this occurs by I’m posting a solution that worked for me below: For us, this occurred when running the following while set in cron /usr/bin/curl After looking…
You need to set this up on the server which hosts the SVN repository. Enter the repository and you should see a folder labelled hooks, create a new file labelled pre-commit without any extension and paste the following code inside #!/bin/sh REPOS=”$1″ TXN=”$2″…
Found this gem of a script at: find -name ‘*.zip’ -exec sh -c ‘unzip -d “${1%.*}” “$1″‘ _ {} \; For this to work you need to be at the same level on shell as the zips you need to…
I recently had to extract a database from a full backup, I only needed one database hardly 1MB in size but the whole backup exceeded 3GB and didn’t want to import all of it. Below is the command I found…
Install the wandisco repo to get the latest version of subversion for CentOS [WandiscoSVN] name=Wandisco SVN Repo baseurl= enabled=1 gpgcheck=0 Issue the following at shell yum install subversion mod_dav_svn Restart httpd, it’ll do it itself while installing but go ahead…
Start off by adding a new user to Mysql CREATE USER ‘test123’@’localhost’ IDENTIFIED BY ‘testpassword123’; You should see a Query OK message from Mysql signalling that it run without error. Now grant privileges to that user on a database GRANT ALL…