Category / Linux

  • For years I have been looking for a all in one windows / linux / vnc solution to administrate different working environments.   Windows has mRemote and quite a few others.   While linux had a slim few, none really worked all that well.    This week, I came across pac manager, and so far […]

    Read More
  • curl -s checkip.dyndns.org | sed -e ‘s/.*Current IP Address: //’ -e ‘s/<.*$//’    

    Read More
  • First of all, you have to install google-drive-ocamlfuse by adding the official PPA:    $ sudo add-apt-repository ppa:alessandro-strada/ppa $ sudo apt-get update $ sudo apt-get install google-drive-ocamlfuse  _   Now you you have to add your username to the (executing)- fuse group: NOTE:  you have to replace  ?your-username?  with your real username that you use […]

    Read More
  • I starting having issues with my old nas server,  a HP ex 495.   Windows would not boot.    After messing almost a day trying to fix windoz,  I came across this how-to.   I now converted it to a FreeNas linux device. The original post can be seen here: How to install FreeNAS on […]

    Read More
  • First we need to install some dependencies, some you might already have installed: yum install sendmail sendmail-cf sendmail-doc cyrus-sasl-{lib,plain} change to /etc/mail directory cd /etc/mail edit sendmail’s sendmail.mc configuration file and add/change the following ## cp sendmail.mc{,.orig} ## vim sendmail.mc define(`PROCMAIL_MAILER_PATH’, `/usr/bin/procmail’)dnl define(`confAUTH_OPTIONS’, `A’)dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN’)dnl define(`confAUTH_MECHANISMS’, `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN’)dnl  FEATURE(local_procmail)dnl  DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA’)dnl […]

    Read More
  • If you ever wanted a hostname for your home computer, but did not want to spend a lot of money, use noip.  They offer free hostnames that will translate to your home internet ip address.   Sure makes it easier to remember that then a long ip address. First you need to make an account and […]

    Read More
  • April 4, 2015 - rob

    SSH login without password

    First log in on A as user a and generate a pair of authentication keys. Do not enter a passphrase: a@A:~> ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/a/.ssh/id_rsa): Created directory ‘/home/a/.ssh’. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been […]

    Read More
  • I recently got a new server to host the website.   I ran into some trouble getting the database working properly and did not want to install phpmyadmin.   After a few searches, I finally found some help.   Will post the link below, but the main steps were pretty simple: Using mysqldump to backup/restore database This is […]

    Read More
  • March 2, 2015 - rob

    Some very useful rsync arguments

    Rsync is a way to copy or sync to different folders.  This could be local copies, over network shares, or even to a different computer.   While the man page for rsync shows all the commands available, here are a few that are used quite often and are helpful: -a   or   –archive -a is equivalent […]

    Read More
  • February 3, 2015 - rob

    Manage Linux Password Expiration

    1. List the password and its related details for an user Syntax: chage –-list username (or) chage -l username 2. Set Password Expiry Date for an user using chage option -M Syntax: # chage -M number-of-days username 3. Set the Account Expiry Date for an User chage -E “2009-05-31” user 4. Force the user account […]

    Read More