惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
K
Kaspersky official blog
宝玉的分享
宝玉的分享
腾讯CDC
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
T
The Exploit Database - CXSecurity.com
T
The Blog of Author Tim Ferriss
V
V2EX
S
Securelist
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
Y
Y Combinator Blog
P
Proofpoint News Feed
T
Tor Project blog
AWS News Blog
AWS News Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
博客园 - 聂微东
T
Threat Research - Cisco Blogs
B
Blog
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
N
News and Events Feed by Topic
博客园 - 司徒正美
H
Help Net Security
C
Cisco Blogs
C
Check Point Blog
S
Secure Thoughts

博客园 - goodvify

电费查询网_电费网上查询 气候数据订制 天气后报 第二架遥控飞机又飞丢了,囧! 外贸业务可以分为多个工作阶段来管理 也许许多企业管理软件的设计出发点就错了 在Linux下的绘流程图工具yEd 在Flex中用xml做数据源的界面操作的测试 “学而不思则罔,思而不学则殆”在实施工作中的思考 准备测试使用Ubuntu的Server版 不使用“DataSourceControl DataSource”的情况下如何分页和排序 [转]利用.NET中的反射机制实现IList到DataTable的转换 [转]PetShop 4架构分析 VS2008 快捷键大全 ASP.NET2.0网页的生命周期 MySql远程连接的问题 vc7中的ClassWizard [javascript]判断email地址的有效性 Windows Socket API函数解说
Ubuntu Server安装
goodvify · 2009-10-12 · via 博客园 - goodvify

按照冷罡华(Hiweed)所著的《Ubuntu Server 最佳方案》一书中介绍的内容进行安装设置,大体相同,但用的Ubuntu、tomcat、Java的版本不同而已。

环境:VMware虚拟机上安装,分出2.5G空间

1、Vmware虚拟机安装选 Linux--Ubuntu

2、机器要可以上网,网络选“桥接”

3、正确建立了虚拟机后设定内存、关掉Floppy,网卡也先去掉“打开电源时连接”的选项,拔掉机器的网线也行,这样安装比较快。

4、插入安装盘Ubuntu Server 9.04,或者设定ISO文件

5、启动虚拟机

6、在安装界面语言的选择中尽量使用英文,否则以后可能有麻烦。

7、由于没有连接网卡,所以提示自己设定网络,根据实际的网络情况设定即可。sudo nano /etc/network/interfaces可以查看。192.168.109.232

8、给上机器的名字、域名等,机器会找时钟服务器,

9、其他基本按机器默认的让系统自己设置吧,系统自己开始安装了。

10、添加一个用户名、密码用于登陆,因为尽量不用root

11、关于下一个窗口是硬盘信息安全问题,选No吧

12、输入代理服务器,一般的没有,就不管他

13、选择安装软件就先不选了,以后自己加。

14、最后取出光盘重启,登陆也没有问题,速度也很快,

=============

第一步就成功了。注意把网卡打开啊,下一步的工作都要在网上进行了。

15、运行 sudo apt-get update && sudo apt-get upgrade升级更新看看,检查是否可以联网,顺便升级一下

16、下面安装应用的软件,用apt-cache search 软件名称  来搜索可以提供的软件包

17、安装java6 : sudo apt-get install sun-java6-jdk 自动设置好了,注意Java的安装位置

18、安装ssh:sudo apt-get install openssh-server

19、安装Apache2:sudo apt-get install apache2

20、安装mysql5:sudo apt-get install mysql-server    root 密码135

修改默认字符集:

通过MySQL命令行修改:
mysql> set character_set_client=utf8;
Query OK, 0 rows affected (0.00 sec)
mysql> set character_set_connection=utf8;
Query OK, 0 rows affected (0.00 sec)
mysql> set character_set_database=utf8;
Query OK, 0 rows affected (0.00 sec)
mysql> set character_set_results=utf8;
Query OK, 0 rows affected (0.00 sec)
mysql> set character_set_server=utf8;
Query OK, 0 rows affected (0.00 sec)
mysql> set character_set_system=utf8;
Query OK, 0 rows affected (0.01 sec)
mysql> set collation_connection=utf8;
Query OK, 0 rows affected (0.01 sec)
mysql> set collation_database=utf8;
Query OK, 0 rows affected (0.01 sec)
mysql> set collation_server=utf8;
Query OK, 0 rows affected (0.01 sec)
查看:
mysql> show variables like 'character_set_%';

21、安装tomcat6:sudo apt-get install tomcat6 tomcat6-admin 注意tomcat的安装位置,修改tomcat管理权限

    sudo nano /var/lib/tomcat6/conf/tomcat-users.xml

    添加manager角色,并给用户授权,注意把“<-- -->”注释符去掉啊。

22、用管理员登陆tomcat后,上传axis2.war包,发布成功,但连接axis2出错,需要修改/etc/default/tomcat6中的TOMCAT6_SECURITY=no就可以

    默认的管理员admin 密码axis2

=============

这样第二步也就成功了,下面就可以用putty软件远程操作服务器,对mysql、tomcat、axis2的安全方面进行设置。