Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to configure httpd in amazon ec2 instance

[ec2-user ~]$ sudo service httpd start
                
Comment

how to configure httpd in amazon ec2 instance

[ec2-user ~]$ sudo chmod 2775 /var/www
[ec2-user ~]$ find /var/www -type d -exec sudo chmod 2775 {} +
                
Comment

how to configure httpd in amazon ec2 instance

[ec2-user ~]$ sudo yum update -y
Comment

how to configure httpd in amazon ec2 instance

[ec2-user ~]$ sudo yum install -y httpd24 php56 php56-mysqlnd
                
Comment

how to configure httpd in amazon ec2 instance

[ec2-user ~]$ sudo usermod -a -G www ec2-user
                
Comment

how to configure httpd in amazon ec2 instance

[ec2-user ~]$ sudo chgrp -R www /var/www
                
Comment

PREVIOUS NEXT
Code Example
Shell :: linux strip foldder name from path 
Shell :: pip install pytorch==1.4.0 
Shell :: root folders via gui ubuntu 
Shell :: installing scoop for windows 
Shell :: video to gif 
Shell :: docker pull image 
Shell :: kill x server 
Shell :: wsl directory 
Shell :: git merge example 
Shell :: install redash ubuntu 20.04 
Shell :: trailing whitespace git apply 
Shell :: web 3 react npm 
Shell :: how to install choclatey using command prompt 
Shell :: git revert pr merge 
Shell :: sed replace number 
Shell :: how to mount windows folder on ubuntu 
Shell :: npm install package as dependecy 
Shell :: how to install wireshark on fedora 
Shell :: how to install xdebug 
Shell :: bash grep for two terms in same line 
Shell :: docker system prune 
Shell :: git push and pull not asking password 
Shell :: tempfile.temporarydirectory() 
Shell :: PowerShell read CSV file line by line 
Shell :: bash command to clean up log files 
Shell :: delete a github repository using bash 
Shell :: git add ssh 
Shell :: install psql mac 
Shell :: send post request webhook bash scipt 
Shell :: check connected wifi details on kali 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =