Reinstall centos in centos
What should I do if the system crashes and no optical drive is available. The simplest method is to re-install CentOS with the iso CD file in cenots.
Attach a cd
Mount-o loop centos. iso/mnt/
Copy the Startup File
Cp/mnt/isolinux/boot/-
Edit and add grub. conf:
Title centos_setup root
CentOS 7 Open Port and centos Open Port
After CentOS is upgraded to 7, iptables cannot be used to control the Linuxs port, because CentOS 7 uses firewalld instead of the original iptables. The following describes how to use firewalld to open a Linux Port:1. check whether a port is open
[Root @ localhost bin] # firewa
CENTOS installation and deployment zabbix and centos deployment zabbix
Http://www.showerlee.com/archives/13 ()
The rhce email has been sent, so I am free to update the previous documents.
The content I updated is mainly to add my current understanding to the configuration and tell you some ideas and ideas at that time. Instead of posting a lot of commands as many documents on the Internet, many friends who
Install centos and centos
1. First, you must have a CentOS installation medium. The following page appears when you start the computer with the media:
Interface Description
Install or upgrade an existing system Install or upgrade the existing system
Install system with basic video driver
Rescue installed system enters system Repair Mode
Boot from local drive ex
Install Mono using the yum command in centos 7, centos 7 yum
Preface
After trying to install mono on the Internet, this installation process went through about two weeks and tried various versions and all the installation methods described by the blogs. You can try different versions of mono by installing the following content. And Standard installation in informal environments.
1. Install the required Libr
CentOS system repair mode and centos Repair Mode
A recent error occurred while tuning the CentOS system resolution. the result is that the system prompts "cocould not apply the stored configuration for monitors" after logging on, it turns out that when I changed the Resolution, the system created a display configuration file. When I log on to the system, I read t
Common CentOS commands and common centos commandsSystem Command yum command
Yum makecache yum generation CacheYum list installed mysql * check whether the * package has been installedRpm-qa | grep mysql * check whether the mysql * package has been installedYum list mysql * check whether there is an installation packageYum search mysql * search package
Restart
Reboot-h now
Shutdown
Shutdown-h now
-
In Centos, how does one modify the system time permanently? In centos, how does one modify the system?
When Centos is used, if the local time is not correct, the command date-s "15:15:15" takes effect immediately. However, after the system is restarted, the system time remains the same.
Find the information and make a summary.
My
CentOS 7 network configuration and centos Network Configuration
CentOS 7 was installed on a PC today, and the minimum installation mode was selected at that time. After the installation is complete, use ifconfig to check the local IP address (DHCP already exists in the LAN). An error is reported, the ifconfig command is not found.[Root @ centos1 ~] # Ifconfig-Bas
CentOS-7 disk resizing, centos-7 resizing
* 1. Here we also want to resize the hard disk on CentOS7 installed in VMWare, and do not restart the virtual machine. The size of the/home directory before resizing is 348 GB, as shown in :*
* 2. For details about how to add a hard disk in the middle, see "how to add a virtual disk without restarting vmwarevm (on)" *
* 3. The operation of disk resizi
CentOS Study Notes-SSH, centos-sshConfigure SSH
If the network SSH service is enabled by default, you can test it on the client. If not, run the following command:
[Root @ www ~] #/Etc/init. d/sshd restart stopping sshd: [OK] Activating sshd: [OK] # You can also use service sshd restart
(The following is from the Linux private house dish of laruence-Chapter 11th of the Server installation directory, remot
Common CentOS commands and common centos commands
// Linux common command query link: http://linux.chinaitlab.com/special/linuxcom/
I. View cpu using common CentOS commands
More/proc/cpuinfo | grep "model name"Grep "model name"/proc/cpuinfo[Root @ localhost/] # grep "CPU"/proc/cpuinfoModel name: Intel (R) Pentium (R) Dual CPU E2180 @ 2.00 GHzModel name: Intel (R
CentOS forgot the root password. Solution: centos forgot the root password.
1. After starting the instance, press any key before the last 5 seconds.
2. on the page that displays centos..., press edit)
3. The interface of the three lines will appear. Select the line in the middle of the kernel... and press the e key.
4. At the end of the interface that appears
At the time of CentOS 5, we were accustomed to eth0 such a network device naming, in CentOS 6, found that the network device became EM1 name. At that time, when we were installing, we added biosdevname=0 to the startup parameters and we could continue to use the name eth0.
By the time the CentOS 7, the original parameter biosdevname=0 did not work, the network d
CentOS Common Settings
1. Hide title bar when maximized
Or use Tweak tool to set the title bar font to 0 in the font ... Suggest this method.
2. Add Epel Source
Yum-y--nogpgcheck Install http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm
3 Add Elrepo Source:1 Import Key:Wget-c https://www.elrepo.org/RPM-GPG-KEY-elrepo.orgRPM--import rpm-gpg-key-elrepo.org2 Add Source: RPM-UVH http://www.elrepo.org/elrepo-release-7.0-2.
How to connect the local Windows server to CentOS in the Virtual Machine and centos in the Virtual Machine
1. Determine the IP address of CentOS. The command is ifconfig. We can see that the LinuxIP address is 192.168.85.128.
2. the IP address of WIndows is 192.168.16.1,
3. Ensure the ping between CentOS and Windows
Description
Operating system: CentOS 6.x
IP Address: 192.168.21.188
Implementation Purpose: Synchronize the contents of the CentOS mirrored site to this server, and by configuring the HTTP server, can provide Yum services outside
Prepare the article:
First, install HTTP server
The HTTP service is provided here using the Nginx server
Ii. System Agreement
Nginx site root directory: / usr / local / nginx / htm
Build shadowsocks in CentOS in VPS
First, we will introduce several good VPS products:
DigitalOcean
Bricklayer
Linode
Detailed operation instructions for Linode:
After the Linode account is bound to a credit card for activation, you can create VPS. It is worth noting that the control panel of Linode is more complex, and of course it comes along with more powerful functions. Select the package in "Lin
CentOS Remote Backup Using rsync
This article provides a quick way to back up the most common things in a typical Web host scenario: website files and database data. We will set up a complete daily backup of the folder of a website and copy the data to a remote server (this can also work on another VPS ). We will also set up an rsync example, the incremental changes just copied. Finally, we will create a MySQL database backup. This program describes h
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.