Ubuntu


-----
Raspianpi Ubuntu Build steps:

- When you return from vacation figure out the file block size to write the image on the SD.

- Install Ubuntu on the Raspberry Pi:




 
In other words:
sudo dd if=~/Downloads/ubuntu-15.04-snappy-armhf-raspi2.img of=/dev/rdisk2 bs=32m

----- 
- Make Linux Networking Easier
-----


Neofetch - get all the information you need off of Linux:



privacyIDEA authentication for Ubuntu:  https://mail.google.com/mail/u/0/#inbox/1562780342c6bdd2

PEN testing tools: https://www.wormly.com/tools 


Mac Security - KickStart:    https://support.apple.com/en-us/HT201710

How to check if SSH running on Linux: ref

This is how to force the Time Capsule Wifi to act as DHCP, instead of using the Zylinx: ref

Ubuntu terminal colors: askubuntu.com



Routing: put a DNS in /etc/resolvconf if you can't resolve domains. Here's how: ref


Check Ubuntu version: lsb_release -a

How to harden Mac security: REF

How to manage guest additions in VB: ref

Complete steps for installing Ubuntu in Virtualbox on a Mac with virtual Apache web sites for multiple domains named hosting, MySQL, PHP with ProFTPD for website management from Dreamweaver on an iMac.

1. Ubuntu Installation with LAMP steps: YouTube
2. Create apache vhosts  (REF
3. "chown -R username /var/www/vhost_dir" so you can sftp files to the vhost_dir 
4. setup GCC (REF
5. secure SSH (REF)
6. Forget MAMP. You're now running virtualized, scalable, secure Ubuntu !

Useful Commands:
$ sudo ln -s /home/me/public /var/www - create a symlink
$ history - display command history
$ history >> filename - place history in this file
$ script - record terminal activities
$ exit - will place a file named typesdript in your home directory
$ reuse previous commands - type first few letters then Page-up
$ compgen -c - lists all the command you could run 
$ vi - commands (REF)
$ sudo apt-get install firefox
$ display file permissions (REF)
$ vi copy and paste commands (REF)
$ share files between Ubuntu and OSX (REF)
$ color meanings in terminal (REF)
$ the problem with /var/www in Ubuntu (REF)
$ default file permissions for PHP user www-data (REF)
$ OSX host Ubuntu guest and Ubuntu Samba Share (REF)
$ LowFatLinux is a good reference (REF)
$ locate file
$ cp file1 file2, cp document /home/user1/; cp document ~ (copy to your home dir)
$ cd - as usual, however, 'cd' typed alone will take you to your ~.
$ mv file1 file2
$ rm file
$ chmod - change mode owner/group/others -rwxrwxrwx
$ chown - change owner, ex "sudo chown -R user:group /var/www" - note that group is not required.
$ File permissions: 
7 = 4+2+1 (read/write/execute)
6 = 4+2 (read/write)
5 = 4+1 (read/execute)
4 = 4 (read)
3 = 2+1 (write/execute)
2 = 2 (write)
1 = 1 (execute)
$ chgrp - change group
$ cat - print file to screen "Q" to quit
$ more - print file to screen and pause when it fills up "Q" to quit
$ less - print file to screen and use "B" to backup, "space" to move forward, "Q" to quit
$ rmdir /tmp - remove dir, rm -rf /temp - recursive file delete
$ locate and find commands 
$ apropos (ex. apropos emai)


ubuntuserverguide.com   Review this sometime.

10 linux cut commands to select columns REF

Evaluate Cudatel.com for a VOIP solution for the offices.

Safari Shortcuts
CMD-L - select address field
CMD-L - select current track playing in iTunes
CMD-Option-Shift-V - paste and matche style
CMD-Option-I - view information for multiple files
Shift-Option-arrrow - select entire word
CMD-Shift-arrow - move through Safari tabs
--> CMD-Tab-Option (release Option last) - open current window in Application so you don't have to click it



Ċ
Marc Curvin,
Mar 6, 2013, 3:03 PM
Comments