When on a UNIX based computer you can connect to another terminal via SSH using this command The -p defines the port, while 22 is the default port for SSH some servers change their port to ward off potential hackers. Make sure you know what the port number is before…
Category: UNIX Shell Scripts
OpenSSL Generate Salt, Key and IV
The above code will generate this result (Make sure you set your MySuperSecretPassPhrase to something unique)
Unix Shell – Set/Change IP
By default UNIX computers/servers are setup with a DHCP/Dynamic IP address, below is how to change the IP to static Before you do either process understand what these settings should be: Network Interace you plan to modify (eth0, eth1, etc.) IP Address (address) Subnet Mask (netmask) Default Gateway (gateway) Whether…
Remotely Find Raspberry Pi IP
First install nmap Then run IP addr show and look for something like ‘inet 10.1.1.68/24 brd 10.1.1.255’ Now based on the inet IP CIDR type You should see something like this Nmap scan report for 10.1.1.54 Host is up (0.00088s latency). MAC Address: B8:27:EB:18:E0:B3 (Raspberry Pi Foundation) Referenced from: http://trevorappleton.blogspot.com/2013/03/remotely-find-raspberry-pi-ip-address.html
Raspbery Pi Setup Proxy Server
Following the steps on Penguin Tutor I added a bit of the terminal commands to make some tasks quicker. Using these instructions will help add more to the OpenDNS Family Shield post. If you haven’t setup your regional settings yet follow these steps Make sure this is in the .xsessionrc…
Ubuntu – WordPress Install
These steps are based on Ubuntu 14.10 Server 64-bit but can be applied to virtually any Debian based UNIX distribution.
Useful CSVKit Commands
References: https://csvkit.readthedocs.org http://www.anthonydebarros.com/2011/09/11/csvkit-data-files/ https://jonlabelle.com/snippets/view/shell/csvkit-commands http://jeroenjanssens.com/2013/09/19/seven-command-line-tools-for-data-science.html http://csvkit.readthedocs.org/en/latest/tutorial/3_power_tools.html https://csvkit.readthedocs.org/en/0.9.1/scripts/csvclean.html
Install CSVKit
I personally use Ubuntu, if you don’t the commands may be slightly different. To install:
Ubuntu Web Development Server
This is a project I’ve been meaning to rewrite, as I get it going I’ll add screen shots and examples but for now I’ll work on the shell scripts After installing base Ubuntu, set the root/sudo password so you can do installs cleaner. After the below you will asked for…