1. I want to upgrade the centos kernel. The upgrade method will not be discussed much.2. After the upgrade, restart the system and find that the system cannot be started. The reason is that the system cannot mount the file system.3. I found some
Many Linux users encounter the following dilemma when installing the operating system: How to accurately evaluate and allocate the capacity of each hard disk partition? If the original evaluation is inaccurate, once the system partition is
I have been studying python recently and feel very good, especially for Batch/concurrent processing. It is very convenient to implement and much more convenient than shell. I just learned python for a month and keep a record here. The following is a
Because the server needs to regularly execute some tasks, accurate to the month, day, hour, and minute, there are more entries in the cron file, and it is troublesome to delete a single one, write a script to maintain the scheduled tasks in the cron
The has_key () method can check whether the dictionary contains the specified key. If yes, True is returned. Otherwise, False is returned.Syntax format:Dictionary_name.has_key (key)
Dict1 = {'01': 'yangry', '02 ': 'weild', '03': 'hexh', '04':
Write the alarm program under windowns, and there is an alarm sound implementation. There is a winsound module in python that can be implemented, the method is also very simple:
import timeimport winsounddef play_music():
_ Init _ (self,...): Initialize the object and declare it before creating a new object.
_ Del _ (self): release an object, called before the object is deleted.
_ New _ (self, * args, ** ked): instance production operation
_ Str _ (self): called
WxPython is a good module in python visual programming. The following code mainly describes the implementation of toolbar, status bar, menu, menu events (refer to: http://www.czug.org/python/wxpythoninaction ):
#! /Usr/bin/env python #-*-coding:
I have been studying python recently and feel very good, especially for Batch/concurrent processing. It is very convenient to implement and much more convenient than shell. I just learned python for a month and keep a record here. The following is a
1. data Object persistence in some cases, you need to save the content of the data object to facilitate reading at the next time the program starts. This requires Object persistence, see the following example import pickle # create the test
Abstract: over the past 20 years, Debian is not the best Linux, but it is definitely one of the most influential and one of the largest open source projects. It is also the basis of many popular Linux releases, for example, the most famous Ubuntu is
The maximum value of the int type in python is related to the system. The results of 32-bit and 64-bit systems are different. The values are respectively the 31 power of 2 minus 1 and the 63 power of 2 minus 1, you can use sys. maxint.
After python2
As a linux system administrator, the main task is to optimize system configuration so that applications can run in the optimal state on the system, however, due to the complexity and variability of hardware, software, and network environments, the
Today, Linus Torvalds officially released Linux kernel 3.12. The new version introduces a new CPU frequency manager.
Linux kernel 3.12 Update log:
-- Optimizes the CPU frequency manager to more effectively implement the dynamic frequency
Mark Shuttleworth previously closed the bug No. 1 of UbuntuLinux ("Microsoft has the highest market share"), leading to some controversy and some meaningful discussions, discuss the path Linux has taken since Linus Torvalds invented Linux as a
Automatic it O & M requires convenient use of various tools for management and maintenance to effectively implement server protection.
Introduction to common linux O & M tools
1. The rsync tool is often used in many places to implement the
In 2007, Jon Prall, vice president of O & M at Vivaty, a virtual world game company, published an article "85 O & M rules" on his blog. In 2010, he switched to the video phone company Tango and made two updates:1. Capacity 1 and optimization 2-this
1. the Linux desktop market share will break through double digits
Although Linux has only 2013 share of the desktop market in 5%, it is believed that open-source desktop will eventually break through double-digit in 2014. There are many reasons.
Note:Operating System: CentOS 6.3 32-bitPreparation:1. Configure the IP address, DNS, and gateway to ensure that the remote connection tool can be used to connect to the server.2. configure the firewall and enable port 80 and port
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