UASDrupal

From Unallocated Space
Revision as of 21:00, 22 March 2014 by Ajstadlin (talk | contribs) (UASDrupal Project, first draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

UASDrupal Project

Development Server Setup

Revised Mar 22, 2014 aj</>

Platform Setup

  • Physical Machine

Alienware M15x, i7, 8core, 8GB RAM, 700GB HD, 1920x1050 Video, Wired Ethernet (DHCP)

  • Virtual Machine (VirtualBox 4.3.8)

Ubuntu Linux/64, 3 CPU, 3072GB RAM, 128MB Video RAM, 256GB VHD (dynamic)
Bridged Ethernet (DHCP for initial setup)

Operating System Setup

Install from mini.iso
In the Package Configuration, Software Selection select the following:
 * Basic Ubuntu Server
 * OpenSSH
Assure Time Zone is correct.  If prompted for UTC Hardware Clock, select NO.
Reboot
  • Ubuntu Setup Continued... Terminal commands are preceded with the Linux prompt $ below.
$ sudo apt-get update
$ sudo tasksel
In the Package Configuration, Software Selection select the following:
 * Basic Ubuntu Server
 * OpenSSH
 * Xubuntu desktop
$ sudo reboot
  • Ubuntu Setup Continued...
$ sudo tasksel
In the Package Configuration, Software Selection select the following:
 * Basic Ubuntu Server
 * OpenSSH
 * LAMP server
 * Xubuntu desktop
  • The basic Ubuntu development server is now setup. Test it:
$ apache2 -v
  Server version: Apache/2.2.22 (Ubuntu)
  Server built:   Jul 12 2013 13:37:10
$ mysql
  Welcome to the MySQL monitor.  Commands end with ; or \g.
  Your MySQL connection id is 42
  Server version: 5.5.35-0ubuntu0.12.04.2 (Ubuntu)
$ php -v
  PHP 5.3.10-1ubuntu3.10 with Suhosin-Patch (cli) (built: Feb 28 2014 23:14:25) 
  Copyright (c) 1997-2012 The PHP Group
  Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

Development Software Setup

GIT

  • Install GIT dependencies
sudo apt-get install -y libcurl4-openssl-dev libexpat1-dev gettext libz-dev libssl-dev build-essential
  • Build GIT from Source Code
Download the git source code from:  git-1.9.1.zip
Extract the zip file to /home/you/Donwloads/git-1.9.1
$ cd /home/you/Donwloads/git-1.9.1
$ make prefix=/usr/local all
$ sudo make prefix=/usr/local install
$ sudo adduser --disabled-login git
  • Test git:
$ git --version
  git version 1.9.1

Evolus Pencil

  • Design Software to work with files like the UASDrupal Project / Boiler Plate Wireframe - Pencil template header-footer-template.ep
Download the Pencil deb
$ sudo dpkg -i evoluspencil_2.0.5_all.deb

LibreOffice

  • Use the Synaptic Package Manager to uninstall the Ubuntu default LibreOffice 3
  • Download LibreOffice 4.2.2 for Linux x64 (deb) using the LibreOffice website download button or link. Also download the Help Pack.
$ tar xzvf LibreOffice_4.2.2_Linux_x86-64_deb.tar.gz
$ cd LibreOffice_4.2.2.1_Linux_x86-64_deb

/DEBS

$ sudo dpkg -i *.deb
$ tar xzvf LibreOffice_4.2.2_Linux_x86-64_deb_helppack_en-US

.tar.gz

$ cd LibreOffice_4.2.2.1_Linux_x86-64_deb_helppack_en-US/DEBS
$ sudo dpkg -i *.deb

Project Collaboration Setup

  • Login to GitHub and navigate to the UASDrupal Project
  • Click the Fork button. This will create a GitHub clone of the project in your account and switch to your clone of the project.
  • Copy the HTTPS clone URL to your clipboard and use it to clone the project to the development server.
$ git clone https://github.com/you/UASDrupal.git UASDrupal
  Cloning into 'UASDrupal.f'...
  remote: Reusing existing pack: 14608, done.
  remote: Total 14608 (delta 0), reused 0 (delta 0)
  Receiving objects: 100% (14608/14608), 24.03 MiB | 305.00 KiB/s, done.
  Resolving deltas: 100% (5655/5655), done.
  Checking connectivity... done.