How to install WordPress Network for Hosting Multiple Blogs Easily

WordPress Network was previously installed using WordPress Mu, which has since been discontinued. However since WordPress version 3, you can have more-or-less the same functionality using WordPress.

A multisite network is your own version of WordPress.com where your users can create their own blog / sites on demand. You can restrict it so only you, the administrator, can create new sites.

A multisite network is a collection of sites that all share the same WordPress installation. They can also share plugins and themes. The individual sites in the network are virtual sites in the sense that they do not have their own directories on your server, although they do have separate directories for media uploads within the shared installation, and they do have separate tables in the database.

The detailed instructions can be found in WordPress Multi User.

Single line command to install PHP5, MySQL, Apache2, XCache, PHP-Pear on Raspberry Pi

Installing LAMP on Raspberry Pi is very very simple. It takes a single line to execute on terminal / console. Continue reading “Single line command to install PHP5, MySQL, Apache2, XCache, PHP-Pear on Raspberry Pi”

How to auto-update CNote, Simple CLI Note Taking Application, to Google Drive Cloud

Super simple command line note taking tool for tracking breadcrumb trail during application development…

CNote is a super-simple command line based Note taking application which we use to track changes, take notes before signing-off etc. during development. It can be used on all variants of Unix, Linux and Mac OS. It’s power lies in quickly taking notes as you are working, without interrupting your flow. The notes are searchable and stored in a viewable text file. You can download it from CNote – CLI Note Taking Application site or directly install it from command line with the following:

wget --no-check-certificate -q -O- https://raw.githubusercontent.com/angsuman/cnote/master/install.sh|bash -

CNotes is super-fast because it stores the notes locally, specifically in ~/.notes.

As we started piling up valuable notes you may start thinking what-if you machine crashes?

One simple solution is to create a symbolic link to it from DropBox managed folder. This ensures DropBox updates it in their cloud whenever new notes are added.

DropBox Nazi says: No DropBox for you!

Incidentally I use CentOS 5.1.x (latest update) on Desktop, which is not supported by DropBox. I also use Raspberry Pi, which also is not supported by DropBox.

Enter Google Drive to the rescue

I tried to make DropBox command line tool work but I found out that DropBox command line client will not work without full installation. This is not possible as CentOS 5.1.x and RaspBerry Pi are unsupported platforms.

Google Drive has a nice third-party command line tool called gdrive (download link) which is just right for my purpose. So instead of wasting more time trying to make DropBox work on RaspberryPi etc., I decided to use Google Drive cloud for backup. I used an unused Google Account for this purpose.

Get access to Google Drive

    • Open a browser and login to Google with the account you want to use.
      • Note: This may be done later too.
    • Upload ~/.notes to Google Drive for the first time:
      gdrive upload ~/.notes
      • This will provide an url which you have to open in your browser to allow gdrive to access files and directories in your Google Drive. After allowing you will be given a code which you will have to copy-paste in command line for the first upload to complete
      • After upload it prints a string (something like: 0B8qjyN8TMP9zSmRYQzhNTaBcdEFg) which is the ID of the file. Copy it. This magic key is the identity of your file on Google Drive.

Backup CNote in Google Drive

    • Now create a file named (for example) updateNoteonGDrive and open it in a text editor and paste the saved file ID.
      nohup ~/bin/gdrive update 0B8qjySampleIDQzhNTaBcdEFg ~/.notes >/dev/null 2>&1 &
  • Make this file executable with chmod:
    chmod 700 ~/bin/updateNoteonGDrive
  • Run it by hand to ensure that it properly updates your notes file in Google Drive.
  • Now open ~/.bashrc with a text editor and invoke this after saving your note like:
    n() {
            echo `date "+%Y-%m-%d %H:%M:%S"`'> '"$*" >> ~/.notes
            tail -1 ~/.notes
            updateNoteonGDrive
    }
  • This ensures every note is backed up in Google Drive. The backup process runs in the background so press Enter and continue with your work. Even if it fails because Internet is down, it will update when you write the next note.

Questions:

Barracuda’s Copy and CudaDrive online storage services will be discontinued on 1 May 2016

