Random blog article

File sharing in linux (and other OS)

Seems like it's a trivial task but NO. You can't use Samba because of OS compatibility, FTP is too hard to understand and install and other things.

But there is a simple way to do this - use nodejs http-server!
If you're using your PC for development you've already should hav nodejs and npm.

Install the http-server package globally:

npm install -g http-server

Goto the folder which you want to share and type in Terminal:

Update Drupal as fast as possible

Hey there, you happy users of free CMS/CMF Drupal! Be warned and don't forget to update your drupal sites!

Every day the the tons of net-spiders are searching holes in websites with help of the latest reports of vulnerability in cms.

They can exploit yours site in seconds if they found a hole in your website. And it's all about you forget or don't know how to update your cms. You've got a great shared hosting if it makes backups everyday. And a good news if there is no worm in backups.

Using APT command in Linux

Apt is a command line utility for install, update, remove and other operations. It manage dep packages in Ubuntu, Debian and distributions that based on it. It consists of most used commands apt-get and apt-cache but differs the default options. Apt was created for interactive use. Most of the commands of apt utility should be executed with sudo premissions.