Introducing Samurai

 

samurailogo

Most web sites or app today are hosted on linux machines. With of the 958 million sites (recorded by netcraft – http://news.netcraft.com/archives/2014/04/02/april-2014-web-server-survey.html), Apache 38% + Nginx 15% holding over 50% of the market share.

Linux has many flavours such as Ubuntu and Linux Mint (http://distrowatch.com/). Some flavours are desktop focused capable of running windows applications (https://www.winehq.org/) and others which are server / service based focused; it is also widely deployed as embedded systems (washing machines, fridges, cameras…)

In this article, I am introducing a simple application to kickstart understanding commandlines and simply controlling a popular linux distro. The application is called Samurai. You can use Samurai on Mac OS X as its a flavour of bsd (commands which resemble *inx).

If you are worried of messing up your configuration, you can try out virtualbox to spin up a virtual instance of linux to try (https://www.virtualbox.org/).

Okay so I assume you have lubuntu (https://help.ubuntu.com/community/Lubuntu/GetLubuntu/LTS) PC 64bit, 14.04.2(Trusty ~) installed on virtualbox.

Just visit https://github.com/mirageglobe/samurai and copy the command:

sudo apt-get install curl && sudo curl -L https://raw.githubusercontent.com/mirageglobe/samurai/master/install.sh | bash

In lubuntu run the application LXTerminal and paste in the command. This will install samurai to your system. To start samurai, just run “samurai”.

samurai

Here, you have many options to use. You can install nginx by entering “41” and volia. Its done. Use firefox in lubuntu and type in localhost. Here your first default website is up. Now you can read more about editing nginx (https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-14-04-lts). Obviously you can skip some of them as samurai has already done it for you.

So why use samurai when I can just type it all in or use bash script?

Samurai aims to simplify running common commands rather than memory work. So all (if not most) commands can be run using the numpad.

A useful feature of samurai is command “3” show cmd mode. This will show what commands are running. On the mac, the set of samurai commands are tailored towards mac environment. For example, you can show hidden files using command “14”, show hidden files and then hiding them again with command “15”. Or show your ip address.

Samurai hopes to bring more interest in command line manipulation. Moving on, nothing stops you from running your own bash scripts.

I wish this article helps in bringing about interest in the world of server administration. If you like this application, please fork/star my application on github (https://github.com/mirageglobe/samurai). thanks


Recent Posts
Improving terminal load times · Extracting OVF from VMware ESXI 6.0 · Installing LMDE 2 Betsy · SSL Certificates and Encryption · Machine Learning with Spark · Installing Lubuntu in Virtualbox · Getting started with Docker · Ubuntu upgrade limited boot space · Top 10 Browsers Overview · Taovilla Oracle app beta built using meteorjs · Setting up Debian on VirtualBox · The HomeBrew doctor · Caffeine icon for ubuntu / lubuntu · Updating wordpress without FTP · Updating wordpress without FTP · Preinstalled Languages on mainstream OS · Reminisce of Xcom · Java install on Ubuntu · Display image as ASCII art · VirtualBox Resizing Lubuntu Guest Linux · Introducing Samurai · Macbook Pro Key mapping for Lubuntu · Common Apache Nginx commands · Refreshing Git versioned files · Basic Environments for Jira · Converting a hg mercurial to git repository · Long term domain name costs comparison · SVG Graphing · 2 ways to Php install on mac · Introducing Samurai and Installing Meteorjs to own server · Improving the speed of Linux Mint · SVG graphics with Javascript · FTP Clients for Mac OS X · Windows Apps on Mac · Programming Languages Compared · Hackers Natural Cure · Publishing on Ebooks · Editors such as SublimeText2 · Good Coding Practice · LMDE Linux Mint Debian Edition · Heroku Webapp · Hadoop Single node 32bit on 12.10 Mint XFCE · Tracing User Behaviour FRUBO · Installing Nginx on MacOSX · Installing Ruby on MacOS X · Turn off annoying compress outlook message · HTML5 Apps on Cordova PhoneGap with MacOSX · Choosing and using Latex · Reviewing Javascript World · Draw up an Ubuntu Server Environment · Draw up a Lightweight Mail Server · Draw up a Web Database · Php CMS and Frameworks · Drawing up a Web Service · Draw up a Virtual Cloud Server · Unlocking and Flashing your ZTE Blade · Pip error in Python with Homebrew · HomeBrew for OSX · Windows and Linux Desktop Security · TexMaker with Glossary on Mac · Quick way to OpenStack on Lubuntu · Ancient IT Dictionary · TeaTime for Basic Python · CVs and Jobhunting · Chinese Input on Linux Ubuntu · Research in Computer Science · Reviewing Applications on My Mac · Reviewing Applications on My Windows · Installing Windows XP · Installing wireless on Linux Ubuntu or Mint · Restoring an Amazon EC2 Backup · Mac Update PASV problem · Reviewing Green Computing · Consuming the Cloud Storage Space · Using Cherokee and WordPress Whine · Disabling Lubuntu Screensaver · Installing Lubuntu from USB drive · Searching for a Micro Mini CMS · ReStructuredText in Python · Rackspacecloud Vs Amazon · Hacking your old PSP · Attending Atlanta 55th MMM Conference · Smart devices for everyday use · Creative Programmers · Linux Settings · Embarking on Further Education · Machine Learning · Mac Tips – Viewing hidden files on desktop · Creating PDF files for free · Online Media for All · C# ASP Settings · SVN Git and Mercurial Versioning · Getting the last inserted id using datasets · Think Lucky and be Happy · AngieGallery Design · AceTravel Design · Letter to Mum · Prison Vs Work · Irish Daughter · Are you a carrot, an egg or a coffee bean? · Home Media Entertainment Setup · Collection of Interesting sites · Studying in London · Great Oriental eats in London · CMS Joomla, WordPress, Drupal compared ·

© 2017 · MirageGlobe · using zenifywordpress theme by www.dracoturtur.com ·
  · RSS Feed