Use the update-alternatives command in Linux, updatealternatives
Personal blog address: http://www.cnblogs.com/wdfwolf3/
Update-alternatives is a command used by the ubuntu system to switch the software version. For example, if there are several jdk versions in the system, map the directories where these commands are located to a unified system directory as links, and then manage them through update-
As the saying goes, same. Just as former independent software developers (independent Software VENDOR,ISV) have extended the software portfolio from a single product to an integration suite in an effort to gain a stronger market position, today's software is the service (software-as-a-service, SaaS) Vendors are also leveraging a range of new SaaS platforms to launch the same strategy.
As more and more organizations are willing to adopt SaaS alternatives
This blog post lists 5 tools that can replace putty, some of which do not implement putty. As follows:PuTTy is the most popular SSH clients for windows-based systems. It's very small is size and easy to use. Most of the people in the Linux world prefer to use putty. But they is aware that there is many tools available to provides many features which Putty doesn ' t has. I have used many SSH clients and adding 5 alternatives of PuTTY client below which
First, the preparatory workEnvironment: Centos 5.6Required Software:httpPhpPhp-mysqlPhp-snmpMysqlPerl-dbd-mysqlPhp-pdoRRDtoolNet-snmpNet-snmp-libsNet-snmp-utils#下载相关软件cd/usr/local/src/wget http://www.cacti.net/downloads/cacti-0.8.7e.tar.gzIi. Introduction of the environmentThe main monitor is CentOS 5.6Main monitoring Machine ip=192.168.0.61Three, installation configuration(1) Install the APACHE+PHP+GD Web environment on the main monitor machine, reco
Last week when installing the search engine Elasticsearch, asked to install a newer version of Java, I chose Java 1.8.0, the installation of Java after the successful use of java-version found that the version is still 1.6.0,Some information was queried to find that the version of the selected software could be replaced with the Linux Alternatives command.DescriptionAlternatives--install whichInstall indicates installationLink is a symbolic linkName i
Install JDK 6 first
Sudo apt-Get install sun-java6-jdk
Then you need to set the default JavaProgramSudo Update-alternatives -- config JavaEnter the corresponding options as prompted, and set them to JDK 6.
The following settingsSudo Vim/etc/environment
Add the following two lines:Classpath =/usr/lib/JVM/Java-6-sun/libJava_home =/usr/lib/JVM/Java-6-sunIf classpath and java_home are already set, change them to the above format and press ZZ
On June 18, MarkShuttleworth met with the chairman of the China OSS Promotion alliance and said: "Ubuntu is not a DOS alternative ". What does this sentence mean? Let's ask, what is Mark's purpose in China this time? The fact is that Mark's visit to China was not designed to visit the OSS alliance, but to negotiate with the Ubuntu OEM (I will not talk about it here. Only in this context can we correctly understand the exact meaning of "Ubuntu does not use DOS
February 15 message: Today, Red Hat officially announced the official launch of Red Hat Enterprise Virtualization 3.0. This product greatly expands its strength in server and desktop virtualization management tools and kernel-based Virtual Machine management programs. According to RedHat, RedHat Enterprise Virtualization 3.0 balances the virtualization management features, performance, and scalability of new enterprises under Linux and Windows loads, and the cost is much lower than that of propr
When more than one Java is installed in a Linux system, we can switch the Java version automatically when the original configuration file is not modified:[Email protected] ~]# update-alternatives--config java650) this.width=650; "title=" 3118.tmp.jpg "style=" height:160px;width:737px "src=" http://s4.51cto.com/wyfs02/M00/ 89/20/wkiom1gicoew4dxbaaau_kx0tym965.jpg "width=" 881 "height=" 156 "alt=" Wkiom1gicoew4dxbaaau_kx0tym965.jpg "/>To maintain the cu
CentOS Linux Monitor the installation C Acti1 ,Cacti Monitoring IntroductionCacti is a graphical analysis tool for network traffic monitoring based on PHP,MySQL,SNMP and RRDTool development. Cacti is a PHP language implementation of a software, its main function is to use the SNMP service to obtain data, and then use RRDtool to store and update data, when users need to view the data The RRDTool generates
CACTI: Use templates to monitor mysql and cactimysql on local or other servers
Mysql templates, online are using this address http://mysql-cacti-templates.googlecode.com has not been accessed
Google found this URL:
Introduction: http://www.percona.com/doc/percona-monitoring-plugins/1.0/cacti/mysql-templates.html
Download Page: http://www.percona.com/downloads/p
As a developer, when developed on Windows, it uses artifacts such as total Commander, search directories, view files, batch rename, and more.TC is a paid version, there is a free alternative version just manager:http://www.justmanager.ru/downloads/Prior to working at Altium, a large number of Ukrainian programmers liked to use far Manager, full of the C/borland C + + in the University of C + + when the sense of vision. Download here: https://farmanager.com/download.php?l=enenjoy!Windows Develope
Xutils-android Tool Library Afinal AlternativesHttps://github.com/wyouflf/xUtils(Afinal is the work of the people, Xutils is modified according to Afinal, but also the works of the people)Xutils. As the name implies, it is a tool library.Xutils Introduction
Xutils contains a lot of useful Android tools.
Xutils originated from the afinal framework, and the afinal was properly streamlined, and some modest expansions and refactorings were made.
Xutils has some characteristics of af
, just for the sake of compatibility let it from 1.7 live to 1.9.This article also does not have any content, next will use this function to do some meaningful things to show the next ~ in the low version of IE, a tag will appear when the mouse press the dotted border, which is caused by focus. We can solve this problem simply by doing something in the global event. Focus is not bubbling in modern browsers, but it can be bubbling in the lower version of the browser. Therefore, it is valid for fo
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.ObjectiveAfter upgrading the Android SDK to 23, the getdrawable and GetColor method hints are obsolete.Solution SolutionsGetresources (). GetColor replaced with Contextcompat.getcolorGetresources (). Getdrawable replaced with contextcompat.getdrawableExamples are as follows:int colorint = getresources (). GetColor (r.color.coloraccent); //Returns a value of type int of color: -49023 int col
; } @SEX Public intGetsex () {returnsex; } PublicString getsexdes () {if(Sex = =MALE) { return "male"; } Else { return "female"; }}} @IntDef ({MALE, FEMALE}) @Retention (Retentionpolicy.source) Public@interface SEX {}}If we try to pass a value that is not within the limit when we call the Setsex () method, then the compilation will not pass and there is an error message. Similarly, we can also use @stringdef.As we can see here, @SEX annotations can be placed on attribut
Java code1.system.out.println (New Java.util.Date ()); Output: Thu Jan 14:43:28 CST 20112.system.out.println (new Java.util.Date (). toLocaleString ());Output: 2011-1-27 14:45:21However, the toLocaleString () method is now obsolete and is replaced by the Dateformat.format (date date).DateFormat DDF = Dateformat.getdateinstance (); DateFormat DTF = Dateformat.gettimeinstance (); DateFormat DDTF = Dateformat.getdatetimeinstance (); Date date = new Date (); System.out.println ("Date:" + ddf.fo
How to connect an Access database on a windows2008 64-bit machine with a previous way of connecting to an Access database provider= Microsoft.Jet.OLEDB.4.0 can be used on a 32-bit machine, can not be used on the 64-bit, the use of alternative scenarios-Microsoft Access database engine 2010 Download installation changes using the following connection string can be resolved.Microsoft accessデータベースエンジン2010 (Microsoft Access Database engine) Accessdatabaseengine_x64.exeDownloadhttp://www.microsoft.co
CACTI: Use a template to monitor mysql on a local server or another server
Mysql templates, online are using this address http://mysql-cacti-templates.googlecode.com has not been accessed
File currently downloaded: percona-cacti-templates-1.1.4-1.noarch.rpm
Local server monitoring local mysql:
Go to the cacti directory
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.