 |
|
| |

Linux Troubleshooting, Updating,
Installing LAMP
| System Shut
Down |
| Shuting Down |
shutdown -h now
shutdown -h +15 |
Shut Down -> Halt now or in 15 minutes. |
shutdown -r now
shutdown -r +15 |
Shut Down ->Restart now or in 15 minutes. |
|
| |
| Re-mounting
Drives |
| Re-mounting the root/boot drive |
|
| |
| YUM CentOSPlus
repository |
| YUM |
nano /etc/yum.repos.d/CentOS-Base.repo
Under:
#additional packages that extend functionality
of existing packages
[centosplus]
Change:
enabled=0
to:
enabled=1
or just type:
# yum update --enablerepo
centosplus mysql-server mysql
|
|
| |
| YUM Explained |
| YUM |
yum list available
yum install packagename
yum update packagename
yum check-update
yum search packagename |
|
| |
| Installing LAMP
Services: |
| YUM |
yum update
yum install httpd
yum install openssl
yum install mysql-server mysql
yum install php |
|
| |
| Upgrading LAMP
Services: |
| YUM |
yum update
yum update httpd
yum update openssl
yum update mysql-server mysql
yum update php |
|
| |
| Starting and
Restarting Services: |
| |
/etc/init.d/sshd start
/etc/init.d/httpd start
/etc/init.d/httpd restart
/etc/rc.d/init.d/mysqld start
or
# service httpd start
# service httpd stop
# service httpd reload
/etc/rc.d/init.d/mysqld start
/etc/rc.d/init.d/mysqld stop
/etc/rc.d/init.d/mysqld restart
|
|
| |
| Listing, Enabling,
Disabling Services: |
| |
# chkconfig --list httpd
# chkconfig --level 3 httpd on
# chkconfig --level 3 httpd off
reset to default configuration:
# chkconfig --level 3 httpd reset |
|
| |
|
|

Call for more details
858-410-1500
|
|
Bernard Kohan ©
2007 - 2008
Website Design and Development - San Diego, Chicago, Austin, Irvine, Los Angeles, Ft Lauderdale, Jacksonville
Website Database Development - San Diego, Chicago, Austin, Irvine, Los Angeles, Ft Lauderdale, Jacksonville
Website Design and Flash Animation - San Diego, Chicago, Austin, Irvine, Los Angeles, Ft Lauderdale, Jacksonville
Web Database Developers: PHP & MySQL Programmers
Custom Database Programmers: PHP & MySQL Developers
Database Design
PHP Programmers
|
|
|
|
Comentum Corporation, Copyright ©
1996-2008
|