Feed on
Subscription

The LAMP environment introduction of Ubuntu 6.06




The novice that I am a not perfectness Linux,The Linux server that wants to install an Ubuntu6.06 edition,The LAMP that goes up with this server covers an individual website that will run myself.LAMP is covered namely " these four software comprised Linux+Apache+Mysql+PHP a suit tool software that can make the website moves." through Google is searched and installing an attempt,The installation that I scored a few successes configures experience,The person that offer the elementary course of system of Linux website server through the article learns.Use Apache2 webpage serves the lieutenant general of website software environment of this second installation software of database of tiring-room of website of software, MySQL5, and PHP5 horn explains language software originally,The system that deploys also can offer FTP to serve.

If your computer was assembled enough much physical memory,Suggest you download software of a Vmware fictitious machine to come fictitious installation software of this website service system environment.The fictitious opportunity that Vmware software offers can make your installation is mixed change configuration to become very simple.Vmware software can download freely from here.

Install software of server of Ubuntu 6.06 Linux

Obtain document of mirror of CD of Ubuntu6.06 server software from download of Ubuntu website above all (.iso file) ,Make the ISO file of download into CD with quarter collection software.When installing,The LAMP installation mode in choosing to install menu undertakes installing,And install clew will undertake software configuration.


...

Pay close attention to technology of upsurge of 15 burgeoning enterprises to challenge IT industry



Dispatch source is compiled

Network of ? ? plan world is burgeoning manufacturer came back!Perhaps can say at least,Burgeoning manufacturer is hot came back!

? ? recently," InfoWorld " singled out 15 IT burgeoning manufacturers, they or the challenge with IT formidable industry can be answered on the technology,Or the new technology that rolled out your person to be interested.

...

Ubuntu issues straight have transport service of use education network to link foreign network



Declare,The article is not me is former achieve,Textual the one senior fellow apprentice that is me writes,I just changed download address.
Straight have transport service of alleged education network,It is to teach net and public network quickly especially the tool of foreign net (it is a VPN) actually,Need Zhang date,Apply for on Www.vip.edu.cn.
Before August 31 free.The configuration method that there is Windows to fall on the website,Very simple,Need not say more.


The following method issues an experiment to succeed in Ubuntu5/6.

Consult this one column installs Http://pptpclient.sourceforge.net left Documentation,Corresponding and different emission edition,The detailed setting method that the website gave out to differ

Install PptpApt-get Install Pptp-linux
In addition install graphical interface to configure program Pptpconfig even,But do not have in the source,And still have depend on a relation,Should download alone.
Relevant bag put Http://RunningOn.net9.org/pptp.zip,A few.deb are after solution is pressed,One by one is installed can

Had installed Pptpconfig,The setting is as follows:
1.Start Pptpconfig with Root identity
2.Dot Sever page,Fill on Name, Server, Username, Password can.Name is this connective name that he defines;Server is filled on Lns_bj.vip.edu.cn;Remain two to write the user name that he file and code
3.Routing page,Pitch on All To Tunnel,All join take the meaning of VPN
4.DNS page,Take out is all choice
5.Encryption page,Do not choose any option likewise,Nod ADD next
6.Annotate is dropped / the Require-mppe-128 in Etc/ppp/options.pptp file,Because the VPN here did not increase close support temporarily
7.Serve in the domain name of Linux or inside network setting " change leader name through DHCP " and " replace name server and search list through DHCP " the option take out of and so on,And 58.207.255.35 add DNS to list area of exterior and interior with respect to success.
It is OK that Start is nodded inside Pptpconfig later,After indication link is successful,Ping look whether return data successfully to wrap,If was not returned,Perhaps appear the case that sends mass data package,That with respect to Stop,Join afresh.Estimation is problem of Pptpconfig software oneself,Repeating a few times is OK certainly those who hook up,10 less than are certain and OK.

Textual link:Http://www.linuxsir.org/bbs/showthread.php? T=264448

...

Centos configures Apache, Php, Jdk, Resin



