Fedora 3X DNF installs

sudo dnf groupinstall "Development Tools"
sudo dnf install SDL SDL2 SDL-devel SDL2-devel SDL_gfx SDL_gfx-devel powerline powerline-fonts mc htop boost-devel kate kdevelop geany openssl openssl-devel ccache
sudo dnf install f23-backgrounds-extras-gnome f24-backgrounds-extras-gnome f25-backgrounds-extras-gnome f26-backgrounds-extras-gnome f27-backgrounds-extras-gnome f28-backgrounds-extras-gnome f29-backgrounds-extras-gnome f30-backgrounds-extras-gnome f31-backgrounds-extras-gnome
sudo dnf install jupyter-notebook gitg monodevelop gnome-builder inkscape gimp blender spacenavd krita dia scribus lollypop virt-manager
sudo dnf install seahorse gnome-password-generator nextcloud-client nautilus-image-converter R-base
flatpak --user install https://flathub.org/repo/appstream/fr.handbrake.ghb.flatpakref

flatpak install --from https://flathub.org/repo/appstream/org.qgis.qgis.flatpakref

follow this link to sort out the Fn button on an Apple keyboard Super User use the systemd one. You will also need to enable the spacenavd service using systemctl enable spacenavd etc.

You’ll need this to install the tidyverse package in R

sudo dnf install openssl-devel libxml2-devel libcurl-devel

Other things to install:
RStudio
Android Studio
Spyder
Pycharm Community Edition
Webstorm
DBuilder CE
Eclipse

Fslint

Extensions:
TopIcons Plus
Dash to Dock
GSConnect
set up Powerline

Enable the minimise maximise close buttons:

gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"

GitLab Docker Container on Fedora 26 Server

I’ve set up a NUC in the house to replace a Digital Ocean droplet.
My first job was to set up a headless Fedora 26 server. Currently it’s running Nextcloud which I set up using instructions from: marksei.com, and a docker container with Gitlab on it, based on instructions from this site.

To get the docker container to run I sued the following code:

docker run --detach --hostname gitlab.my.domain --publish 1443:443 --publish 180:80 --publish 122:22     --name gitlab     --restart always     --volume /srv/gitlab/config:/etc/gitlab:Z     --volume /srv/gitlab/logs:/var/log/gitlab:Z     --volume /srv/gitlab/data:/var/opt/gitlab:Z    gitlab/gitlab-ce:latest

Notice that the ports are translated to:
1443 from 443 (https)
180 from 80 (http)
122 from 22 (ssh)

…because I was already running https, http and ssh on the server.
mark the repo as the origin by going into the directory and using the following command for SSH

git remote add origin ssh://git@yourIPADDRESSorURL:122/monkeymike/MyGreatCodingProject.git

..or for http connections (using username and password – when pushing)

git remote add origin http://yourIPADDRESSorURL:180/monkeymike/MyGreatCodingProject.git

then push to it with:

git push -u origin --all

…and if you need to clear this:

git remote rm origin

If I want to connect to the docker container over SSH I use:

ssh git@myserverURL -p 122

..and when I connect to the server, front end, I use http://myserverURL:180 and it’s all good.

Installing steam on fedora 22

I had some trouble once I’d installed steam. It would fail to find the swrast driver. After some searching I found that the following command pulled through the required libraries:

sudo dnf install xorg-x11-drv-nvidia-libs.i686

This didn’t work quite so well on Fedora 23 so try this…

sudo dnf install nvidia-driver-libs

or use yumex-dnf to install nvidia-driver-libs.