Chinaunix首页 | 论坛 | 博客
  • 博客访问: 98265
  • 博文数量: 21
  • 博客积分: 451
  • 博客等级: 一等列兵
  • 技术积分: 215
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-03 20:46
个人简介

记录技术旅程

文章分类

全部博文(21)

文章存档

2014年(3)

2011年(18)

我的朋友

分类: LINUX

2011-04-08 21:32:19

Normally after the Ubuntu was installed, some package has to been installed manually for development.

0.Install vim:
$sudo apt-get install vim

1.NFS server:
$ sudo apt-get install nfs-kernel-server 
$ sudo /etc/init.d/nfs-kernel-server start

edit /etc/exports as the following:

/home *(rw,no_root_squash,no_all_squash,sync,nohide) 

2.TFTP server:
sudo apt-get install xinetd 
$ sudo apt-get install tftp 
$ sudo apt-get install tftpd

add a file named 'tftp' in /etc/xinetd.d

service tftp 
 disable = no 
 socket_type = dgram 
 protocol = udp 
 wait = yes 
 user = root 
 server = /usr/sbin/in.tftpd 
 server_args = -s /home 
 per_source = 11 
 cps = 100 2 
 flags = IPv4 

3.SSH server:

$ sudo apt-get install ssh 

4.FTP server:

$ sudo apt-get install vsftpd

enable anonymous login in /etc/vsftpd.conf

anonymous_enable=YES 
anon_upload_enable=YES 
anon_mkdir_write_enable=YES
 
5.Others:

$ sudo apt-get install libtool 
GNU libtool is a generic library support script.

$ sudo apt-get install autoconf
automatic configure script builder.

$ sudo apt-get install automake
Automake is a tool for automatically generating `Makefile.in's from files called `Makefile.am'.
 
$ sudo apt-get install bison
Bison is a general-purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to parse that grammar.

$ sudo apt-get install flex
flex is a tool for generating scanners: programs which recognized lexical patterns in text.
 
$ sudo apt-get install g++
GNU C++ compiler, a fairly portable optimizing compiler for C++.
 
$ sudo apt-get install zlib1g-dev
zlib is a library implementing the deflate compression method found in gzip and PKZIP. This package includes the development support files.

$ sudo apt-get install gperf
gperf is a program that generates perfect hash functions for sets of key words.

$ sudo apt-get install libncurses5-dev
This package contains the header files, static libraries and symbolic links that developers using ncurses will need.
 
$ sudo apt-get install libx11-dev
This package provides the main client interface to the X Window System, and is otherwise known as 'Xlib'. It provides a complete API for the basic functions of the window system.

$ sudo apt-get install dvbsnoop
This sniffer program can monitor, analyze, debug, dump or view DVB / MPEG / DSM-CC / MHP stream informations

$ sudo apt-get install rpm
The RPM Package Manager (RPM) is a command-line driven package management system capable of installing, uninstalling, verifying, querying, and updating computer software packages.
 
$ sudo apt-get install python-urlgrabber python-rpm python-sqlitecachec
Python is a programming language which makes it easy to create anything from small, useful tools to full-sized applications.

$ sudo apt-get install patch
Patch will take a patch file containing any of the four forms of difference listing produced by the diff program and apply those differences to an original file, producing a patched version.

$ sudo apt-get install git-core
Git is popular version control system designed to handle very large projects with speed and efficiency; it is used for many high profile open source projects, most notably the Linux kernel.

$ sudo apt-get install libwebkit-1.0-2 libwebkit-dev
WebKit is a web content engine, derived from KHTML and KJS from KDE, and used primarily in Apple's Safari browser.

6. Install JDK

$ sudo add-apt-repository "deb maverick partner"
$ sudo apt-get update $ sudo apt-get install sun-java6-jdk sun-java6-plugin


7.link default shell from dash to bash:

$ sudo rm /bin/sh

$ sudo ln -s /bin/bash /bin/sh


8.link libz:
$ sudo ln -s /lib/libz.so.1 /lib/libz.so



阅读(1466) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~