This is an Ansible script designed to automate the installation of an Ubuntu desktop; complete with the basic tools and services needed to develop applications in PHP, Python, and JavaScript. This repository can easily be extended to support addtional language frameworks and supporting services, databases, etc.
This script has been tested on the following Ubuntu versions:
* 20.04 LTS
* curl
* git
* git-core
If you want to change anything:
$ curl -L https://raw.githubusercontent.com/ericjsilva/ansible-desktop-ubuntu/master/install.sh | sh
or
$ wget -O - https://raw.githubusercontent.com/ericjsilva/ansible-desktop-ubuntu/master/install.sh | sh
And enter your password (if prompted).
This project will install the following packages:
- aptitude (i.e., apt)
- bash-completion
- openssh-server
- vim
- git
- zsh
- curl
- wget
- htop
- tmux
- terminator
- tig
- unzip
- tar
- gzip
- bzip2
- imagemagick
This project will install the following applications:
- LAMP (MySQL, Apache, PHP 8.1), pear, phpmyadmin, composer
- python 3.9
- nodejs 14.x
- Sublime Text
- Atom IDE
- VSCode IDE
if you want to customize the installation to suit your needs, you have to clone this repository:
$ git clone git@github.com:ericjsilva/ansible-desktop-ubuntu.git
OR
$ git clone https://github.com/ericjsilva/ansible-desktop-ubuntu.git
And you have to edit the file site.yml
and comment line the list roles. For example:
##
# Ansible playbook for setting up a LAMP development server on Ubuntu 20.04.
#
---
- hosts: localhost
connection: local
user: eaglescout
become: yes
vars_files:
- vars/main.yml
roles:
- common
- adriagalin.timezone
- geerlingguy.ntp
- geerlingguy.apache
- geerlingguy.php
- geerlingguy.mysql
- geerlingguy.apache-php-fpm
- geerlingguy.php-mysql
- geerlingguy.phpmyadmin
- geerlingguy.composer
- geerlingguy.nodejs
Install Ansible:
$ sudo apt install -y -qq python3 python3-pip
$ sudo pip install ansible
And execute command:
$ ansible-playbook -i hosts site.yml -c local -K
You can also contribute to add new roles or improve existing roles.
MIT. See LICENSE.