随笔分类 -  linux

摘要:最近部署web系统,需要使用tomcat处理和Apache整合使用,tomcat处理JSP,Apache处理静态资源。开始不知道怎么操作,在网上查阅资料走了很多弯路。完成时候,发现其实很简单,现将配置过程记录如下。 1.安装软件 使用apt工具(本人是比较懒的,有自动化工具可以用,何乐而不为呢)安装 阅读全文
posted @ 2016-11-25 17:58 Albert_yue 阅读(726) 评论(0) 推荐(0)
摘要:1.问题发现 有这样一段代码: #include int main() { int a, b, num1, num2, temp; printf("please input two numbers:\n"); scanf("%d,%d", &num1, &num2); if(num1 > 0 && num2 > 0) (1) { a = num1; b = num2; temp = a%b;... 阅读全文
posted @ 2013-12-24 20:11 Albert_yue 阅读(10527) 评论(0) 推荐(0)