[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:slackware_admin:slackware-arubacloud [2018/02/16 12:23 (UTC)] – [Importing Slackware VM image into ArubaCloud] draft 4.3 andrixnethowtos:slackware_admin:slackware-arubacloud [2020/05/17 22:07 (UTC)] (current) – [Importing Slackware VM image into ArubaCloud] andrixnet
Line 2: Line 2:
 ====== Install Slackware on a CloudVPS by ArubaCloud ====== ====== Install Slackware on a CloudVPS by ArubaCloud ======
  
-ArubaCloud offers excellent low-cost VPS services, starting at € / month //(at least when this article was created, feb. 2018, see ArubaCloud limitations)//.  +ArubaCloud offers excellent low-cost VPS services, starting at 2.79 € / month //(updated May 2020; was 1€/month in feb. 2018, see ArubaCloud offers and limitations)//.  
-This article refers to installing Slackware on [[https://www.arubacloud.com/vps/virtual-private-server-range.aspx | CloudVPS]] hosting service, which is based on VMware virtualization hypervisor and uses several OS templates, Slackware not being among them.<del> As a low-cost service, custom OS installation, management with VMware Client are not available.</del> +This article refers to installing Slackware on [[https://www.arubacloud.com/vps/virtual-private-server-range.aspx | CloudVPS]] hosting service, which is based on VMware virtualization hypervisor and uses several OS templates, Slackware not being among them. //As a low-cost service, custom OS installation, management with VMware Client are not available.//
-You can request a free trial [[https://www.arubacloud.com/free-trial.aspx| here]].+
  
 //**This guide does not cover Cloud Pro or other services by ArubaCloud**//, as these services may offer additional tools that make this guide unnecessary. Alternately, this guide may be used for other similar services. //**This guide does not cover Cloud Pro or other services by ArubaCloud**//, as these services may offer additional tools that make this guide unnecessary. Alternately, this guide may be used for other similar services.
Line 22: Line 21:
   - load credit into your account (free trial voucher or purchase credit)   - load credit into your account (free trial voucher or purchase credit)
   - create VPS based on predefined OS template   - create VPS based on predefined OS template
-This guide has been written using an **Ubuntu 14.04 LTS** template. +This guide has been written using an **Ubuntu Server 16.04 LTS 64bit** template.  
 +(//updated May 2020//)
  
 ===== Information gathering ===== ===== Information gathering =====
Line 94: Line 94:
  
 <note tip>For a server installation you might want to skip KDE, T, TCL, X, XAP, XFCE package series</note> <note tip>For a server installation you might want to skip KDE, T, TCL, X, XAP, XFCE package series</note>
 +
 +<note tip>After you finish your installation I strongly recommend you add your SSH public key for the root user for remote access. Follow this [[howtos:security:sshkeys|How to use SSH keys to connect without a password.]] Either use the Virtual Machine's console, or ssh from your local machine to do it. Note: you may want to temporarily allow root login via SSH into the Virtual Machine, but remember to restore the default config afterwards.</note>
  
 <note>You are running locally, with the machine behind a NAT router (done by VMware Player) with regards to the internet. You have connectivity, but it is different then the one you'll have at Aruba.  <note>You are running locally, with the machine behind a NAT router (done by VMware Player) with regards to the internet. You have connectivity, but it is different then the one you'll have at Aruba. 
Line 132: Line 134:
   * Open the recovery console. You'll get to see your server's console.   * Open the recovery console. You'll get to see your server's console.
   * log in to your server, as root   * log in to your server, as root
-  * check running processes and stop any unnecessary daemons (though basic template doesn't run any)+  * __ALTERNATELY you could ssh into it. Also use this method if you encounter problems with recovery console key-mappings.__ 
 +  * check running processes and stop any unnecessary daemons (cron, acpid, atd, fail2ban, rsyslog, open-vm-tools) 
 +  * **you must also disable swap memory.**
   * run the following command:    * run the following command: 
  
 <code>ncftpget -u USERNAME -p PASSWORD -c FTP_SERVER_ADDRESS /path/to/aruba_slack_image_file.bz2 | bzip2 -d > /dev/sda</code> <code>ncftpget -u USERNAME -p PASSWORD -c FTP_SERVER_ADDRESS /path/to/aruba_slack_image_file.bz2 | bzip2 -d > /dev/sda</code>
-<note tip>This may take a while, even hours, depending on the available bandwidth between Aruba's datacenter and your FTP server.</note> +<note tip>This may take a while, even hours, depending on the available bandwidth between Aruba's datacenter and your FTP server. At the end of the transfer, ncftpget will report the number of bytes transfered and speed. Make sure "bytes transfered" is exactly equal to the size of the compressed image (see your FTP account). You may get a "Segmentation fault" after the end of the transfer. This is acceptable and expectable.</note> 
  
-<note warning>Make sure the process finishes without error before proceeding!</note>+<note warning>Make sure the process finishes without any other errors before proceeding!</note>
  
-When finished successfully: +**IMMEDIATELY after it finished successfully:** 
   * Go to "Cloud servers" -> Management   * Go to "Cloud servers" -> Management
   * Under "Actions", select "Manage -> Force switch off"   * Under "Actions", select "Manage -> Force switch off"
Line 148: Line 152:
   * Go to "Cloud servers" -> Management   * Go to "Cloud servers" -> Management
   * Under "Actions", select "Manage -> Switch on"   * Under "Actions", select "Manage -> Switch on"
-  * wait for it to start+  * wait for it to start (//if it takes apparently too long reload the page. Apparently sometimes the UI doesn't update adequately//)
   * Under "Actions", select "Manage -> Sign in"   * Under "Actions", select "Manage -> Sign in"
   * Open the recovery console. You'll get to see your server's console.   * Open the recovery console. You'll get to see your server's console.
Line 156: Line 160:
   * restart the recovery console after reboot   * restart the recovery console after reboot
   * check that everything is ok   * check that everything is ok
 +  * check that you can log in remotely
 +<note important>Slackware default configuration won't allow remote root login without SSH key, so take the appropriate steps to ensure your remote access.</note>
  
-Now you have a running Slackware64-14.2 in an ArubaClould VPS.+**Now you have a running Slackware64-14.2 in an ArubaClould VPS.** 
 + 
 +===== Additional configuration ===== 
 + 
 +Since it runs under VMware hypervisor, it is useful to have the VMware-tools installed. I recommend you install the open-source version from Slackbuilds: [[https://slackbuilds.org/repository/14.2/system/open-vm-tools/?search=open-vm|open-vm-tools]]. 
 + 
 +After your install the package and start the tools, you can verify that it works properly by: 
 +  * Go to "Cloud servers" -> Management 
 +  * Under "Actions", select "Manage -> Switch off" 
 + 
 +This is the normal shutdown procedure initiated at the request of the hypervisor, received by open-vm-tools and performed in the guest OS to obtain a clean system shutdown.  
 + 
 +The "Force switch off" is equivalent to pressing the power button on a physical computer. 
 + 
 +**Enjoy your Slackware VPS!**
  
 ====== References ====== ====== References ======
-* [[https://www.arubacloud.com/ | ArubaCloud]] by Aruba S.p.A. (IT) - cloud services provider.+ 
 +  * [[https://www.arubacloud.com/ | ArubaCloud]] by Aruba S.p.A. (IT) - cloud services provider. 
 +  * [[https://slackbuilds.org/repository/14.2/system/open-vm-tools/?search=open-vm|open-vm-tools]] from Slackbuilds.org
  
 ====== Sources ====== ====== Sources ======
Line 167: Line 189:
  
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-* Originally written by [[wiki:user:andrixnet| Andrei B.]] +  * Originally written by [[wiki:user:andrixnet| Andrei B.]] 
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 howtos:slackware_admin:slackware-arubacloud ()