探索小游戏大厅的多样性与未来发展趋势
814
2022-08-27
Tomcat for windows, Chrome for ubuntu
记录两则小事,在Windows上安装Tomcat,Ubuntu上安装Chrome (.rpm版本)。
(1) 要学习web Java了,由于之前自己已经安装了JDK,所以现在只需要装上Tomcat,便于后面的学习,没有环境变量的设置烦恼,此过程比较简单。
安装包是F:\BaiduYunDownload下的apache-tomcat-7.0.69-windows-x64。 进入其bin文件,然后安装:
C:\windows\system32>cd /d F:\BaiduYunDownload\apache-tomcat-7.0.69-windows-x64\apache-tomcat-7.0.69\binF:\BaiduYunDownload\apache-tomcat-7.0.69-windows-x64\apache-tomcat-7.0.69\bin>service.bat installInstalling the service 'Tomcat7' ...Using CATALINA_HOME: "F:\BaiduYunDownload\apache-tomcat-7.0.69-windows-x64\apache-tomcat-7.0.69"Using CATALINA_BASE: "F:\BaiduYunDownload\apache-tomcat-7.0.69-windows-x64\apache-tomcat-7.0.69"Using JAVA_HOME: "D:\Java\jdk1.7.0_45"Using JRE_HOME: "D:\Java\jdk1.7.0_45\jre"Using JVM: "D:\Java\jdk1.7.0_45\jre\bin\server\jvm.dll"The service 'Tomcat7' has been installed.
双击bin目录下的startup.bat批处理运行tomcat
输入localhost:8080测试:
出现该页面说明正确。
(2) 在学习Linux的过程中,自己选择了Ubuntu。想看有道云笔记却没有客户端 for linux,所以只能看网页版的了。但是Ubuntu自带的火狐浏览器对其网页版的支持不好,所以我需要-谷歌浏览器 for linux。在网上找了很久却只找到了.rpm的软件包。由此我需要在本是.deb debian的安装环境下安装Chrome.rpm。
Ubuntu的软件包格式是deb,用alien把rpm转换成deb。 sudo apt-get install alien #install alien
用法: sudo alien -.rpm -.deb #将rpm转换位deb sudo dpkg -i -.deb #安装
(先转化,输入指令后出现的warning不用理会)
edemon@linux:~$ sudo alien google-chrome-stable_current_x86_64.rpm google-chrome-stable_current_x86_64.deb[sudo] password for edemon: warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYwarning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYWarning: Skipping conversion of scripts in package google-chrome-stable: postinst postrm preinst prermWarning: Use the --scripts parameter to include the scripts.warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEYgoogle-chrome-stable_50.0.2661.86-2_amd64.deb generatedFile "google-chrome-stable_current_x86_64.deb"
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~