Cloud Commander – A web file manager with console and editor
About Cloud Commander
In this brief tutorial, let us see how to install Cloud Commander in Ubuntu 16.04 LTS server.
Install Cloud Commander
As I mentioned earlier, Cloud Commander is written using Node.Js. So, in order to install Cloud Commander we need to install Node.Js first.
Install Node.Js on DEB based systems
To install Node.Js on DEB based systems like Ubuntu, run the following commands one by one from the Terminal:
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install nodejs
Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libuv1 The following NEW packages will be installed: libuv1 nodejs 0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded. Need to get 3,219 kB of archives. After this operation, 13.4 MB of additional disk space will be used. Do you want to continue? [Y/n] y
Install Node.Js on RPM based systems
On RPM based such as RHEL, install Node.Js using the following commands as root user:
curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
yum install -y nodejs
After installing Node.Js, run the following command to install Cloud Commander:
npm i cloudcmd -g
Congrats! Cloud Commander has been installed. Let us go ahead and see the basic usage of Cloud Commander.
Getting started with Cloud Commander
Run the following command to start Cloud Commander:
Now, open your web browser and navigate to the URL: http://localhost:8000 or http://IP-address:8000.
From now on, you can create, delete, view, manage files or folders right in the web browser from the local system or remote system, or mobile, tablet etc.
As you can see in the above screenshot, Cloud Commander has two panels, ten hotkeys (F1 to F10), and Console.
Each hotkey does a unique job.
- F1 – Help
- F2 – Rename file/folder
- F3 – View files and folders
- F4 – Edit files
- F5 – Copy files/folders
- F6 – Move files/folders
- F7 – Create new directory
- F8 – Delete file/folder
- F9 – Open Menu
- F10 – Open config
Cloud Commander console
Click on the Console icon. This will open your default system’s shell.
From this console you can do all sort of administration tasks such as installing packages, removing packages, update your system etc. You can even shutdown or reboot system. So, Cloud Commander is not just a file manager, but also has the functionality of a remote administration tool.
To create a new file or folder Right click on any empty place and go to New ->File or Directory.
You can view pictures, watch audio and video files.
The other cool feature is we can easily upload a file to Cloud Commander system system from any system or device.
To upload a file, right click on any empty space in the Cloud Commander panel, and click on the Upload option.
Select the files you want to upload.
Also, you can upload files from the Cloud services like Google drive, Dropbox, Amazon cloud drive, Facebook, Twitter, Gmail, GtiHub, Picasa, Instagram and many.
To upload files from Cloud, right click on any empty space in the panel and select Upload from Cloud.
Select any web service of your choice, for example Google drive. Click Connect to Google drive button.
In the next step, authenticate your google drive with Cloud Commander. Finally, select the files from your Google drive and click Upload.
Update Cloud Commander
To update Cloud Commander to the latest available version, run the following command:
npm update cloudcmd -g
As far as I tested Cloud Commander, It worked like charm. I didn’t face a single issue during the testing in my Ubuntu 16.04 LTS server. Also, Cloud Commander is not just a web-based file manager, but also acts as a remote administration tool that performs most Linux administration tasks. You can create a files/folders, rename them, delete them, edit them, view them. Also, You can install, update, upgrade, and remove any package as the way you do in the local system using Console option. And, of course, you can even shutdown or restart the system from the Cloud Commander console itself. What do you need more? Give it a try, you would know.
That’s all for now. I will be here soon with another interesting article. Until then, stay tuned with OSTechNix.