In centos, you can set your own installation methods.ProgramStart the instance.1. Add the Startup Program command to the/etc/rc. d/rc. Local file. For example, set httpd to be started upon startup.
#! /Bin/sh
#
# This script will be executed
Virgo-tomcat-server-3.5.0.RELEASE installation on centos6.2 i686
I. PrerequisitesFor javase1.6 or later, you must set java_home, path, and classpath environment variables;1.1 download and install
ArticleDirectory
System Environment
Fault Cause
Solution
Practical drills
System Environment
Centos 5.3 64bit
GCC 4.1
EMC 2.2
Operation Purpose
Compile the EMC module into. So from
Because the root user has full operation permissions on the system, in order to avoid some mistakes, we recommend that you log on to the system as a general user. If necessary, you need root operation permissions, then, run the "Su-" command to log
I installed it with livecd, and the installation scale is relatively small. As long as your installation scale is above livecdArticleIt will be suitable for you unless you plan to view the compilation output by yourself.
First, make sure that the
First, use the root user to log on, or obtain the root permission in the terminal. Then install the GCC compiler. By default, the GCC compiler is not installed in centos. If it is already installed, ignore this step. # Yum install gcc Install
My centos is a virtual machine using virtualbox. After installation, it is best to install the vboxadditions enhancement function. The main purpose is to share files between the virtual machine and the host machine.
1. Update the kernel. The
Install servers such as Apache and MySQL on centosProgramIt is not set to enable automatically after the boot. To avoid manual enabling of Web and other servers after the restart, you must set the settings as follows:ChkconfigCommand.
For
After the system is installed, centos cannot access the Internet. ifconfig finds that no IP address is configured.
Modify IP Address
/Etc/sysconfig/network-scripts/Ifcfg-eth0, if it is multi-nic, In this push
Modify:Onboot = "NO" isOnboot = "
Webmin is a powerful management UI in Linux and is standard for general servers.
Download the Installation File
Wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
Install SSL first
Yum install OpenSSL
Edit the firewall
Introduction
There are many ways to improve server performance, such as dividing image servers, Master/Slave database servers, and website servers on servers. However, when the hardware resources are rated limited, many O & M technicians think
/Etc/sysconfig/Network/Etc/sysconfig/network-scripts/ifcfg-eth0/Etc/resolv. conf/Etc/hosts
1. centos DNS Modification
Modify the DNS configuration file of the corresponding Nic# Vi/etc/resolv. confModify the following content
Nameserver 8.8.8.8
ArticleDirectory
Instructions for use
Since GCC was not installed after centos was installed, the upgrade failed to be manually installed. Therefore, centos 6.4 i686 was reinstalled yesterday and the kernel was 2.6.
The official sources of
Problem description: to minimize the installation of centos, there is no graphical interface by default. This is exactly what I want. However, the command line interface is very small, and many outputs are forced to write with line breaks, affecting
Recently, centos was installed. I accidentally lost my password and couldn't get in. I checked the information and found the method. The test was successful.
Exist here, spare.
1. When the grub screen appears, use the up/down key to select the
Because the default CentOS kernel is 2.6.18, You need to upgrade the kernel.
It's easy to upgrade the kernel to 2.6.27, but it took me a long time to upgrade the kernel to 2.6.28.
Upgrade to 2.6.27Wget
1,Software
A) download jdk address, this document sample jdk for jdk-6u32-linux-x64.bin,: http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64.bin
B) unless otherwise stated, this document serves as the root
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.