The yum installation method is very convenient in a network environment. It is very meaningful to select a fast Yum source (1) automatically select the fastest source because the speed of some mirror in yum is very slow, if Yum selects this mirror,
The newly installed server may be set incorrectly. You need to adjust the time zone and adjust the time as follows: Use NTP to synchronize data from a time server.
CP/usr/share/zoneinfo/Asia/Shanghai/etc/localtime
Ntpdate us.pool.ntp.org
You can view the following commands:
# Lsb_release-LSB version: core-3.1-ia32: core-3.1-noarch: graphics-3.1-ia32: graphics-3.1-noarchDistributor ID: centosDescription: centos release 5.4 (final)Release: 5.4Codename: Final
This command applies to
When centos is used as the server, the server may sometimes reject the connection from the client. The client may suffer Connection reset by peer errors. The reason should be that the default file descriptor of the server is 1024, at this time, it
[Root @ bogon test] # vi/etc/sysconfig/i18n
Lang = "zh_cn.gb18030"Language = "zh_cn.gb18030: zh_cn.gb2312: zh_cn"Supported = "zh_CN.UTF-8: zh_cn: Zh: en_US.UTF-8: en_us: en"Sysfont = "lat0-sun16"
Restart the system.
If the problem persists, you
When you configure phpMyAdmin, enter http: // 192.168.8.250/PHPmyAdmin/in the browser/
You also encountered the problem of you don't have permission to access on this server.
I found a lot of information on the Internet, some of which are the
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
Prerequisites: Use root to log on and modify the configuration file:/Etc/ssh/sshd_configRemove the comments of the three rows, as shown below:
Then restart the SSH service: Service sshd restart. Finally exit root,All of the following operations
Restart command
Common shutdown and restart commands in Linux include shutdown, halt, reboot, and init, which can be used for shutdown and restart. However, the internal working process of each command is different, next we will introduce them one
First, check whether the rpm-Qa | grep MySQL has been installed. Check both of them.Rpm-Qa | grep MySQLIf the installation is detachable, run the rpm-e ****** command to uninstall the customer service and server.
1. Download the MySQL
Very strange ~ The server is in centos 64bit init 3 mode.You can log on remotely through SSH, but the monitor cannot directly connect to the keyboard.Entering the correct account and password on the logon page will return to the logon
Create a database for testing
Mysql-u root-P# Set the permission to facilitate backup
set password for 'root'@'localhost' =password('dsideal');flush privileges;
# Delete the old test databaseDrop database test;# Create database test; use test;
I. Introduction
Tcmalloc, short for thread-caching malloc, is an open-source tool developed by Google. Compared with the standard glibc library's malloc. Tcmalloc has higher memory allocation efficiency and speed than malloc. For more information,
I wrote a small program and tested how the vector allocates memory:
Code: select all
#include #include #include using namespace std;int main(){ vector vec1; cout for (int i=0; i vec1.push_back("String 1"); cout
Building the virtualbox guest additions kernel modules faild
Users who use virtualbox to install linux often install the enhanced tool guest addtions at the same time, the main purpose of this tool is to allow the mouse to freely shuttle between
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service