Centos configures Apache, Php, Jdk, Resin
About this at present configuration has many version on the net,As a whole,Basic measure is correct,But,In the place of a few detail,Having more or less discrepancy.Here,Oneself according to today's configuration process,Write the outline with basic the next:According to this compendium,Should be can install normally.
1,The module that installation system place needs:
[Root@cathysky81 ~]# Vi Install.sh
Yum Install GccYum Install CppYum Install Gcc-c++Yum Install NcursesYum Install Ncurses-develYum Install Gd-devel Php-gdYum Install Gd-develYum Install GccYum Install CppYum Install Gcc-c++Yum Install NcursesYum Install Ncurses-develYum Install Gd-devel Php-gdYum Install Gd-develYum Install Zlib-develYum Install Freetype-devel Freetype-demos Freetype-utilsYum Install Libpng-devel Libpng10 Libpng10-develYum Install Libjpeg-develYum Install ImageMagickYum Install Php-gdYum Install FlexYum Install ImageMagick-devel

[Root@cathysky81 ~]# Sh Install.sh
Installed the module that the system needs

2,About the installation of Mysql, Apache, Php,With before installation is same,If you do not have the combination that has configured + Php of Mysql + Apache correctly,Ask the about this installation documentation in referenced Php documentation
3,Install Jdk.The installation process of Jdk is such:
1) to Http://java.sun.com/ download Jdk,At present,Still recommend download to use:J2sdk-1_4_2_11-linux-i586.bin,In the documentation because of the Resin from the back,Of the description also is Jdk1.4 version.
2) Chmod A+x J2sdk-1_4_2_11-linux-i586.bin
3) . / J2sdk-1_4_2_11-linux-i586.bin
Can press in the solution below present list,Make a list that the name is J2sdk_1_4xxxxx to wait,Mv J2sdk_1_4xxxxx /usr/local/jdk
4) is revised / Etc/profile
Add following content:
JAVA_HOME=/usr/local/jdk
RESIN_HOME=/usr/local/resin
CLASSPATH= . : $JAVA_HOME/lib:$JAVA_HOME/jre/lib:$RESIN_HOME/lib:/usr/local/jdbcExport RESIN_HOME JAVA_HOME CLASSPATH
Notice:Export is this paragraph must write,When if be not written,starting Resin,Meeting occurrence mistake!!
5) save / Etc/profile
4, install Resin:
1) to Http://www.caucho.com download Resin-3.0.18.tar.gz,This is current newest version
2) solution pressing generates catalog Resin-3.0.18
3) executive Mv Resin-3.0.18 /usr/local/resin
4) compile Resin afresh:
. / Configure- - With-apxs=/usr/local/apache/bin/apxs- - With-java-home=/usr/local/jdk/- - Prefix=/usr/local/resinMake %26amp;%26amp; Make Install %26amp;%26amp; Make Clean
If / if Etc/profile setting does not have a problem,This measure can move normally
5,Configuration
1) revise / Usr/local/apache/conf/httpd.conf

Increase:
LoadModule Caucho_module /usr/local/apache/libexec/mod_caucho.so
ResinConfigServer Localhost 6802
CauchoStatus Yes
%26lt;Location /caucho-status%26gt;
SetHandler Caucho-status
%26lt;/Location%26gt;
2) revise / Usr/local/resin/conf/resin.conf
Gules part is need modification segment:
%26lt;cluster%26gt;
%26lt;srun Server-id=%26quot;%26quot; Host=%26quot;127.0.0.1%26quot; Port=%26quot;6802%26quot;/%26gt;
%26lt;/cluster%26gt;

%26lt;host Id=%26quot; %26quot;%26gt;
%26lt;web-app Id='/' Document-directory=%26quot;/usr/local/apache/htdocs%26quot;/%26gt;
%26lt;/host%26gt;
3)
6,
Start Apache afresh,
/ Usr/local/apache/bin/apachectl Start
The Resin that start
/ Usr/local/resin/bin/httpd.sh Start

Write a simple script to be able to check,Jsp is carried out successful:
Create A Test File '/usr/local/apache/htdocs/test.jsp'
2 + 2 = %26lt;%= 2 + 2 %%26gt;

If the character below can see on the page,The configuration that shows you succeeded already completely.
2 + 2 = 4

Textual link:Http://chinaunix.net/jh/13/719530.html

...

Detailed of RH Linux Inittab is solved



This is me the contribution of eight classics the first post,It is phreatic water all the time,Suffer religion at everybody greatly,Had withered first!

