Your SlideShare is downloading. ×
0
Linux apache server
Linux apache server
Linux apache server
Linux apache server
Linux apache server
Linux apache server
Linux apache server
Linux apache server
Linux apache server
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Linux apache server

349

Published on

Presentation on basic commands and good to know tools for developers on Linux, Apache and CentOS

Presentation on basic commands and good to know tools for developers on Linux, Apache and CentOS

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
349
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Linux : Apache Quick Guide for developers
  • 2. Add/remove a package • What is yum ? • Yum is a command to manage packages on a Linux Operating System. It will search for targeted repository and itsdependencies. This command only works for Red Hat Distribution ( CentOs / Fedora) • Yum install <package> • Yum remove <package> • Yum update <package>
  • 3. File and directory management • Pwd = Current location • Cd = Change directory • Mkdir = Create a directory • Touch = Create a file • Cp = Copy a file • Mv = Move a file • Ls = List
  • 4. Text editor • Vi (pre-installed) • Vim • Nano • Gedit
  • 5. Display the content • Tail => show the bottom of a file • Head => show the top of a file • Cat => show an entire file • More => print an entire file
  • 6. Good commands to know • Ifconfig => Network configuration • Df –h => Disk Free • Du –h => Disk Use • Top (pre-installed) or htop => Process viewer • Updatedb => Update indexing • Locate => Search a file • Find => Search a file
  • 7. How to get the proper syntax of a command ? • <command> --help • Man <command>
  • 8. Apache management • /var/www/html/ => Default Directory for web site • /etc/httpd/httpd.conf => Apache’s configuration file • /etc/httpd/conf.d/phpMyAdmin.conf • /etc/php.ini => PHP’s configuration file • /etc/init.d/httpd start | stop | restart • Service httpd start | stop | restart • /var/log/httpd/error_log • /var/log/httpd/access_log
  • 9. How to access your Apache server ? • Ssh root@IP_Address • Putty / MobaXtern / MRemote

×