When you’re browsing your files using your Directadmin panel, it is useful to deal with ZIP archives too. This feature is still in beta, but you’re welcome to use it as it’s quite easy to enable it.
First of all we need to update our Directadmin installation. To do this we need to log in as admin and proceed to updates section, just as shown on the screen.
After our DirectAdmin installation is updated, we can process to add ZIP support to our system, if it is not yet added. Just log in via SSH and run the following command: yum install zip. The output should be like this, if you don’t have zip installed before:
Then we need to go to our DirectAdmin installation directory and add zip zupport to Directadmin Configuration file. Most probably it located at /usr/local/directadmin/conf/ and is named directadmin.conf. We need to add a string to the end of file: zip=1. This will enable ZIP support.
And the last thing we need to do is to ensure that zip zupport is enabled in your DirectAdmin skin template file:Mine was found at /usr/local/directadmin/data/skins/default/user/filemanager/ and you’re welcome to find yours if you’re using any template but default. You need to ensure the following string is present in main.html:
.<select name=type><option selected>tar.gz</option><option>zip</option></select>
If your Directadmin version is up to date, you don’t need to do anything with this file, but perhaps you will need to replace .tar.gz string with the string above. Your main.html file should look like this:
Then restart your Directadmin and enjoy. That’s all. The detailed description about this feature can be found at Directadmin official site.