Debian Lenny compile kernel from source
Install KernelInstall the required items for normal compilation.# Apt-Get install build-essential# Apt-Get install libncurses5-devTo install a patch, install the patch package:# Apt-Get Install patch
(I don't like the Debian standard kernel Installation Method in some articles on the Internet, because I often switch between different releases to compile and install t
Because the installation of the Debian language selection is Simplified Chinese installation, but the kernel does not have a Chinese font, resulting in some characters displayed as garbled (diamond, square).Workaround:If the normal user does not have sudo permissions set, first switch to root permissions. And then:Apt-get Install localeDpkg-reconfigure localesEnter the Language Settings screen:Where the SPACEBAR is selected/canceled, the TAB key is sw
Use CentOS 6.5 to create a Docker image for Debian 7 Wheezy
Docker Image Process notes for preparing Debian 7 Wheezy in CentOS 6.5.
The specific steps are not described in detail, as in the previous article:
The following is the procedure for the terminal to execute commands.
[Root @ localhost admin] # debootstrap -- arch amd64 wheezy debian-wheezy http://
1.Static IP address formatting:# This file describes the network interfaces available on your system# and how to activate them. For more information, see Interfaces (5).# The Loopback network interfaceAuto LoIface Lo inet Loopback#ControllerAuto Eth0Iface eth0 inet StaticAddress 192.168.61.132Netmask 255.255.255.0Boardcast 192.168.61.255Gateway 192.168.61.22.debian Software Source:## deb Cdrom:[debian gnu/l
The old version of Debian source synchronization script Debian lenny has been officially archived, making many servers that cannot update the system unavailable. archive.debian.org is too slow to access and cannot write a script to synchronize the lenny source. Due to the structure of the Debian source, it is necessary to separate the versions to synchronize very
. Sure enough, there is no garbled code after the installation is complete. Moreover, I believe that anyone playing Linux can understand English. At least reading is normal.
In this way, after entering the Linux system, configure as follows to solve the problem. My hands-on practices:
1,Configure software source
Back up the original source list fileCP-V/etc/APT/sources. List {,. Backup}Modify/etc/APT/sources. List to clear the content first and add the following:Deb http://
1. Switch to the root user su2. configure the source (nano/etc/apt/sources. list) debhttp: // sources 1. Switch to the root user
Su
2. Configure the source (nano/etc/apt/sources. list)
Deb http://ftp.cn.debian.org/debian stable main contrib non-free
Deb-src http://ftp.cn.debian.org/debian stable main contrib non-free
Deb http://ftp.debian.org/debian/ squeeze-upda
Problem Description: After installing the system, just want to start to write the program, found that Vim has not been installed, with Su-switch to root afterRun Apt-get install vim directly, prompt to insert disc source, then enter, into an unresolved state.Search the Internet and find out how to do it:The following is done in Root's home directory,CD ~To update the system's software source first: sudo cp/etc/apt/sources.list/etc/apt/sources.list_bak #备份一下软件源sudo vi/etc/apt/sources.list Add the
install the simplest centos (without the need for a GUI and other packages), use the following method:Install yum, and use 163 sources.Apt-get Install YUMCD/ETC/YUM/REPOS.D/MV Centos-base.repo centos-base.repo.backupwget http://mirrors.163.com/.help/ CENTOS6-BASE-163.REPOMV Centos6-base-163.repo Centos-base.repo2. Installing the base systemrm-rf/home/centosmkdir-p/home/centos/var/lib/ rpmrpm--rebuilddb--root=/home/centos/wgethttp://
Install MySQL source code in Debian and Debian MySQL source codeNote: root permission is required.One database installation 1 installation dependencyCmake, g ++, libncurses5-devInstall the SDK directly using apt-get install.2. Create users and directoriesGroupadd mysql # Add a user groupUseradd-r-g mysql # Add a userMkdir-p/usr/local/mysql # create the installation directoryChown-R root: mysql/usr/local/mys
things, so now you can go to dinner or play!
Ii. Script display
It is relatively simple for beginners to write, and I hope you can come up with some suggestions:
#! /Bin/bash# (C) 2014 Yunlong Zhou # Under licence GPL# File: install. sh# Introduction:# This script is using for simplify the installing of Debian 5/6/7 new install machine# Useage:#1. "su" -- get root permission#2. "ifconfig" or "ping www.baidu.com" -- to check if the computer is ing Int
The old Debian source synchronization script Debian Lenny source is officially archived, making many servers that cannot update the system unavailable. archive.debian.org is too slow to access and cannot write a script to synchronize lenny source. Due to the structure of the Debian source, it is inconvenient to synchronize the versions separately. The packages ar
First, Debian 7.1.0 the latest installation CDSecond, installation system tutorial diagramThird, DEBIANLNMP more related use series articlesFirst, Debian 7.1.0 the latest installation CDDebian7.1.0 's installation image file has DVD disc ISO, CD-type ISO, and mini netinst-type ISO.Install basic system, here only need the most basic installation boot, the system installs the boot disk to choose the Quick ins
The domu created using xen-create-image is a completely new Debian system. Some configurations are required for normal use.
1. Update source configurationVI/etc/APT/sources. List
# Squeeze # Deb http://mirrors.163.com/debian squeeze-Updates main contrib non-freedeb-Src http://mirrors.163.com/
Debian installation guide work needs to re-install Debian 6.06, because Debian is a pure system (compared with Ubuntu, haha), so most of them need to be manually modified! The following describes the work to be done in the new Debian system: 1. modify the source # su to enter the root mode # vim...
related to kernel-package, gcc, binutils, and modutils. Use a newer version as required.
Be careful when compiling a custom kernel with source code in the Debian system. Use the -- append_to_version option of make-kpkg to create multiple kernel mirrors
Security.
# Apt-get install debhelper modutils kernel-package libncurses5-dev
# Apt-get install kernel-source-2.4.18 # use the latest version
# Apt-get inst
. Prepare for system installation 1.1:
A USB flash drive larger than or equal to 4 GB is used as the boot disk.The system version I selected is: Linux xxx 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1 + deb7u1 i686
Download the system disk DVD:
Http://mirrors.163.com/debian-cd/7.8.0/i386/bt-dvd/ under the debian-7.8.0-i386
Debian Wheezy install Nginx + HHVM
You can use a Chinese source for installation. If not, refer to the github wiki page.Https://github.com/facebook/hhvm/wiki/Mirror
Take the Debian Wheezy installation environment as an example.
1. modify the software source
123 echo "deb http://mirrors.163.com/debian/ wheezy main non-f
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.