This list of things to do after installing Ubuntu 18.04 and 18.10 helps you get started with Bionic Beaver for a smoother desktop experience. This list of things to do after installing Ubuntu 18.04 helps you get started with Bionic Beaver for a smoother desktop experience. Sep 26, 2018. Learn how you can use Rclone in Linux to sync to the cloud. As I use Ubuntu, it was just a case of installing it via the Terminal: sudo apt install. The Complete Beginner's Guide to Ubuntu 18.04 Linux for.
Posted by1 year ago
Archived
http://plexguide.com < newest, all bottom is super old and newest improved!
https://github.com/Admin9705/The-Awesome-Plex-Server < Updated
http://docs.plexguide.com < V3 Guide; useful, but becoming dated.
------- IGNORE BELOW (very dated) --------------------------------------------------------------------------------------
Part I (Simple)
Install Ubuntu 16.04 x64 with the default installer of the host and/or the host that you have above.
To access in Windows, use putty. To access in MAC, use Terminal.
Using Windows to Access Your Server: Put your assigned IP address and port 22 in the address and poof, it works.
Using Windows to Access Your Server: Put your assigned IP address and port 22 in the address and poof, it works.
Using Terminal to Access Your Server: SSH YOURUSERNAME@IPADDRESS (from what I remember and should work). I’ll double check this later.
Part II: VNC Viewer (will kill this off; with the improved comments. Bad for security)
Note: This enables you to view your desktop with a GUI
Note: Prior to install, VNC Viewer: https://www.realvnc.com/download/viewer/
Source: https://www.linode.com/docs/applications/remote-desktop/install-vnc-on-ubuntu-16-04
[ACTION]
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
sudo apt-get install vnc4server
vncserver :1
[ACTION] create a password | no longer than 8 characters
vncserver -kill :1
sudo nano ~/.vnc/xstartup
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
[ACTION] STOP and save script
vncserver :1
[ACTION] Open up VNCViewer
[ACTION] Type the following address
[NOTE] If you don’t see stuff menus and stuff, open terminal:
vncserver -kill :1
vncserver :1
[ACTION] Now open up VNCViewer from your install and type: IPADDRESS:5901
You should now see an interface. If your interface is wonky…. Like you see a window but cannot do anything else, run this again:
vncserver -kill :1
vncserver :1
[ACTION] Now open up VNCViewer from your install and type: IPADDRESS:5901
Should be good this time. If someone can ever explain this, please do.
Part 3A: For PlexDrive 4.0 (not needed in PlexDrive 5, but 5 is super beta, it breaks easy)
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
echo 'deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo service mongod start
Part 3B: Install PlexDrive
Note: You need to have a google API key on your own: WRITE IT DOWN or SAVE SOMEWHERE in a TEXT FILE FOR EASY ACCESS
[ACTION] Have terminal open and copy the following below sections at a time:
sudo wget https://github.com/dweidenfeld/plexdrive/releases/download/4.0.0/plexdrive-linux-amd64
mv plexdrive-linux-amd64 plexdrive
sudo mv plexdrive /usr/local/bin/
cd /usr/local/bin/
sudo chown root:root /usr/local/bin/plexdrive
sudo chmod 755 /usr/local/bin/plexdrive
cd ~ && sudo mkdir plex
install
[ACTION] Copy in your CLIENT ID into terminal. Do not press any numbers
[ACTION] Copy in your CLIENT SECRET into terminal and Press Enter
sudo plexdrive --uid=1002 --gid=1002 -o allow_other -v 2 --refresh-interval=1m /home/USERNAME/plex
///// AUTO START both MANGO and PLEXDRIVE 4.0 ////
cd /etc/init.d/plexd.sh
![Rclone Rclone](https://linuxconfig.org/images/02-install-sublime-text-ubuntu-18.04.png)
sudo nano plexd.sh
[ACTION] Copy this below into the script
BEGIN INIT INFO
Required-Start: $local_fs $network
Default-Start: 2 3 4 5
Short-Description: plexd.sh
END INIT INFO
sudo service mongod start
sudo plexdrive --uid=1002 --gid=1002 -o allow_other -v 2 --refresh-interval=1m /home/USERNAME/plex
exit 0;
[STOP] Paste above into script, make sure you change the username
sudo chmod +x /etc/init.d/plexd.sh
sudo update-rc.d plexd.sh defaults
NOTE NOTE NOTE -------- PlexDrive can take awhile to scan, so let it finish before ever rebooting!!!!! You can install other stuff while it’s doing it.
Part 4: Install NetData / Great for viewing your stats
Note: Stupid Easy to Install. Gives you awesome server stats
sudo apt-get install curl
bash <(curl -Ss https://my-netdata.io/kickstart-static64.sh)
[Action] Press Y to accept
[Note] To view your stats, goto (YOURIPADDRESS:19999)
Part 5: Install SABNZBD
Note: I have not got this yet to auto-start. Ensure that you run a terminal window in VNC and run the final command for execution.
Note: Doing this first, took a-bit more time and a few more things Source: https://www.linuxbabe.com/ubuntu/install-sabnzbd-ubuntu-16-04 ho
sudo apt install sabnzbdplus
sudo add-apt-repository ppa:jcfp/nobetas
sudo apt update
sudo apt install sabnzbdplus
sabnzbdplus -d -s YourIP:YourPort --browser 0
![Rclone Ubuntu 18.04 Install Rclone Ubuntu 18.04 Install](/uploads/1/2/5/7/125783997/158464890.jpg)
[NOTE] default was 127.0.0.1:8081
[ACTION] Install Missing Multicore Par2:
sudo add-apt-repository ppa:jcfp/sab-addons
sudo apt-get update
sudo apt-get install par2-tbb
sudo apt-get install par2-mt
[ACTION] Install Missing SABYenc
sudo apt-get install python-pip
pip install sabyenc --upgrade
sudo pip install --upgrade pip
[ACTION] Go-to your IP Address and have fun. If you restart, rerun step 5 until I have an automated part here.
[NOTE] Your on your own for configuring SABNZBD. A whole another thing!
sabnzbdplus -d -s IPADDRESS:8980 --browser 0
[ACTION] Goto your browser and type: http://YOURIPADDRESS:8980
Install Part 6: Install Sonarr
sudo apt-get install libmono-cil-dev
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
sudo echo 'deb http://apt.sonarr.tv/ master main' | sudo tee /etc/apt/sources.list.d/sonarr.list
sudo apt-get update
sudo apt-get install nzbdrone
mono --debug /opt/NzbDrone/NzbDrone.exe
[ACTION] Goto your browser and type: http://IPADDRESS:8989
//// To get to AUTOSTART ////
cd /etc/init.d/
sudo nano sonarr.sh
[ACTION] Copy this below into the script.
BEGIN INIT INFO
Required-Start: $local_fs $network
Default-Start: 2 3 4 5
Short-Description: sonarr.sh
END INIT INFO
mono --debug /opt/NzbDrone/NzbDrone.exe
exit 0;
[ACTION] Now do the following below:
sudo chmod +x /etc/init.d/sonarr.sh
sudo update-rc.d sonarr.sh defaults
[Note] If you reboot, it should auto-start
Install Part 7: Install Radarr
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo 'deb http://download.mono-project.com/repo/debian jessie main' | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
cd /tmp
wget https://github.com/Radarr/Radarr/releases/download/v0.2.0.778/Radarr.develop.0.2.0.778.linux.tar.gz
sudo tar -xf Radarr* -C /opt/
[ACTION] Goto your browser and type: http://IPADDRESS:7878
//// To get to AUTOSTART ////
cd /etc/init.d/
sudo nano sonarr.sh
[ACTION] Copy this below into the script.
BEGIN INIT INFO
Required-Start: $local_fs $network
Default-Start: 2 3 4 5
Short-Description: sonarr.sh
END INIT INFO
mono --debug /opt/Radarr/Radarr.exe
exit 0;
[ACTION] Now do the following below:
sudo chmod +x /etc/init.d/radarr.sh
sudo update-rc.d radarr.sh defaults
[NOTE] If you ever reboot, it should just startup.
Part 8: Install RClone
[Run this command below]
Mkdir cd /home/USERNAME/rcloneg3
curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
cd rclone-*-linux-amd64
sudo cp rclone /usr/bin/
sudo chown root:root /usr/bin/rclone
sudo chmod 755 /usr/bin/rclone
sudo mkdir -p /usr/local/share/man/man1
sudo cp rclone.1 /usr/local/share/man/man1/
sudo mandb
[Run this command below to mount]
sudo /usr/bin/rclone mount --allow-other rcloneg3: /home/gforce/rcloneg3/
Point Radarr and Sonarr to your drive. AGAIN, TURN OFF ANALYZE VIDEO in both programs. Make sure to turn ADVANCED on and goto media management. You’ll see it at the bottom.
Note: UNTESTED STARTUP SCRIPT, haven’t rebooted my server to see if it works. May not work.
cd /etc/init.d
sudo nano rcloneg3.sh
[ACTION] Put this into the script below
BEGIN INIT INFO
Required-Start: $local_fs $network
Default-Start: 2 3 4 5
Short-Description: rcloneg3.sh
END INIT INFO
sudo /usr/bin/rclone mount --allow-other googleg3: /home/gforce/rcloneg3/
exit 0;
[STOP] Now run this below
sudo chmod +x /etc/init.d/rcloneg3.sh
sudo update-rc.d rcloneg3.sh defaults
29 comments
We hope you find this tutorial helpful. In addition to guides like this one, we provide simple cloud infrastructure for developers. Learn more →
A previous version of this tutorial was written by Melissa Anderson.
Introduction
R is an open-source programming language that specializes in statistical computing and graphics. Supported by the R Foundation for Statistical Computing, it is widely used for developing statistical software and performing data analysis. An increasingly popular and extensible language with an active community, R offers many user-generated packages for specific areas of study, which makes it applicable to many fields.
In this tutorial, we will install R and show how to add packages from the official Comprehensive R Archive Network (CRAN).
Prerequisites
To follow along with this tutorial, you will need an Ubuntu 18.04 server with:
- at least 1GB of RAM
- a non-root user with
sudo
privileges
To learn how to achieve this setup, follow our manual initial server setup guide or run our automated script.
Once these prerequisites are in place, you’re ready to begin.
Step 1 — Installing R
Because R is a fast-moving project, the latest stable version isn’t always available from Ubuntu’s repositories, so we’ll start by adding the external repository maintained by CRAN.
Note: CRAN maintains the repositories within their network, but not all external repositories are reliable. Be sure to install only from trusted sources.
Let’s first add the relevant GPG key.
When we run the command, we’ll receive the following output:
Once we have the trusted key, we can add the repository. Note that if you’re not using 18.04, you can find the relevant repository from the R Project Ubuntu list, named for each release.
Among the output that displays, you should identify lines similar to the following:
Now, we’ll need to run
update
after this in order to include package manifests from the new repository.Among the output should be a line similar to the following:
If the line above appears in the output from the
update
command, we’ve successfully added the repository. We can be sure we won’t accidentally install an older version.At this point, we’re ready to install R with the following command.
If prompted to confirm installation, press
y
to continue.As of the time of writing, the latest stable version of R from CRAN is 3.5.1, which is displayed when you start R.
Since we’re planning to install an example package for every user on the system, we’ll start R as root so that the libraries will be available to all users automatically. Alternatively, if you run the
R
command without sudo
, a personal library can be set up for your user.This confirms that we’ve successfully installed R and entered its interactive shell.
Step 2 — Installing R Packages from CRAN
Part of R’s strength is its available abundance of add-on packages. For demonstration purposes, we’ll install
txtplot
, a library that outputs ASCII graphs that include scatterplot, line plot, density plot, acf and bar charts:Note: The following output shows where the package will be installed.
This site-wide path is available because we ran R as root. This is the correct location to make the package available to all users.
When the installation is complete, we can load
txtplot
:If there are no error messages, the library has successfully loaded. Let’s put it in action now with an example which demonstrates a basic plotting function with axis labels. The example data, supplied by R's
datasets
package, contains the speed of cars and the distance required to stop based on data from the 1920s:If you are interested to learn more about
txtplot
, use help(txtplot)
from within the R interpreter.Any precompiled package can be installed from CRAN with
install.packages()
. To learn more about what’s available, you can find a listing of official packages organized by name via the Available CRAN Packages By Name list. To exit R, you can type
q()
. Unless you want to save the workspace image, you can press n
when prompted. Conclusion
With R successfully installed on your server, you may be interested in this guide on installing the RStudio Server to bring an IDE to the server-based deployment you just completed. You can also learn how to set up a Shiny server to convert your R code into interactive web pages.
For more information on how to install R packages by leveraging different tools, you can read about how to install directly from GitHub, BitBucket or other locations. This will allow you to take advantage of the very latest work from the active community.