How to set the Automatic startup program in linux 1. After the program www.2cto.com is loaded in Linux, it will initialize the hardware and device driver, and then run the first process init. Init starts other processes based on the configuration
For beginners of gdb, it is required to call gdb compilation and add the-g parameter and-o after cc; [root @ redhat home] # gdb debugging file: Start gdb (gdb) l :( l) list source code www.2cto.com (gdb) break n: Set the breakpoint (gdb) break func
The brisk VIM (1): It has been a year since the mobile phone used VIM intermittently. It will always use a few commands, and the efficiency is extremely low. www.2cto.com changed Windows to Linux Mint in the last few weeks, it's basically also
Linux Command who am I, who, whoami today is not talking about Jackie Chan's movie "who I am", but about Linux's who series commands, including who, whoami, and who am I. Www.2cto.com: [rocrocket @ rocrocket ~] $ Whoamirocrocket [rocrocket @
After the system is installed, We need to update the system:$ Sudo apt-get update$ Sudo apt-get grade it takes some time to update the system. Because we have installed a basic system and there are no databases, let's install Postgresql9.1: www.2cto.
A problem related to operating system coding today occurs. The same program runs normally on the windows Server and garbled characters appear in a linux server. Some data is UTF-8 encoded in the www.2cto.com program. Later I suspect that the linux
View the current IO Scheduling Algorithm of the system: [root @ IO-0-1 ~] # Cat/sys/block/sda/queue/scheduler noop anticipatory deadline [cfq] ---- modify the IO Scheduling Algorithm for the currently used algorithm in parentheses: www.2cto.com
View the modules loaded by Apache. apachectl-t-D DUMP_MODULES into apache2: cocould not reliably determine the server's fully qualified domain name, using 127.0.1.1 for each Modules: core_module (static) Partition (static) logio_module (static)
Apache. htaccess restricts file access. Every time the Code is written and submitted by svn, when the code is published online. the svn hidden folder is released to the production environment, so that malicious users can directly browse it. svn
It is easier to install lamp Using yum in centos. install yum install httpd mysql in apache: install yum install httpd php: install yum install httpd mysql: after yum install mysqld installs mysql, you need to set the password, and then enter the
Filter the invalid ip addresses in the access log and the script for regularly updating the ip addresses of the robot: www.2cto.com #! /Bin/sh # update the company IP address on a regular basis to filter # author: Felix Zhang # date: 2012-12-29
Section 1 Introduction and classification of VPN
1 PPTP-Based VPN
PPTP (Point to Piont Tunneling Protocol) is a Protocol initiated by Microsoft that can work on multiple Microsoft operating systems, including Windows 95. although it has been used
One of the highlights of linux is open-source. Compared with Windows, we can use more imagination on linux to build a linux system with its own characteristics, first, we start with creating the most basic micro-linux system. Through the
Back up the svn upload code in Ubuntu and name the backup file svn_backup + current time. dump (for example, svn_backup20100525.dump)1. Write a script file (backup. sh)Sudo touch backup. shCreate a script file and edit the fileSudo vim backup. shThe
1. Set the MySQL login password:Code: [root @ bogon/] # mysqladmin-u root password root2. Use the password to log on:Code: [root @ bogon/] # mysql-u root-p3. Set character sets (linux version: centOS6.0 mysql version 5.5.15)First,
Vsftpd installation documentationRequirements:A. Anonymous Users cannot log on to or access the ftp server (because it is an ftp server within the O & M department, only colleagues in the O & M department can log on), that is, only local users can
1. Add a new user account1. Use useradd to add a user account# Useradd TOM1 # Useradd-d/home/guest# Useradd-s/sbin/nologin TOM2 2. Running useradd is equivalent to doing something
(1) edit the passwd, shadow, group, and gshadow files in
ChkconfigFunction Description: Check and set various services of the system.Syntax: chkconfig [-- add] [-- del] [-- list] [System Service] Or chkconfig [-- level ] [System Service] [on/off/reset]Note: This is a program developed by Red Hat following
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.