Last August, LaCie announced its Wuala service was to close in November 2015, and now Barracuda has announced its Copy and CudaDrive services will close on 1 May 2016.

Paying customers are no longer being charged, and all users have until that date to ensure they have copies of all their files in another location.

DropBox, Google Drive and Microsoft’s OneDrive have the lion’s share of the cloud storage mind-share and they are going strong.

DropBox client on Raspberry Pi

DropBox installer client can be installed from source on Raspberry Pi.

The client expects GUI with nautilus installed which is not available by default on Pi. The installation however succeeds.

You will need to install libnautilus-extension-dev and python-docutils:

apt-get install libnautilus-extension-dev and python-docutils

Then install using:

./configure;make;sudo make install

However the whole process is in vain as it cannot install the daemon (server) dropbox with:

dropbox start -i

In the end you get the dreaded:

Error: Platform not supported

Would you like a solution – would you like to use Dropbox on Raspberry Pi?

Drop me a comment below and I may be able to help.

What exactly are Values of the Two-Year College or university.

Sophisticated training within this country is immediately turning into a need on the venture team rather then an extravagance. Within the earlier the consumers who had a secondary faculty workout however experienced the prospect to fabricate a superior earth for by themselves and their families. Those people times are soon becoming an additional dieing coal for the previous. Relating to the off opportunity you would want to have sizeable buying possibilities amid your lifetime that you are thoroughly limited by your grasping future and also the degree of instruction you could have gotten.

The uplifting information is that you you should not have to possess a acquire or bust process on the subject of instruction. You may initiate by creating toddler strides on the subject of enhanced schooling. Within the off likelihood that you just have a very junior faculty within your basic vicinity, this is without doubt one of the top assets for starting up your college instruction at any section inside of your lifetime. Most junior schools supply you with classes at distinctive moments amid the working day and evening, even some on Saturday preserving in mind the top purpose to oblige understudies of assorted ages and foundations.

Junior colleges moreover present you with a extraordinary opportunity to start out your grasping mission inside of a way that could be a brilliant deal a good deal more simply decent with the natural nationwide than an all out college. These colleges are to the outstanding extent employee educational institutions in spite of this usually there are one or two that permit understudies the know-how of dwelling over a college grounds in a very much reduced expense than most realistic colleges demand for the very same or essentially similar to gains.

Junior colleges besides that permit you to look into your choices in case you are not frequently specific what heading you wish on your teaching to just take while not paying out such a higher expenditure for that method. In the event that you realize the vocation way you want to choose you can locate a two-year degree plan which will have you out of university as well as in a occupation a good deal ahead of a four-year program will allow. Around the off chance that that won’t adequate information for you, a sizable part of the two-year initiatives of study that are presented with the junior higher education stage could possibly just go very easily into 4 yr certification software programs within the faculty stage.

Junior schools provide a wonderful begin for a few persons who are trying for leading-edge education it doesn’t matter if to aid their professions or just to discover gratification on an individual stage in life. You can get lots of excellent initiatives in skilled fields and scholarly fields that can be investigated and experiments over the junior college or university level.

For graduating secondary faculty understudies junior schools aid understudies help in to the alteration from secondary school to school without encountering the best way of everyday living stun that a number of schools can place understudies because of. You will find that there are commonly many odds to meet instructive in addition to social must have for the junior school degree for understudies which are occupied with looking for after a junior faculty exercise.

You ought to likewise discover that junior schools are much much less demanding to expending as regards to putting aside funds and financial investment funds for possibly your very own school preparation or maybe the instructive bills of one’s youngsters. Experiencing them go to a junior faculty for just a long time then exchanging to a University can spare many income and give you a small amount of intellect that your little ones are as however accepting an outstanding stage of instruction.

Seriously, relating to the off opportunity that you’ll be seeking an astounding good quality with regards to instruction you’ll do by yourself or your kids an personal injury in case you do not appearance on the junior school solutions as part of your typical vicinity in advance of dove in and leaping in the college way of lifestyle. You will discover that junior colleges generally give you an equivalent amount of instruction for your essential classes that number one and 2nd yr undergrads on a regular basis just take, they are simply a vastly improved esteem for that cash, and they are an outstanding attributes to the consumers that are trying to juggle their teaching with family members and work responsibilities.