日期:2014-05-16  浏览次数:20598 次

Linux下U盘启动盘制作、Oracle10g、Telnet、Jdk1.6、Tomcat、Nginx安装(1)



???? 本人机器Tinkpad X201 PL4,商务笔记本没有光驱,装系统都用U盘安装,以下属于本人实际安装步骤(双系统),拿出来共享下,曾经经历过无数次失败,无数次系统崩溃,最严重一次导致硬盘崩溃,积累多年的项目资料、照片全部丢失。

????有句话说的好:如果你知道去哪里,全世界都会为你让路。最终成功在Linux下部署了一套开发环境。
一、U盘启动盘制作。
1.download software?【UltraISO】。
2.download OS?file?【[Linux.5.4].rhel-server-5.4-i386-dvd.iso】。
3.copy 【boot.iso】 from iso file,detail directory【/images/boot.iso】。
4.open boot.iso by UltraISO。
5.refrence operation by images。

?

?

PS:写入硬盘映像时会自动读出U盘,另外请选择USB-HDD+方式。

6.write after the?success?,copy OS file to U disk。

7.reboot the computer,set?the?first start?item?is?usb startup。

8.in the installation process ,please select?【?Hard disk-->?sdb】。

?

二、安装Oracle。

zip:unzip **.zip

tar.gz:tar -zxvf **.tar.gz

bin:make **.bin

rpm:rpm -i **.rpm

edit file:vi fileName --> insert

copy contents:shift + insert

save file:esc-->:wq

don't save:esc-->q!

基础命令就列这几个,其他的自己查吧,生于忧患而死于安乐。

?

1.download oracle 【10201_database_linux32.zip】。

2.check package。

rpm -q gcc make binutils openmotif

what if missing package?you need installed。

3.edit sysctl.conf。

vi /etc/sysctl.conf

?add the following?contents in the last line

***********************************************************************

kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144

***********************************************************************

4.operation command let the kernel parameters effect。

su - root

sysctl -p

5.edit limits.conf。

vi /etc/security/limits.conf

add the following contents in the last line

***********************************************************************

soft nproc 2047
hard nproc 16384
soft nofile 1024
hard nofile 65536

***********************************************************************

6.edit login file。

vi /etc/pam.d/login