Differences

This shows you the differences between two versions of the page.


centos [2020/09/04 06:42] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== CentOS ======
  
 +  * [[CentOS Apache]]
 +  * [[CentOS Bare Stack]]
 +  * [[CentOS Deployment]]
 +  * [[CentOS Networking]]
 +  * [[CentOS Kickstart]]
 +  * [[CentOS HortonWorks]]
 +  * [[CentOS PHP]]
 +  * [[CentOS Salt]]
 +  * [[CentOS Xen]]
 +  * [[Horton Works]]
 +  * [[Linux ISOs]]
 +
 +=== Software ===
 +
 +  * [[chkconfig]]
 +  * [[ntsysv]]
 +  * [[rpm]]
 +  * [[yum]]
 +
 +== What repositories are used by default? ==
 +
 +^ repo id ^ repo name ^
 +| base | CentOS-5 - Base |
 +| extras | CentOS-5 - Extras |
 +| updates | CentOS-5 - Updates |
 +
 +== How to edit repositories ==
 +
 +== Notes ==
 +
 +Some times yum looks for perl URI, but can't find it.  Here is a workaround:
 +
 +<code>
 +wget http://mirror.centos.org/centos/5/os/i386/CentOS/perl-URI-1.35-3.noarch.rpm
 +rpm -Uvh perl-URI-1.35-3.noarch.rpm
 +</code>
 +
 +==== Network Install ====
 +
 +Server: mirrors.kernel.org
 +
 +Path:   centos/5/os/i386
 +
 +For CentOS 6:
 +
 +Path: http://archive.kernel.org/centos-vault/6.6/os/x86_64/
 +
 +If you want to do a text install, add ''text'' to the boot options from the SYSLINUX menu.
 +
 +==== Basics ====
 +
 +<code>
 +yum update
 +yum -y install screen yum-utils yum-protect-packages yum-protectbase
 +</code>
 +
 +==== Services ====
 +
 +== See running services ==
 +
 +<code>service --status-all | less</code>
 +
 +== Manage a service ==
 +
 +<code>service <name> [start|stop|status|restart]</code>
 +
 +== Manage service configurations ==
 +
 +See ''/etc/sysconfig''
 +
 +== Add, remove a service from startup ==
 +
 +ncurses interface
 +
 +<code>ntsysv</code>
 +
 +manually
 +
 +<code>
 +chkconfig --add <service>
 +chkconfig --del <service>
 +</code>
 +
 +== Create my own service to run at startup ==
 +
 +Add it in /etc/init.d, make it executable, then ''chkconfig service on''
 +
 +==== System ====
 +
 +== Install development tools ==
 +
 +<code>
 +yum groupinstall 'Development Tools'
 +</code>
 +
 +== Edit environment variables ==
 +
 +Edit ''/etc/environment''
 +
 +== Edit cron jobs ==
 +
 +<code>crontab -e</code>
 +
 +== Send outgoing email ==
 +
 +<code>echo <message> | mailx -s <subject> <address></code>
 +
 +==== Helpful Links ====
 +
 +  * [[http://wiki.centos.org/HowTos|CentOS Wiki: HowTos]]
 +  * [[http://wiki.centos.org/FAQ/CentOS5|CentOS 5 FAQ]]
 +  * [[http://blog.hbcom.info/archives/54|Disable system beep]]
 +  * [[http://www.cyberciti.biz/faq/rhel-centos-fedora-linux-yum-command-howto/|Yum FAQ]]

Navigation
QR Code
QR Code centos (generated for current page)