Give apache sudo rights

navigate to a php page and execute depending on what distro you have you might get “www-data” or “apache”, in my case I got “apache” go over to your terminal right above the line “root ALL-=(ALL) ALL” type in also comment out this line in same file save file and[…]

Read More »

Create IAM user to post to s3

now that you’ve created a policy lets keep going with creating a user in order for you to upload to bucket you must add permissions, the boundary only sets limitations but doesn’t actually set permissions

Read More »

Readbeanphp: Create structure without storing record

https://groups.google.com/g/redbeanorm/c/R5QYJkxi3KA used this to scan for code needed to figure things out https://github.com/PHP-Usergroup-FFM/redbean-examples/blob/master/lib/rb.php https://redbeanphp.com/api4/class-RedBeanPHP.QueryWriter.AQueryWriter.html see code here also https://redbeanphp.com/api4/source-class-RedBeanPHP.QueryWriter.AQueryWriter.html#736-749

Read More »

Create volume from snapshot and mount

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html go to ec2 instance terminal As you can see there is only 1 volume at this point, now lets attach the new one status is now in-use Now we have 2. Now lets mount. Lets make a directory. “/werm” though in our terminal it shows up as xvdf1, we[…]

Read More »