One, what is InitInit is one of indispensable programs in Linux system operation.It is an user form process that starts by the kernel.
The kernel is started (had been been record in memory,Begin to move,And already initialization all equipment driver and data structure) later,The process that start other user class through starting the way of Init of order of an user rank or service.So, init is the first process from beginning to end (its PID is from beginning to end 1) .
A few places that the kernel ever can have used Init in the past search it,Its proper place (to Linux system) be / Sbin/init.If the kernel cannot find Init,It can try to move / Bin/sh,If run failure,Of the system start also can fail.

Two, moving level
Moving class is the functional level that the operating system is running currently.This level from 1 arrive 6,Have different function.Its function level is as follows:
# 0 - stops machine (ten million cannot be Initdefault setting 0)
Mode of odd user of # 1 -
Much user of # 2 - ,Without NFS
# 3 - is completely much user mode (moving class of the standard)
# 4 - was not used
# 5 - X11 (Xwindow)
# 6 - is started afresh (must not be Initdefault setting 6 -- by you black the Initdefault setting of dropped Linux is 0 or 6 also be reject to serve attack Oh!)
Still have ABC besides three moving level,But in RHLinux no point.
These level are in / appoint in Etc/inittab file.This file is the main document that Init program seeks,Most the service that runs first is to be put in / the file below Etc/rc.d catalog.Edition is published in most Linux in,The script that start is to be located in / in Etc/rc.d/init.d.These script are used Ln command is received repeatedly / Etc/rc.d/rcn.d catalog.(The N here runs class 0-6 namely)

Three, the configuration of moving level
The configuration of moving level is to be in / undertake inside Etc/inittab travel,Following place are shown:
12: 2: Wait: / Etc / Init.d / Rc 2
Each field explains as follows:Id:rUnlevels:aCtion:pRocessId:The alignment grade that is a four character less than that appoints arbitrarily,Inside this file must exclusive;The Libc5 that uses old version (under 5.2.18) or A.out library compiles the Sysvinit limitation that come out to be 2 character.Notice:Like the disembarkation of Getty and so on the process must make Id field and Tty number uniform,Like Tty1 need Id=1,The disembarkation of a lot of old version the process follows this kind of regulation.Runlevels:State this group is applied to run that / some level (here is 2,Can have many,Express to all need to move in corresponding moving class) ;Additionally these three processes meet Sysinit, Boot, Bootwait oversight sets a value this.Action:When expressing to enter corresponding Runlevels,The jussive way that Init should run Process field,Commonly used field value and explanation are inside the appendix.The Wait in example expresses to need to run this process to await its to end.Process:Specific the order that should execute.In example / Etc/init.d/rc command starts moving grade 2 in the course that should run / command,Be in charge of stopping its when exiting moving class (the program except that still should move in entered Runlevel of course.)
When moving level change,And not was in the program that run in new moving level appoint need to move,So Init can send signal of a SIGTERM to stop first,It is SIGKILL next.

Effective Action is worth as follows:Respawn:State Init should be surveillant this process,Although also should be started afresh after its end.Wait: Init should run this course,The reentry after awaiting its to end is operated next all right.Once: Init needs to run this course.Boot: Start along with the system move,Runlevel value is so invalid to its.Bootwait:Start along with the system move,And Init should await his end.Off: Without any meanings.Initdefault:The acquiescent moving level after the system is started;Because enter corresponding moving level to be able to activation the process of corresponding level,Appoint Process field to do not have any meanings to its so.If inside Inittab file nonexistent this one record,The moving stage that when the system is started, enters in the inquiry on console.Sysinit: The command that the preparation when the system is started runs.E.g. ,This command will be cleared / Tmp.Can examine / Etc/rc.d/rc.sysinit script understood his to run those operations.Powerwait:When allowing Init to be cut off in power source,Shut a system.Of course premise is to have U P S and the software that monitor U P S informs Init power source already was cut off.RH Linux acquiesce did not list this option.Powerfail: With Powerwait,But the process that Init won't await to moving ends.RH Linux acquiesce did not list this option.Powerokwait:When power source surveillant software reports " power source restores " when,The operation that Init should execute.Powerfailnow:Detect Ups power source be about to extinct when,The operation that Init should execute,Differ with Powerwait/powerfail oh.Ctrlaltdel:When allowing Init to press on console clavier in the user C T R L + A L T + D E L combines key,The new system that start.Notice,If this system is put in public,Systematic manager can bolt combination of C T R L + A L T + D E L configuration is other action,For instance oversight.I am to set the sentence that prints a name-calling ^o^ .Kbrequest:The action that when surveillance combines key to be pressed to specific clavier, takes,Not perfect still now.Ondemand:A Process Marked With An Ondemand Runlevel Will Be Executed Whenever The Specified Ondemand Runlevel Is Called. However, no Runlevel Change Will Occur (ondemand Runlevels Are ' A ' , ' B ' , and ' C ' ) ,(English too dish,It that However does not know how to should translate ability is good that that However does not know how to should translate ability.Ashamed!)



