Mount previous install on /mnt/temp: sudo mount /dev/sda6 /mnt/temp
Copy content across
First created archive directory: sudo mkdir /var/www/archive
Copied a directory structure: sudo cp -rv /mnt/temp/var/www/dev /var/www/archive
Copied the index file: sudo cp /mnt/temp/var/www/index.html /var/www
Installed vim: sudo apt-get install vim
Used vim to change paths mentioned in the index file
Geen opmerkingen:
Een reactie posten