Search results for:
Happy Belated Halloween, folks! What a playful time of year it is indeed. It sure was for all of us over here at Hostwinds. There's no doubt about that. From wonderful witches to scary masks, this year's Hostwinds Halloween was a real sight to see. Speaking of witches, have you ever heard where the term 'witch' originates? The word 'witch' comes from 'wicce,' which translates to "wise woman." That's right. Witches didn't always have a bad reputation. Instead, they were revered back in the day and considered to be pillars of wisdom.
On another note, we don't know about you, but our staff took a whole lot of pictures during our Halloween party. We figured out the best way to store them using none other than…a Hostwinds VPS! We installed the storage application Nextcloud onto a VPS to stash the photos we took at our staff Halloween party.
Here's What Our Team Did:
1. Reinstalled our VPS in the Cloud Portal to have Nextcloud Installed onto it
2. Created a volume in the Cloud Portal to give us some additional storage
3. Mounted the volume to the VPS
4. Connected the volume to Nextcloud, so all the photos we upload into Nexcloud are stored only on the volume (thereby ensuring our VPS storage isn't affected when we upload our photos)
5. Logged into Nextcloud and uploaded our Halloween party photos
Guess What? You can do the same using your Hostwinds account! In fact, throughout this blog piece, we are going to carry out steps 1 through 5!
Wait a minute. We may be getting a bit ahead of ourselves here. First off, have you ever heard of Nextcloud?
Definition of Nextcloud: "Nextcloud is an open-source application that offers cloud storage."
To Be More Specific: "Nextcloud is an application that stores your files in the cloud for free, and, even better, it is offered by Hostwinds as a 1-click install template that you can add onto your VPS when you create it in the Hostwinds Cloud Portal."
The excerpts above are from a previous Hostwinds blog post all about Nextcloud. Nextcloud is comparable to Dropbox, yet the former has a few unique qualities worth mentioning. Luckily, we put all those 'unique qualities' in the blog post we just mentioned! Click the link below to review the characteristics that make Nextcloud one of a kind.
Here is Just a Touch More Information About Nextcloud:
For one thing, Nextcloud is accessible from a mobile phone.
Equally Important: As outlined in our Nextcloud blog post, "Nextcloud is great because you can install it regardless of the operating system you have. The application also has a handy feature that enables you to chat with people accessing your files. You can even conduct voice or video conference calls. This is convenient for businesses as well as individuals."
Here is Just a Touch More Information About Installing Nextcloud Onto Your VPS or Cloud Server:
"Once your server is ready for use, you can start using Nextcloud right away. Furthermore, the cloud server will be configured to adhere to all of Nextcloud's specific requirements." Yet again, that quote came from the blog post about Nextcloud. Now that you know all about how fantastic Nextcloud is, we are going to teach you how to do something cool with it – store tons of Halloween photos after installing the application onto your Hostwinds VPS! Let the Halloween festivities commence!
Sometimes figuring out how to store copious amounts of important photos can be daunting, but not with the help of the Hostwinds Cloud Portal.
Without further delay, here is a step-by-step tutorial deconstructing the process by which you can reinstall your VPS to have Nexcloud on it, then mount a volume to that VPS for additional storage:
#1. Click this link to visit our main site: www.Hostwinds.com >> Click 'Client Login' at the very top of the page >> Type in the email address and password associated with your Hostwinds account to login to your Client Area
#2. Click the 'Cloud Control' drop-down menu on the royal blue navigation bar towards the top of the page >> Click 'Cloud Portal'
REINSTALLING YOUR SERVER:
#3. Now that you're in the Cloud Portal, click on your server's nickname as illustrated below
#4. Click the blue 'Actions' button at the top-right of the page >> Click 'Reinstall'
#5. Once the pop-up window appears, click the 'Applications' tab and scroll down
>> Click the 'Nextcloud' box to the bottom left >> Click the green 'Confirm' button
Your server's status will be 'BUILDING'
#6. In the words of one of Hostwinds' knowledgeable support team agents, David, "Reinstalling the server takes a few minutes, and once the process is complete, the server will go into a 'RUNNING' status. The way the application re-installer works is to reinstall the server's operating system and start a script to auto-install the software." David also mentioned, "The installation script can take anywhere from 10 to 15 minutes depending on what application is being installed. If you SSH into the server, you will be notified if the installation script is still running."
#7. Once your cloud server's status is 'RUNNING,' you can connect to the server using SSH. Any SSH Client will work for this.
CREATING VOLUME & MOUNTING IT TO YOUR VPS:
#8. Now, create a volume by clicking the green 'Create' button to the top-right of the page >> Click 'Volume.'
#9. Fill out the pop-up form >> Make sure your location is the same location in which your cloud server resides >> Click the blue 'ADD VOLUME' button
#10. Mount the volume by first clicking on your server nickname
>> Click the 'Volumes' tab
>> Click the 'Actions' to right of your volume name >> Click 'Attach Volume'
#11. Click the green 'Confirm' button on the pop-up window >> Your volume will now mount to the server, and the server will reboot automatically
STEPS 12 – 26 AS EXPLAINED BY DAVID:
#12. SSH into the server again >> Run the command 'fdisk -l' to ensure your volume is detected as a new drive. It should be detected as /dev/sdb, /dev/sdc, …, etc. (NOT /dev/sda, as that is already your server's main drive)
#13. Run the command 'parted /dev/sdb' with /dev/sdb being the drive path you checked in the previous step
Within the parted prompt, run 'mklabel gpt' to write a new GPT partition table to the drive
#14. Then run the command 'mkpart primary 1M 100%' to make a new primary partition on the volume that takes up the full space
#15. Run 'quit' to exit parted
#16. Run 'mkfs.xfs /dev/sdb1' (with /dev/sdb being the drive path you checked previously) to set up an XFS filesystem on the partition
#17. Make a new folder (ideally within /mnt) for a point to mount the partition
For example, you can run the command 'mkdir /mnt/nextcloud'
#18. Update its permissions to match Nextcloud's by running the commands 'chown -R apache:apache /mnt/nextcloud' and 'chmod 755 /mnt/nextcloud'
#19. Edit the /etc/fstab file and add an entry to it on a new line at the end of the file like this:
/dev/sdb1 /mnt/nextcloud xfs defaults 0 0
With /dev/sdb1 being the drive/partition address, and /mnt/nextcloud being the folder you created in the previous step
#20. Reboot the server. The new drive should auto mount to /mnt/nextcloud
#21. Go to the server's IP in a web browser and the Nextcloud setup page should appear
#22. Provide a username and password for that administrator account
#23. Click the dropdown for 'Storage & database'
#24. Change the folder path for the Data folder to the folder your volume is mounted to
#25. Change the 'Configure the database' option to 'MySQL/MariaDB'
#26. Enter the database username, password, and name
These details are located on the server in a file called /root/details.txt (you can SSH into the server and run the command 'cat /root/details.txt' to view the contents of that file). Now anything you upload to Nexcloud will be put on the volume. You can increase the size of the volume later on.
STORING YOUR HALLOWEEN PHOTOS:
Now, as for uploading your photos once you're in Nextcloud…
#27. Click the blue 'Photos' folder
#28. Click the '+' button at the top of the page >> Click 'New folder'
#29. Name your Halloween photo folder
#30. Click the '+' button again
#31. Click 'Upload file'
Once you've uploaded your photos, your page will display them in a list format like so:
You're done! Consequently, we shall conclude.
This jubilant holiday is always a real treat. We hope you had a joyous and endearing Halloween this year, dear friends, and we hope you found this tutorial informative. Take a moment to check out Nextcloud and the other 1-click install applications Hostwinds offers in the Cloud Portal whenever you get the chance. You won't regret it.
P.S. Here are just a few of the photos taken at the Hostwinds Halloween party, 2019 edition:
Wise Woman Witch
Did you see the witch? Her wisdom is apparent even through a photo.
Have a fantastic November!
Written by Hostwinds Team / November 1, 2019