[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:hardware:arm:qemu_support_in_slackware_arm [2020/09/22 18:19 (UTC)] mralk3howtos:hardware:arm:qemu_support_in_slackware_arm [2021/03/28 12:51 (UTC)] (current) – [Sources] mralk3
Line 42: Line 42:
   - Configure QEMU Permissions on the Slackware x86 Host   - Configure QEMU Permissions on the Slackware x86 Host
   - Create the QEMU disk image using the helper scripts   - Create the QEMU disk image using the helper scripts
-  - Configure Apache web server (httpd) to mirror Slackware ARM for the qemu guest+  - Configure web server to mirror Slackware ARM for the qemu guest
 ==== Download Slackware ARM ==== ==== Download Slackware ARM ====
 Download Slackware ARM to your Slackware x86 Host.  In this tutorial rsync is used to mirror Slackware ARM.  Before running rsync, make sure your user has read, write, and execute permissions within the directory you pick.  In this example /slackwarearm/$SLACKREL is used, but you can use a directory of your choice. Download Slackware ARM to your Slackware x86 Host.  In this tutorial rsync is used to mirror Slackware ARM.  Before running rsync, make sure your user has read, write, and execute permissions within the directory you pick.  In this example /slackwarearm/$SLACKREL is used, but you can use a directory of your choice.
Line 150: Line 150:
  
 With NAT mode enabled, QEMU launches a virtual network of 10.0.2.0/24.  The QEMU guest will be assigned the IP address 10.0.2.15.  The guest can access the Slackware x86 host at 10.0.2.2 and the QEMU DNS server runs at 10.0.2.3.  QEMU does not have direct access to the host's Local Area Network.  This means that the QEMU guest isn't assigned a physical IP address by your router DHCP service.  You will not be able to ping the QEMU guest from the host machine but the guest should be able to ping the host machine at 10.0.2.2.  The QEMU guest should be able to access the internet and communicate with the host machine. With NAT mode enabled, QEMU launches a virtual network of 10.0.2.0/24.  The QEMU guest will be assigned the IP address 10.0.2.15.  The guest can access the Slackware x86 host at 10.0.2.2 and the QEMU DNS server runs at 10.0.2.3.  QEMU does not have direct access to the host's Local Area Network.  This means that the QEMU guest isn't assigned a physical IP address by your router DHCP service.  You will not be able to ping the QEMU guest from the host machine but the guest should be able to ping the host machine at 10.0.2.2.  The QEMU guest should be able to access the internet and communicate with the host machine.
-==== Configure the Apache Mirror ==== +==== Configure a Web Server to Mirror Slackware ARM ====
-This step is very important and needs to be done correctly.  Incorrect settings will make your Slackware ARM guest unable to install Slackware.  Below are the suggested settings based on the host IP address and the location of the mirrored Slackware ARM tree.  Be sure to modify it to match your needs.+
  
-  * Log in as root. +There is a very simple way to share the ARM directory on the host with the ARM guests.  Use python and launch a basic web server like so: 
-  * Modify /etc/httpd/httpd.conf like so: + 
-<code> +<code> cd /slackwarearm && python -m SimpleHTTPServer</code> 
-..snip.. + 
-Listen 192.168.1.2:80 +The URL pointing to the mirror depends on the directory structure you used to store Slackwarearm on the qemu host The directory /slackwarearm/$SLACKREL was used earlier in this guide If you have mirrored slackwarearm-current, you would point your web browser at:  http://192.168.1.2:8000/slackwarearm-current/. 
-..snip.. + 
-DocumentRoot "/slackwarearm+For a production environmentthe Apache Web server (httpd on Slackware) may be more desirable.  Further directions to use Apache can be found [[howtos:network_services:setup_apache|here]].
-Directory "/slackwarearm"> +
-..snip.+
-    AllowOverride All +
-    Order allow,deny +
-    Allow from all +
-</code> +
-  * Test to see if Apache will display your mirror by visiting the URL in a web browser.+
  
-Further directions can be found [[howtos:network_services:setup_apache|here]].  Alternatively, use a mirror on the internet if you have too much difficulty configuring your own mirror.+Alternatively, use a mirror on the internet if you have too much difficulty configuring your own mirror.
 ===== Install Slackware ARM ===== ===== Install Slackware ARM =====
  
Line 262: Line 254:
 ====== Sources ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->
-  * Originally written by [[wiki:user:mozes|Stuart Winter]]+  * Originally written by [[http://www.slackware.com/~mozes/|Stuart Winter]]
   * Original source: [[http://ftp.arm.slackware.com/slackwarearm/boardsupport/qemu/]]   * Original source: [[http://ftp.arm.slackware.com/slackwarearm/boardsupport/qemu/]]
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-  * Modified and Maintained by [[wiki:user:mralk3 | Brenton Earl (mralk3)]]+  * Modified and Maintained by [[wiki:user:mralk3 | mralk3 ]]
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 howtos:hardware:arm:qemu_support_in_slackware_arm ()