Install and configure telnet in Centos (for full version, Centos 5.5)
1. Check whether telnet is installed on the local machine (telnet is installed on centOS5 by default)
# Rpm-qa | grep telnet
If the result is:
Telnet-0.17-39.el5
Telnet-server-0
1. Cenots6.3 is installed with 2.6.6 by default. to update and upgrade, you must install gcc:
Yum-y install gcc
The system automatically downloads and installs gcc.
2. Download python 3.3.2 http://python.org/getit/
3. Decompress python 3.3.2
Memcache introduction:
Memcached is a free and open source code, high-performance, distributed memory object cache system. It can be used to accelerate dynamic web applications and reduce database load. By maintaining a unified and huge hash table
1. Install the samba service in CentOS6.3Yum-y install smaba2. Edit the samba configuration fileVi/etc/samba/smb. conf
vi /etc/samba/smb.conf
1) Change the user group
Workgroup = WORKGROUP
workgroup = WORKGROUP
2) authorized IP addresses
Hostsallow
Some servers were reinforced according to company requirements some time ago. One of the reinforcement content was to set the User Password cycle time. Facts have proved that this wood is useful for tasks. The following is a small drop test in the
Software raid: You can only view cat/proc/mdstat on the Linux system to view raid level, status, and other information. Hardware raid: the best solution is to use the installed raid vendor's management tools to check whether there is a broken line
1. Reference Links:---- You can configure the following link. in redhat linux, you can go back to the network card from which the destination address is the network card address:Http://bbs.chinaunix.net/thread-4871955-2-1.html#]
---- In actual tests,
Lab environment:
1,RootHow to recover password loss
Start the instance, press any key to enter GRUB mode, and press "e" to edit GRUB.
Select the kernel part of the second line and press "e" to enter the editing mode.
Enter sulinux = 0 1 and press
How to use the Windows Font in Linux
When we open files such as Word in Linux, we often find that many words cannot be correctly displayed. In fact, this is because most of the documents created in Windows use the font of, in Linux, this font is not
The company's intranet server does not have enough hard disk space. Mount the New GB hard disk and set it to the samba shared directory. For samba, refer to this article. There are already two hard disks on the server, so the hard disk is sdc, which
Step 1: Create the partition root # fdisk/dev/had à and go to the newly added hard disk.The number of cylinders for this disk is set to 10402. there is nothing wrong with that, but this is larger than 1024, and cocould in certain setups cause
1 shiftwidth
This is the blank length indication used for automatic indentation in the program. In general, to keep the program beautiful, it is best to be consistent with the following parameters. It is also the setter of the symbol shift length.2
Run the "du-h abc.tar" command to resize the abc.tar file in the current directory.
Run the "du-sh centoscn" command to view the entire folder size in the centoscn directory.
Ps: Syntax: du [-abcDhHklmsSx] [-L ] [-X ] [-- block-size] [-- exclude = ]
1. switch back to the previous directory.
cd -
The horizontal bar indicates the path of the previous directory.
-It is actually a built-in variable $ owd.
2. replace a phrase in the previous command
^foo^bar^
The original style of this command
After CentOS has installed apache, mysql, and other server programs, It is not set to enable automatically after startup. To avoid restarting, you must manually enable the web and other servers, in fact, the setting is very simple.ChkconfigCommand.
Ifup and ifdown: linux commands
You can use ifconfig to manually modify Network Interface Parameters in real time, that is, if you start the ifcfg-ethx and other file setting parameters in/etc/sysconfig/network-scripts, You need to implement ifdown
Create a RAID0 with a size of 10 GB1. Create two shards for RAID 0
Use/dev/sde1/and dev/sdf1 to create a partition. The partition capacity is 5 GB, And the partition is converted to fd.
123 # fdisk/dev/sde # fdisk/dev/sdf # fdisk-l/dev/sd {e,
1. Introduction to important log files in Linux
/Var/log/boot. log
This file records the system events during the boot process, that is, the information displayed during the Linux system boot self-check process, as shown in 1:
Figure 1/var/log/boot.
Rm-rf mydir/* Delete the mydir directory */Cd mydir/* enter the mydir directory */Cd-/* Go back to the upper-level directory */Cd ~ /* Return to the root directory */Mv tools tool/* rename the tools directory to tool */Ln-s tool bac
/* Create a
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