<commit_before>Title: Fedora Workstation on Amazon EC2
Date:  2018-05-30
Category: articles
Tags: system administration

Creation of a high-memory, low disk instance with a full Fedora
Workstation desktop experience. (t2.large EC2 instance 2 Processors, 8GB
RAM) Designed for a low-cost, next level up replacement of a powerful
desktop. An order of magnitude below big data, and an order of magnitude
more capable than a 2013 era laptop.

Or skip to the bottom for just the Wordpress on a free tier micro
instance instructions.

Launch a Fedora 28 Cloud Base Images for [Amazon Public
Cloud](https://alt.fedoraproject.org/cloud/).

As of 2018-11-05 13:28 Fedora no longer provides links to the images for
use with amazon, the best approach is:

<pre>
EC2 -> Launch Instance -> Community AMIs -> Fedora -> 
Fedora-Cloud-Base-28-20180930.0.x86_64-hvm-us-east-1-gp2-0 - ami-0047163812982e5f3
</pre>

Connect to the instance with:
<pre>
ssh \
    -i your_key_pair.pem \
    -L 4010:localhost:4000 \
    -R 6622:localhost:22 \
    fedora@amazon-ec2-public-dnsname
</pre>

<pre>
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
    
dnf update -y
dnf group install "GNOME Desktop Environment"
dnf install w3m
reboot

timedatectl set-timezone American/New_York
reboot

# If you don't reboot after changing the timezone, it will lockup
# randomly


After reboot, install nomachine:

    w3m 'https://www.nomachine.com/download/linux&id=1'
    (Download the 'plain' x86_64 linux nomachine)

    vi /etc/selinux/config
    change 'enforcing' to 'permissive'

    dnf install ./nomachine*

    #  Change the fedora password so nomachine clients can login<commit_msg>fedora notes<commit_after>Title: Fedora Workstation on Amazon EC2
Date:  2018-05-30
Category: articles
Tags: system administration

Creation of a high-memory, low disk instance with a full Fedora
Workstation desktop experience. (t2.large EC2 instance 2 Processors, 8GB
RAM) Designed for a low-cost, next level up replacement of a powerful
desktop. An order of magnitude below big data, and an order of magnitude
more capable than a 2013 era laptop.

Or skip to the bottom for just the Wordpress on a free tier micro
instance instructions.

Launch a Fedora 28 Cloud Base Images for [Amazon Public
Cloud](https://alt.fedoraproject.org/cloud/).

As of 2018-11-05 13:28 Fedora no longer provides links to the images for
use with amazon, the best approach is:

<pre>
EC2 -> Launch Instance -> Community AMIs -> Fedora -> 
Fedora-Cloud-Base-28-20180930.0.x86_64-hvm-us-east-1-gp2-0 - ami-0047163812982e5f3
</pre>

Connect to the instance with:
<pre>
ssh \
    -i your_key_pair.pem \
    -L 4010:localhost:4000 \
    -R 6622:localhost:22 \
    fedora@amazon-ec2-public-dnsname
</pre>

<pre>
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
    
dnf update -y
dnf group install "GNOME Desktop Environment"
dnf install w3m
reboot

timedatectl set-timezone America/New_York
reboot

# If you don't reboot after changing the timezone, it will lockup
# randomly


After reboot, install nomachine:

    w3m 'https://www.nomachine.com/download/linux&id=1'
    (Download the 'plain' x86_64 linux nomachine)

    vi /etc/selinux/config
    change 'enforcing' to 'permissive'

    dnf install ./nomachine*

    #  Change the fedora password so nomachine clients can login
{'fraction_non_alphanumeric': 0.08980716253443526, 'fraction_numerical': 0.049035812672176306, 'mean_word_length': 3.9200542005420056, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 21, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6866871', 'n_tokens_mistral': 1335, 'n_tokens_neox': 1172, 'n_words': 410}