Compensatory:
1, about entering odd user mode,It is to use setting Initdefault to be commonly 1 perhaps appoint in Grub/lilo " Single " or " Emergency " command travel parameter will come true.Still have a cleaner method additionally actually,Editor:Kernel /vmlinuz-2.6.9-22.EL Ro Root=/bin/sh,Such Init start a Shell directly,Other any processes were not started oh,Quite clean!
2, when the system is moving,Telinit command can change moving level.When moving level produces change,Init is met from / Etc/inittab runs corresponding command.


Referenced documentation:
Ponder over a machine:Linux Init detailed solves ZTMan Inittab

...

How the Linux that compose builds him is issued edition



Linux From Scratch (LFS) and its offspring represent a kind of new method,Announce to the user Linux operating system is how work.LFS is based on such hypothesis,Compile whole operating system partly to be able to announce not only partly namely the operating system is how work,The operation personnel that also allows independence takes up for speed, memory or security and compose builds a system.

...

1G U dish install Debian Linux(Etch/testing)




Equipment:

1.Jotter of Dell Latitude D410
2.Creative idea 1G U dish
3.Debian Etch/testing installs CD

Measure:

1.U dish had received with CD driver and jotter.
2.Open power source,Bolt by F12.Choose "boot From CD/DVD "
3.Guide Debian from CD
4.By screen clew is installed.
5.Choice Flash Storage(/dev/sda) serves as a target dish
6.Install Debian.
7.Arrive after last pace the not new system that start.
8.Log onto a console by Alt-F2
9.Editor U dish the Boot/menu.list in Debian
10."hd(1, 0) " changes "hd(0, 0) "
11.Save file to disk,The new system that start.

...

Open list of list of source software company



? Altogether of company of software opening a source 69, among them the United States 55. Japan 3: Miracle Linux, turbolinux, VA Linux Systems Japan. China 2: Red Flag, sun Wah Linux(HK) . England 2: Alfresco, canonical. Canada 2: Eclipse Foundation, activeState. France 2: Mandriva, objectWeb Consortium. Korea 1: Haansoft. Sweden 1: MySQL. Norwegian 1: Trolltech.

...

Company of software opening a source needs seven works of the attention



Basis of ? ? Bruce Byfield his individual these year experience,Seven when summed up company of software opening a source to need to notice.

? ? 1, do not tremble with community opening a source argute

? ? is young do not mean foolish,Be full of ideal is not babyish and innocent.The custom that company of software opening a source wants to develop to must press community opening a source comes.

...

Debian fictitious lead plane learns note



Summary:The service that introduced Debian Sarge (Debian 3.1) to configure fictitious lead plane to need in detail,Include DNS server,MySQL server,Mail server,Web server,FTP server,And disk limitation.(Although be to collect the data that arrange,But each pace shares via just be being taken after the test is successful personally,Basically apply to brand-new installation server,Complete installation carried out these operations to go orderly.Complete installation carried out these operations to go orderly.

Install basic systemLinux26 Netcfg/disable_dhcp=true
The process that installs basic system installs leader name Server1,Domain name Example.com,Gateway and domain name server;Do not configure Exim.

Installation / delete a few softwareApt-get Install Bzip2 Rdate Fetchmail Libdb3++-dev Unzip Zip Ncftp Xlispstat Libarchive-zip-perl Zlib1g-dev Libpopt-dev Nmap Openssl LynxFileutilsApt-get Remove Lpr Nfs-common Portmap Pidentd Pppoe Pppoeconf Ppp PppconfigUpdate-rc.d -f Exim RemoveUpdate-inetd- - Remove Daytime (telnet / Time / Finger / Talk / Ntalk / Ftp / Discard)
Inetd of new to load serves:/ Etc/init.d/inetd Reload

Quota 3.12 of ? disk limitationApt-get Install Quota Quotatool
Editor / Etc/fstab,Increase Userquota, grpquota gives Root partition:

...

« 1 2 3 4 5 6 7 »