Configure Linux Server
Table of Contents
Install CentOs Letest
Disable SeLinux
root@host:~ vi /etc/selinux/conf ; SELINUX=disable
Enable ethernet connection
root@host:~ vi /etc/sysconf/network-script/ifc-eth0 ; ONBOOT = "yes"
Update CentOs Latest
root@host:~ yum update
Install cPanel/WHM
root@host:~ mkdir setup ; root@host:~ cd setup ; root@host:~ wget <a href="http://layer1.cpanel.net/latest" target="_blank" rel="nofollow noopener noreferrer ugc" class="underline">http://layer1.cpanel.net/latest↗</a> ; root@host:~ sh ./latest
Install Apache Server on CentOS
root@host:~ yum install httpd ; root@host:~ chkconfig --levels 235 httpd on ; root@host:~ /etc/init.d/httpd start ; Note: This is typically installed with CentOS by default
Installing PHP5
root@host:~ yum install php ;
Restart Apache
root@host:~ /etc/init.d/httpd restart
If apache not visible from remote computer
; you have to add a firewall exception: ...first turn it off: # service iptables stop # nano /etc/sysconfig/iptables ...need to add rule: -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT ...then start firewall again #service iptables start ...if you want to remotely access MySQL as well (I do) you also add: -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT
Enable Selinux
SELINUX=permissive
Installing MySQL 5
root@host:~ yum install mysql mysql-server ;
Create the system startup links for MySQL
root@host:~ chkconfig --levels 235 mysqld on ; root@host:~ /etc/init.d/mysqld start
Set passwords for the MySQL root account.
root@host:~ mysql_secure_installation
Download or Print this Configure Linux Server
Get a printable version of this checklist in your preferred format: PDF, Word, Excel, or print directly from your browser.
Presented by:
Rackbank
Stats
Views
12
Views: 12
Uses
2
Uses: 2
Tasks
13
Tasks: 13
Details
Tips
Basic server configuration
Who it's for
This Configure Linux Server is for teams that want consistent execution, less rework, and clear ownership.
- Standardize quality - run the same Configure Linux Server steps every time, regardless of who executes
- Save time - reuse a proven Configure Linux Server workflow instead of rebuilding processes from scratch
- Improve accountability - assign owners and see what's done vs. what's pending
- Onboard faster - use the Configure Linux Server checklist as the SOP and training guide
- Coordinate across roles - handoffs are clear and everyone works from the same source of truth
How to use it
How to use this Configure Linux Server:
- Start by saving it - save as a Template if you'll reuse it, or as a Checklist if it's a one-off project.
- Customize it once for your workflow - remove what doesn't apply and add your team-specific steps.
- Assign ownership and execute - set owners/due dates where needed and track completion as work happens.
- Reuse without rebuilding - when Configure Linux Server comes up again, start from your saved version and run it with clear ownership.