PatchDashboard / patchdashboard

Patch Management Dashboard
Apache License 2.0
37 stars 16 forks source link

Update README for instructions installing on Ubuntu #1

Closed jmreicha closed 10 years ago

jmreicha commented 10 years ago

I am having trouble with the install script. It might be nice to have a guide to go off of?

Here is the error I'm getting right now:

cp: cannot stat ‘install/patch_scripts/*’: No such file or directory
cp: cannot stat ‘install/web_scripts/*’: No such file or directory
chmod: missing operand after ‘644’
Try 'chmod --help' for more information.
 * Restarting web server apache2
   ...done.
Apache Mod_rewrite or .htaccess is not working.  Please ensure you have mod_rewrite installed and enabled.  If it is, please make sure you cha
nge 'AllowOverride None' to 'AllowOverride All'
If you don't, this site won't work.  You've been warned.
Install is now complete. You can now go to http://localhost/patch_manager/ and begin working with this tool.  To add servers, use the followin
g command:
        /root/patch_scripts/add_server.sh 'server_name' 'IP_ADDRESS'
        It will ask you some questions regarding the user, password, and some other things.  Just follow the prompts.

        To add a server without the script granting super user, you will need to do the following:
        * Create ssh key (ssh-key-gen -t rsa) with no password on the key
        * Add public key on each server in /root/.ssh/authorized_keys
        * make sure /root/.ssh has 700 permissions on each node
        * make sure /root/.ssh/authorized_keys has 600 permissions on each node
        * go to the web UI, and click 'Manually add server'
        * Tell the UI the server name, the IP, and the distro.  The distro is not required (defaults to Ubuntu), but it will give the incorrec
t install command if the distro isn't apt-based

        Have fun!
jonsjava commented 10 years ago

I'm working on that right now. Actually, I'm working on re-working how servers are stored. Once that's complete, I'll push my changes, and you'll be able to successfully install, or I'll at least give you a how-to.

To see a demo for now, go to http://demo.curltools.com

jmreicha commented 10 years ago

Awesome, I appreciate it. I'll check back.