

Run the following command to update the list of available packages: # Updates the list of available packages To add a repository for beta releases, run the following command: echo "deb beta main" | sudo tee -a /etc/apt//grafana.list To add a repository for stable releases, run the following command: echo "deb stable main" | sudo tee -a /etc/apt//grafana.list Sudo wget -q -O /usr/share/keyrings/grafana.key
#Ubuntu server install#
Sudo apt-get install -y software-properties-common wget To install required packages and download the Grafana repository signing key, run the following commands: sudo apt-get install -y apt-transport-https
#Ubuntu server upgrade#
You can also upgrade to the full Enterprise feature set, which has support for Enterprise plugins.Ĭomplete the following steps to install Grafana from the APT repository:
#Ubuntu server for free#
It is available for free and includes all the features of the OSS edition. I then set up a reverse proxy (Haproxy) and SSL for secure external access over the web, but that is beyond the scope of this short guide.Note: Grafana Enterprise is the recommended and default edition. Sudo snap connect nextcloud:removable-media You can also try Docker or manually set everything up if you are an advanced user.įor Snap version, I just ran the following after installation to allow access to USB drive and ports: sudo snap set nextcloud ports.http=81 ports.https=444 I usually avoid Snap but in this case it worked well. I used the Snap package which is probably easiest. In my case I need to log in as "vijay" to access the shares, but the password can be saved on the client so it is only entered on first access. Remember to restart Samba after changes: sudo service smbd restartĪnd if your server has a firewall, remember to allow it: sudo ufw allow sambaĪccess on Linux: smb://192.168.1.2/mynas/Īccess on Windows File Explorer: \\192.168.1.2\mynas\ Hide files = /$RECYCLE.BIN/System Volume Information/thumbs.db/ Configure my shared folder by adding to the bottom as follows:.Under section I added inherit permissions = yes to make sure permissions for added files are correct.I edit the samba config ( sudo nano /etc/samba/smb.conf) and make 2 changes: iDrive (optional as cloud backup of all drives including RAID USB3)įirst I mostly followed this guide to set up Samba users.External RAID1 USB3 drive QNAP TR-002 (this whole drive is shared, LUKS encrypted ext4 partition).Plex), but I use Nextcloud which is something like a Google Drive clone, which allows easy viewing of photos, music and videos through web browser. I haven't yet setup a "real" streaming server (e.g. I made a Ubuntu based NAS with file sharing based on Samba and Nextcloud and works across Windows, Linux or Mac. Wget -H -r -level=5 -restrict-file-names=windows -convert-links -e robots=off -no-check-certificate Update permissions if needed: sudo chown -R username:root /home/username/dataĭownload some data (this is a good dump of isos) cd /home/username/data Generate smbpasswd (this will allow windows hosts to connect over smb, granted we are passing them in with the username account (smile)) sudo smbpasswd -a username Make Cifs share: sudo vi /etc/samba/smb.conf Update Exports for NFS (I'm setting this based on subnet, you can change as needed) sudo echo "/home/username/data 192.168.1.0/24(rw,no_root_squash)" > /etc/exports Install the tools you need: sudo apt install vim screen htop sysstat curl wget Update Fstab sudo echo "/dev/sdc1 /home/username/data ext4 defaults 0 2" > /etc/fstab Make a mount path: mkdir /home/username/data Make the filesystem sudo mkfs -t ext4 /dev/sdc1 Note: you should replace username with your user. Install Ubuntu Cloud VM (add an extra disk 1TB or larger.) Posting this so I can find it in the future.
