You will need to do two things:
- Install Apache on your Ubuntu installations. The command to use is
sudo apt-get install apache2
.
- Copy or move your
file.conf
to the folder at /var/www
. You might
need to use sudo
for this again: for example, sudo cp
/path/to/your/file.conf /var/www/file.conf
.
wget will probably not work with wildcards. A better solution will be to do something like this as a shell script, once all your configuration files are accessible:
#!/bin/bash
for i in {1..100}
do
wget "127.0.$i.1"
done
another solution
note
wget will only be able to download anything if there is an HTTP server running at the other end.
s you may be able to run commands via ssh in bulk, this might help:
# on the client machine:
cd /home/username/Pictures/
python -m SimpleHTTPServer
This starts a web-server on the machine it's run on. You can then access the file from anywhere using
wget http://172.29.34.15:8000/x.jpeg