So you have a plesk backup file and you want to extract and open the files from it? No problem. This blog will show you how. The file is a mime file. The "mpack" package will let you unpack it. First we install the "mpack" package PLAIN TEXT CODE: sudo apt-get install mpack Let's imagine [...]
Archive: server
Posts Tagged ‘server’
Found this great article on writing bash scripts defensively. Glad to say most of the advice we are already following with our bash scripts however there are a couple of new things I intend to roll in on Monday. Recommended reading for anyone scripting in Bash. http://www.davidpashley.com/articles/writing-robust-shell-scripts.html More Reading:Server Migration – Pipe Tar from Server [...]
If you need to transfer a large amount of data from one server to another you might normally create a large tar archive, send it across and then untar it on the other end. However a slightly slicker and easier repeated way of doing this is to pipe tar directly from one server to the [...]
Ever wondering how you could gain access into any Control panel(c-panel) account when you confidently know only the username of the c-panel account. I tried doing this by actually using the Web host manager (WHS) password, and it worked brilliantly for any c-panel user account. But the only gotcha I found out was that I [...]
If you are handling a server migration and would like to have a scripted way to copy the crontab from one machine to the other then you might like this little snippet. PLAIN TEXT CODE: ssh -p2020 root@123.123.123.123 'crontab -l' | crontab - This will get the contents of the root crontab from one server [...]
Due to our load-balancing router being a little "harsh" on closing connections that appear to be unused, ssh often sits and hangs. Using a standard ssh config option though we can set a server keep-alive (on the ssh client, which also keeps sshfs alive) In the "~/.ssh/config" file, simply adding the following keeps the connection [...]
When migrating one server to another you often hit bumps in the road. Todays was transferring a database from one server to another. During this standard procedure I found that the restored database was missing a few tables. Irritating as Magento doesn't like missing tables. Digging down into the backup and extracting the first missing [...]
Often we will be asked to work on a site and have to test backend features but without asking for admin passwords, so we need a way to create admin users without admin access. Of course we already have file and database access. For this, we use phpmyadmin or adminer to give us database access [...]
If you use Netbeans along with Xdebug to facilitate step through debugging when coding PHP then you may come across this issue. It's possible to get it into a semi working scenario where you can have working breakpoints and see variable values but you have no idea which bit of code you are actually stepped [...]
If you are looking to gain the most out of your Magento hosting and to optimise your Magento hosting stack, here are a few top tips that you can try. 1. Ensure Caching is Enabled It may sound obvious, but if you do not have caching enabled then the performance of your Magento store is [...]