As we all know, Microsoft Windows provides a Remote Desktop System. The default port of this service is 3389, allows users to remotely log on to the system for system management or run various applications as terminal servers.
To connect to Windows
System Environment: CentOS LinuxNetwork Environment: two IP addresses, 192.168.0.10 and 10.10.30.2, mask 255.255.255.0,The Gateway addresses of the two subnets are 192.168.0.1 and 10.10.30.1.1. Configure the IP address 192.168.0.10 for the network
Method 1:# Ifconfig eth0 down# Ifconfig eth0 hw ether 00: AA: BB: CC: DD: EE# Ifconfig eht0 upMethod 2:# Ip link set eth1 down# Ip link set eth1 address 00: AA: BB: CC: DD: EE# Ip link set eth1 upMethod 3:# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Common commands for copying files and folders using CentOS
CpNO1. copy the files in the specified directory to the current directory and rename[Root @ rehat root] # cp ~ /. Bashrc bashrc_bak
NO2. force copy the file from the specified directory to
USB is a connection between the host and peripheral devices. USB was initially designed to replace low-speed bus with a variety of different interfaces. (For example, serial port, parallel port, and keyboard connection ). It connects various types
After installing LNMP, centos found that port 80 on the webpage could not be accessed. It was not very familiar with the CentOS system, but there were also a lot of VPS that I encountered for the first time.Calm down and think about it. Will it be
Smbclient usage
1. List the Shared Folders provided by an IP address.Smbclient-L 198.168.0.1-U username % password2. Use smbclient like an FTP ClientSmbclient // 192.168.0.1/tmp-U username % passwordAfter the smbclient command is successfully
Do you want to know what your server is doing? You need to know the basic commands described in this article. Once you are familiar with these commands, it lays the foundation for becoming a professional Linux system administrator.
You can use a
Acpid power management can reduce energy consumption and save power by suspending unnecessary devices, reducing the CPU frequency or other methods.Apmd-apmd is used to monitor the power usage status of the system and write related information to
Adjust the usage of a program corresponding to the CPU:
I. Use taskset to make full use of multi-core cpu to balance cpu usage to each cpu
# Taskset-P: Set an existing pid instead of restarting a new task.-C: Specifies a processing item. Multiple
NIC channel bonding allows multiple network cards to act as one, allowing increased bandwidth and redundancy. let's assume we have two network interfaces ("eth0" and "eth1") and we want to bond them so they look like a single interface ("bond0 ").
Cryptsetup is a partition encryption tool in linux. It is a partition-level encryption tool that works at a lower level than the file system level. It creates a file system on an encrypted block device, last mount and use.
1: create a common logical
: Xiaocheng was released at:. Category: Operating System
When configuring multiple servers, you often need to synchronize the time between each server. If the server has an Internet environment, you can directly update the time at the same time as
Disable ctrl + alt + del• By default, ctrl + alt + del is used to restart the system with a delay of 3 seconds. The delay between sending an alarm message to the process and killing the process signal is 3 seconds. • Edit/etc/inittab and set the
First display: related commands ls, pwd
Ls commands are very powerful and commonly used, but they are hard to remember.
1-1. For non-Internal commands (such as ls, rm, and mkdir), you cannot use help to view help.
1-2, ll = ls-l // display in long
Record the description of the Nginx. conf configuration file on the nginx server, partial annotation collection and network.
# Running userUser www-data;# Start the process. Generally, it is set to be equal to the number of CPUsWorker_processes 1;
0: This document uses the installation package of asterisk under centOS6.5 as an example to illustrate the problem. Please refer to the following example. Thank you! 1. Prepare the environment:
When installing the environment, you must have System
I. File System Knowledge supplement
A file system is a mechanism used to provide users with underlying data access. It divides the space in the device into blocks (slices) of a specific size, typically 512 bytes each. Data is stored in these blocks,
Swap cleanup:
Swapoff-a & swapon-
Note: This cleanup requires that the idle memory must be larger than the used swap space.
Cache cleanup:
Sync; & echo3>/proc/sys/vm/drop_caches
Sleep 2
Echo 0>/proc/sys/vm/drop_caches
To free pagecache:
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