- 浏览: 2539805 次
- 性别:
- 来自: 成都
文章分类
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
MAC Environment Setting Up(1)Tools of JAVA
1. Password Reset
On the first day, I got MAC Pro laptop. But I do not know the password.
So I shutdown my MAC and start the device and immediately after the starting sound, I click on the button 'Shift' to enter the safe boot mode. They I follow the steps their and use the command to change the password of the current user.
>passwd username
2. SSH Key
Use the command ssh to connect to one server, then I can get the directory /Users/username/.ssh
>ssh-keygen -t dsa
I can generate my own key for MAC laptop.
And I can also create a file with other private key, for example, my default private key file is carl_mac and carl_mac.pub. And I created a separate file named other_key, when I try to access to the other server. I will use the command to specify the key file:
>ssh -i other_key username@otherserver.com
certainly, I will give the rights to key file.
>chmod 400 other_key
3. Lock the Screen
How to lock the screen when I leave my mac on my desk.
Use this command 'Control' + 'Shift' + 'Eject' Eject is the top right button.
Change the configuration in 'Security' ----> 'General' tab and select the 5 seconds as the time interval.
4. Install git and plugins
Download the git software from references git website.
5. Fix the subversion plugin error on Eclipse
Follow the BLOG I had before. But I got error message as follow when I use port command>
Error Message:
Digby-Users-MacBook-Pro-3:code carl$ sudo port install subversion
---> Computing dependencies for subversionError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
solution:
I need to wait until I install the xcode. follow this blog: http://www.macports.org/install.php.
But after I installed Xcode. The system asked me for tool 'make'.
Next step I will install make on MAC
Maybe, that is only because I only install Xcode 4.4.1. And I ignore the command line tool. I will install the command line tool too this time.
http://adcdownload.apple.com/Developer_Tools/command_line_tools_os_x_lion_for_xcode__august_2012/command_line_tools_for_xcode_os_x_lion_aug_2012.dmg
It works then. I follow the BLOG I wrote before and go on with these commands:
>sudo port install subversion
>sudo port install subversion-javahlbindings
And we also need to update the SVN plugin to http://subclipse.tigris.org/update_1.8.x
Sometimes, we need to use svn command to update our svn configurations too.
>svn upgrade
5. Install tomcat on MAC
I download the file with name apache-tomcat-7.0.29.tar.gz. And I try to unzip it and move it to working directory.
>tar zxvf apache-tomcat-7.0.29.tar.gz
>sudo mkdir /opt/tool/
>sudo mv apache-tomcat-7.0.29 /opt/tool/
But when I start my tomcat in STS tool, it gives me out of memory error message as follow.
Error Message:
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785)
Solution:
Add this configuration to my STS configuration on tomcat, open launch configuration.
-Xms512m -Xmx768m -XX:MaxPermSize=256m
These configuration format and place can be taken JBOSS for example.
6. Install Git on MAC and git plugin on eclipse
http://sillycat.iteye.com/blog/1323263
http://sillycat.iteye.com/blog/689970
Just install git on app store. And follow the steps to install edit plugin.
7. Install the sftp client
One of the famous client named filezilla. But it does not support the public/private key pair.
Another nice client is cyberduck. I will try it http://cyberduck.ch/. It is really wonderful to have this tool. And it supports the private/public key pair.
8. Install jboss5.1
I just installed jboss 5.1 as usual. And start the JBOSS server with 80 and 443 port. But I got error message on MAC.
1:01:09,860 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
01:01:09,975 ERROR [Http11Protocol] Error initializing endpoint
java.net.BindException: Permission denied /0.0.0.0:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:504)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
Solution:
http://www.techyv.com/questions/can-not-start-jboss-port-80
I will use 8080 and 8443 instead.
N. Tips for Installing Some Software
thunder QQ and java in app store
references:
http://sillycat.iteye.com/blog/1100363
http://osxdaily.com/2011/01/17/lock-screen-mac/
https://distfiles.macports.org/MacPorts/MacPorts-2.0.4-10.7-Lion.dmg
http://sillycat.iteye.com/blog/1459223
1. Password Reset
On the first day, I got MAC Pro laptop. But I do not know the password.
So I shutdown my MAC and start the device and immediately after the starting sound, I click on the button 'Shift' to enter the safe boot mode. They I follow the steps their and use the command to change the password of the current user.
>passwd username
2. SSH Key
Use the command ssh to connect to one server, then I can get the directory /Users/username/.ssh
>ssh-keygen -t dsa
I can generate my own key for MAC laptop.
And I can also create a file with other private key, for example, my default private key file is carl_mac and carl_mac.pub. And I created a separate file named other_key, when I try to access to the other server. I will use the command to specify the key file:
>ssh -i other_key username@otherserver.com
certainly, I will give the rights to key file.
>chmod 400 other_key
3. Lock the Screen
How to lock the screen when I leave my mac on my desk.
Use this command 'Control' + 'Shift' + 'Eject' Eject is the top right button.
Change the configuration in 'Security' ----> 'General' tab and select the 5 seconds as the time interval.
4. Install git and plugins
Download the git software from references git website.
5. Fix the subversion plugin error on Eclipse
Follow the BLOG I had before. But I got error message as follow when I use port command>
Error Message:
Digby-Users-MacBook-Pro-3:code carl$ sudo port install subversion
---> Computing dependencies for subversionError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
solution:
I need to wait until I install the xcode. follow this blog: http://www.macports.org/install.php.
But after I installed Xcode. The system asked me for tool 'make'.
Next step I will install make on MAC
Maybe, that is only because I only install Xcode 4.4.1. And I ignore the command line tool. I will install the command line tool too this time.
http://adcdownload.apple.com/Developer_Tools/command_line_tools_os_x_lion_for_xcode__august_2012/command_line_tools_for_xcode_os_x_lion_aug_2012.dmg
It works then. I follow the BLOG I wrote before and go on with these commands:
>sudo port install subversion
>sudo port install subversion-javahlbindings
And we also need to update the SVN plugin to http://subclipse.tigris.org/update_1.8.x
Sometimes, we need to use svn command to update our svn configurations too.
>svn upgrade
5. Install tomcat on MAC
I download the file with name apache-tomcat-7.0.29.tar.gz. And I try to unzip it and move it to working directory.
>tar zxvf apache-tomcat-7.0.29.tar.gz
>sudo mkdir /opt/tool/
>sudo mv apache-tomcat-7.0.29 /opt/tool/
But when I start my tomcat in STS tool, it gives me out of memory error message as follow.
Error Message:
SEVERE: A child container failed during start
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785)
Solution:
Add this configuration to my STS configuration on tomcat, open launch configuration.
-Xms512m -Xmx768m -XX:MaxPermSize=256m
These configuration format and place can be taken JBOSS for example.
6. Install Git on MAC and git plugin on eclipse
http://sillycat.iteye.com/blog/1323263
http://sillycat.iteye.com/blog/689970
Just install git on app store. And follow the steps to install edit plugin.
7. Install the sftp client
One of the famous client named filezilla. But it does not support the public/private key pair.
Another nice client is cyberduck. I will try it http://cyberduck.ch/. It is really wonderful to have this tool. And it supports the private/public key pair.
8. Install jboss5.1
I just installed jboss 5.1 as usual. And start the JBOSS server with 80 and 443 port. But I got error message on MAC.
1:01:09,860 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
01:01:09,975 ERROR [Http11Protocol] Error initializing endpoint
java.net.BindException: Permission denied /0.0.0.0:80
at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:504)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:175)
Solution:
http://www.techyv.com/questions/can-not-start-jboss-port-80
I will use 8080 and 8443 instead.
N. Tips for Installing Some Software
thunder QQ and java in app store
references:
http://sillycat.iteye.com/blog/1100363
http://osxdaily.com/2011/01/17/lock-screen-mac/
https://distfiles.macports.org/MacPorts/MacPorts-2.0.4-10.7-Lion.dmg
http://sillycat.iteye.com/blog/1459223
发表评论
-
ionic UI(5)UI and Backend
2016-12-02 03:22 590ionic UI(5)UI and Backend 1 Pr ... -
Stanford Cource(2)Demo App Caculator
2014-06-24 01:29 897Stanford Cource(2)Demo App Ca ... -
Mono on MAC
2014-06-04 03:27 974Mono on MACJust fine the tool f ... -
IOS7 App Development Essentials(4)IPhone5, IPhone5s, IPhone5c
2014-04-11 03:59 981IOS7 App Development Essentia ... -
IOS7 App Development Essentials(3)NSUserDefaults
2014-04-11 02:58 1005IOS7 App Development Essentia ... -
IPhone and Location(2)Documents Region Monitoring and Region Sample
2013-10-18 05:10 1727IPhone and Location(2)Documents ... -
IPhone and Location(1)Documents User Location
2013-10-18 03:50 1304IPhone and Location(1)Documents ... -
Learn Objective C(6)Programming with Objective-C - Working with Blocks and Deali
2013-10-18 00:02 924Learn Objective C(6)Programming ... -
Learn Objective C(5)Programming with Objective-C - Working with Protocols and Va
2013-10-17 23:47 996Learn Objective C(5)Programming ... -
Learn Objective C(4)Programming with Objective-C - Encapsulating Data and Custom
2013-10-17 23:23 934Learn Objective C(4)Programming ... -
Learn Objective C(3)Programming with Objective-C - Defining Classes, Working wit
2013-10-17 23:09 1014Learn Objective C(3)Programmi ... -
Learn Objective C(2)Learn Objective-C in Day 6 - 4 ~ 6
2013-10-17 00:30 960Learn Objective C(2)Learn Obj ... -
Learn Object C(1) Learn Objective-C in Day 6 - 1 ~ 3
2013-10-17 00:22 1110Learn Object C(1) Learn Objec ... -
APNS(4)Recall the Process and Learn Java APNS
2013-04-18 02:48 3466APNS(4)Recall the Process and L ... -
Build the iOS Things with J2Objc
2013-04-12 03:25 2462Build the iOS Things with J2Obj ... -
APNS(3)Write the Easy Client App
2013-01-15 07:23 1693APNS(3)Write the Easy Client Ap ... -
APNS(2)Try to Finish the first Example
2013-01-14 07:56 1537APNS(2)Try to Finish the first ... -
Stanford Cource(1)MVC and Object-C
2012-12-14 14:04 1317Stanford Cource(1)MVC and Objec ... -
Some VI Tips
2012-11-15 04:48 1093Some VI Tips Today, I need to c ... -
MAC Mini Setup
2012-09-25 18:45 1326MAC Mini Setup I am dealing wit ...
相关推荐
Java Runtime Environment (JRE) 1.4.2 是Java应用程序执行所需的关键组件,它为开发者和用户提供了在各种操作系统上运行Java应用的基础。这个版本是Sun Microsystems在2004年发布的一个重要里程碑,它在Java技术的...
1. **检查JDK安装**:确保已安装了完整的JDK,而不是只安装了Java Runtime Environment (JRE)。JRE不包含`tools.jar`。 2. **设置环境变量**:确认`JAVA_HOME`环境变量指向正确的JDK安装目录,并且`PATH`变量中包含...
Java Runtime Environment(JRE)是Java程序运行所需的基础组件,由Oracle公司提供。1.6.0.7 版本是针对32位操作系统的一个特定发行版,这意味着它设计用于在32位Windows系统上执行Java应用程序。在这个版本中,Java...
Java Runtime Environment(JRE)是Java程序运行所需的基础软件组件,它是Java开发工具集(Java Development Kit,JDK)的一部分。32位的Java Runtime Environment是专为32位操作系统设计的版本,允许用户在这样的...
Java Runtime Environment 1.8.0是Java开发和运行应用程序必不可少的一部分,它是Oracle公司发布的Java平台标准版(Java SE)的实现。这个版本是32位的,这意味着它设计用于在32位操作系统上运行,比如Windows XP、...
Java Runtime Environment(JRE)是Java程序运行所需的基础组件,它是Oracle公司提供的Java平台的核心部分。JRE 1.8.0_45是Java 8的一个特定版本,64位版本则是为在64位操作系统上运行Java应用程序设计的。这个版本...
Java Runtime Environment(JRE)是Java程序运行所需的基础组件,它是Oracle公司提供的Java平台标准版(Java SE)的一部分。在本例中,我们讨论的是版本1.8.0_45,这是一个64位的版本,专为64位操作系统设计。这个...
Java Runtime Environment-6.0.26.exe
1. **JCIDE**:这可能是一个Java Card集成开发环境(Integrated Development Environment),为开发者提供了一个图形化界面来编写、编译、调试和部署Java Card应用程序。它可能包括代码编辑器、编译器、模拟器和调试...
Java SE Runtime Environment(运行时环境)包含了运行以 Java 编程语言编写的程序所必需的 Java 虚拟机、运行时类库和 Java 应用程序启动器。 Java 平台的安全性 一个由角色提供的安全信息的描述。适用于开发人员...
### Java Essential Skills for Secure Programming #### Introduction In today's digital age, the security of software applications is paramount. Criminal hackers have increasingly targeted web ...
java runtime environment(JRE)安装 2020-11-4 一、搭建环境 1.1 安装Keil 5 官网下载:http://www2.keil.com/mdk5/ 百度网盘:https://pan.baidu.com/s/18t_ta0WWX_f1KCKXfgj_Zw 提取码:gx3r 1.2 安装JRE 由于...
远程感知环境期刊投稿模板Word版是 Remote Sensing of Environment 期刊投稿的模板文件,该模板基于 Word 版本,可以帮助作者快速编写论文稿件。本模板包含了论文的基本结构和排版样式,包括标题、作者信息、摘要、...
Setting Up the Simulation Environment.............. 2-8 Setting Up the Default Plot Output.. 2-10 Setting Up the PSS Simulation ........ 2-11 Verifying the Fundamental (Beat) Frequency ... 2-12 ...
Sun Java SE Runtime Environment (JRE) 6 是Java平台标准版的一个重要版本,它为运行基于Java技术的应用程序提供了所需的运行环境。Java SE是Java Development Kit (JDK)的一部分,但JRE则不包含开发工具,主要是...
1. Setting Up Environment Setting up Hadoop for Elasticsearch Setting up Java Setting up a dedicated user Installing SSH and setting up the certificate Downloading Hadoop Setting up environment ...
Java Runtime Environment(JRE)是Java程序运行所需的基础软件组件,它包含了Java虚拟机(JVM)、类库以及其他支持Java应用程序执行的组件。64位的Java Runtime Environment是为了在64位操作系统上运行Java程序而...
JRE 7, Java SE 运行时环境 7u80,Linux/windows/Mac OS系统下 32位/64位 安装包,包含以下版本: Linux x86 jre-7u80-linux-i586.rpm Linux x86 jre-7u80-linux-i586.tar.gz Linux x64 jre-7u80-linux-x64.rpm ...
You'll be guided through setting up tools, frameworks, and the environment you need, and will dive right in to hands-on exercises with the goal of mastering one practice, tool, or framework at a time....
Setting up a Mac Development Environment Releasing JNA Publishing to Maven Central Contributing You're encouraged to contribute to JNA. Fork the code from ...