WebExtract is a web-based utility to extract archive files for unix systems. After installing each of unix users can access WebExtract remotely using a web browser and browse their own files and folders on the server and extract archive files remotely.
One of WebExtract usages is when you don't want to give shell access to your users but you want your users to be able to extract their own archive files themselves.
Acctually I wrote it for our shared hosting services so that our customers can extract their files themselves. Because we are using Parallel's Plesk Control Panel which lacks this feature.
GNU General Public License 3.0 (http://www.gnu.org/licenses/gpl.html)
Its supposed to work on all redhat and debian based distros. However I only tested it on CentOS, Ubuntu and Debian.
The only requirement is Python2.5 or higher.
-
Install Python2.5 or higher if it's not already installed:
wget http://www.python.org/ftp/python/2.7/Python-2.7.tgz tar xvfz Python-2.7.tgz cd Python-2.7 ./configure make make install
-
Download WebExtract package from here :
wget http://github.com/downloads/farhadi/webextract/webextract-1.0.tar.gz
-
Unpack it and go to its folder:
tar xvfz webextract-1.0.tar.gz cd webextract-1.0
-
Install it as root:
make install
-
Make sure port 2121 is open on your server's firewall.
-
Its ready. Go to http://yourserver:2121/ and enjoy it.
-
Repeat first two steps of Installation.
-
Run the following command as root:
make uninstall
For now .tar, .tar.gz, .tgz, .zip and .rar formats are supported.
You need to comment out #Default requiretty
using visudo
.
If requiretty is set, sudo will only run when the user is logged in to a real tty
which causes WebExtract to not work properly.
You can change the port in /etc/webextract.conf
.
And don't forget to restart WebExtract for the changes to take effect.
Use /etc/init.d/webextract stop
to stop the service.
Use /etc/init.d/webextract start
to start the service.
Use /etc/init.d/webextract restart
to restart the service.
And use /etc/init.d/webextract status
to see the service status.
Either you can send your reports using WebExtract's issue tracker or contact me directly using email at a.farhadi@gmail.com.