Linux installed hand handle tutorial

xiaoxiao2021-03-06  59

Install Linux Redhat 8.01 standard NIC1 10M / 100M network line port, Eth0 IP: 202.195. *. *

2 account: rouot: pass1 Add a USER2: pass23 ssh: SSHD4 open port: System settings -> Security Level -> WWW, FTP, SSH

Installation Tool 1 PUTTY / WINSCP2 VNC RPM -IVH VNC-Version-1.i386.rpm vncpasswd Pass3

Vncserver (after this step, the system yourself created /root/.vnc directory, modify the xstartup with # 好 注 所有 所有, add a line "gnome-session &") VNC-Win32, connect 202.195. *. *: 1 , Enter GNOME

Install J2SDK1 Download J2SDK-1_4_1_02-Linux-i586.bin and move it ket / root / Tools / 2 CD / Root / Tools Chmod 755 J2SDK-1_4_1_02-Linux-i586.bin3 CD / USR / Local4 / root / Tools / J2SDK -1_4_1_02-linux-i586.bin5 ln -s /usr/local/j2sdk1.4.1_02 / usr / local / jdk6 vi /etc/profile.d/java.sh7 Inside input # set java environmentexport java_home = / usr / local / JDKEXPORT PATH = $ PATH: $ java_home / binExport classpath = $ java_home / lib

8 chmod 755 /etc/profile.d/java.sh9 Execute /etc/profile.d/java.sh or Enter export java_home = / usr / local / jdKexport path = $ PATH: $ java_home / binExport classpath = $ Java_home / lib10 with Which Java check, / usr / local / jdk / bin / java

Installing the GCC and install the four packs binutils-2. rpmglibc-kernheaders-2.4-7.20.i386.rpmglibc-devel-2.2.93-5.i386 in order to install the GCC. RPMGCC-3.2-7.i386.rpm

Install apache1 download httpd-2.0.47.tar.gz in / root / Tools 2 CD / root / Tools / 3 tar -xzvf httpd-2.0.47.tar.gz4 CD httpd-2.0.475 ./configure ---with -Layout = Apache - prefix = / usr / local / apache - enable-module = so - enable-module = setENVIF - Enable-module = REWRITE - with-mpm = prefork6 make make install

Install php1 download php-4.3.3.tar.gz in / root / Tools 2 CD / root / Tools Tar -Xzvf php-4.3.3.tar.g installed RPM -IVH Bison-1.35-4.i386.rpm installation Rpm -ivhflex-2.5.4a-26.i386.24./configure --with-apxs2 = / usr / local / apache / bin / apxs --prefix = / usr / local / php - ENABLE-TRACK-VARS --ENABLE-Debug --Enable-Url-include-enable-sockets --with-config-file-path = / usr / local / apache / conf5 make make install6 ls -l / usr / local /Apache/modules/libphp4.so If you have a successful installation success 7 vi /usr/local/apache/conf/httpd.conf find loadmodule php4_module modules / libphp4.so one line (no yourself) add AddPE Application / X -httpd-php .php installation Tomcat1 download jakarta-tomcat-5.0.28.tar.gz to / root / Tools / CD / root / Tools / 2 tar -xzvf jakarta-tomcat-4.1.24.tar.gz cp -rf ./jakarta-tomcat-5.0.28 /usr/local/jakarta-tomcat-5.0.28 rm -rf jakarta-Tomcat-5.0.283 CD / USR / local ln -s jakarta-tomcat-4.1.24 Tomcat4 test Tomcat is normal Install: /usr/local/tomcat/bin/startup.sh5 Normally displayed by IE http: // Yourip: 8080 / Tomcat

Install JK2: 1 Download Binary version Fedora-Core-1-i386.tar.gz to / root / Tools / 2 Tar -Xzvf fedora-core-1-i386.tar.gz3 cd fedora-core-1-i386 / usr / lib / httpd / modules4 cp libjkjni.so / usr / local / apache / modules / cp mod_jk2.so / usr / local / apache / modules / 5 cp / root / Tools / Fedora-Core-1-i386 / etc / httpd /conf/workers2.properties / usr / local / apache / confation [URI: / JSP-EXAMPLES / *] Group = LB

CD fedora-core-1-i386 / etc / httpd.d / jk2.conf will loadModule jk2_module modules / mod_jk2.so jkset config.file /usr/local/apache/conf/Workers2.Properties joined to / usr / local / apache /conf/httpd.conf restart Apache in Bin / .apachectl Restart (Restart for some time, then try)

6 Access http: //202.195.*.*/jsp-examples/jsp2/El/basic-arithmetic.jsp You can see the page of the access, indicating that the configuration is successful.

When installing Samba1 installation Linux, select the Samba server or use the RPM installation 2 Configure CD / etc / samba vi smb.conf plus * This line [Global] * Netbios Name = portalWorkGroup = MyGroup3 In SMBUSERS, the root and administrator correspondence 4 WINDOWS2000 Working Group, change to myGroup, restart Win20006 restart Samba, cd /etc/rc.d/init.d ./smb restart7 Close the Tianwang firewall, can search for this computer in the network neighbor. 8 Win2000: HKEY_LOCAL_MACHINE / SYSTEM / Currentcontrolset / Services / LanmanWorkstation / Parameters here append key: key name enableplaintextpasswd, value type DWORD, the value of 1,9 smbpasswd -a root the following prompt New SMB password pass4Retype new SMB password pass4unable to open passdb databaseAdded user root10 inside the Network neighborhood using root: pass4 can enter the samba page 11 to add [dannysdir] comment = root's Service path = / valid users = root public = no writable = yes printable = no restart smb, in My Network Places I can see a new hard disk sign.

转载请注明原文地址:https://www.9cbs.com/read-114303.html

New Post(0)