mkdir workspace/softwarecd workspace/softwarerz====================================================== Configure jdk:tar-xzvf jdk-7u71-linux-x64.tar.gzrm-f jdk-7u71-linux-x64.tar.gz Test: java-version=============== ======================================= configuration gradle:unzip gradle-2.1-all.ziprm-f gradle-2.1-all.zip test: Gradle- version====================================================== Configuration ANT:TAR-ZXPVF apache-ant-1.9.4-bin.tar.gzrm-f  APACHE-ANT-1.9.4-BIN.TAR.GZ Test: ant-version====================================================== Configure the JDK, Gradle, Ant source /etc/profile (make configuration file changes effective immediately) /etc/profile final version of the configuration file: ——— export java_home=~/ Workspace/software/jdk1.7.0_71export Gradle_home=~/workspace/software/gradle-2.1export ANT_HOME=~/workspace/ Software/apache-ant-1.9.4export path= $JAVA _home/bin: $GRADLE _home/bin: $ANT _home/bin: $PATHexport classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar====================================================== configuration Python:http://www.linuxde.net/2013/06/13813.html update Python never remove the old version of the system! The old and new versions can coexist, and many of the basic commands and packages are dependent on the preinstalled versions of Python, such as Yum. Yum-y Install gcc (update gcc because the GCC version is too old to cause a new version of Python package compilation to be unsuccessful) TAR-JXF PYTHON-3.4.2.TAR.XZCD Python-3.4.2/./configuremake Allmake Install test:/usr/local/bin/python3.4-vmv/usr/bin/python/usr/bin/python2.4ln-s/usr/local/bin/python3.4/usr /bin/python (Establish a soft connection to the bin directory of the current system default Python command, let the system use the new version of Python) The default Python successfully points to 3.4, Yum does not work properly and needs to modify the Yum configuration file vi/usr/bin/ Yum ——— file header #!/usr/bin/python changed to #!/usr/bin/python2.6 //before the old version number test: Python-vvi hello.py ——— Print ( ' xiandan! ') ——— python hello.pyrm-f hello.py====================================================== configuration mysql:http:// www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.htmlhttp://winteragain.blog.51cto.com/1436066/ 1147962yum List | grep mysqlyum install-y mysql-server mysql mysql-develrpm-qi mysql-server (view newly installed Mysql-server version) service mysqld Start (start MySQL service) chkconfig–list | grep mysqld (check that the MySQL service is not powered on automatically) Chkconfig mysqld on (set to boot)/usr/bin/mysqladmin-u root password ' xin ' (Set password for root account) Mysql-u root-p (log in to MySQL database) ——— need to be aware of: Use Mysql;update user set Hos t= '% ' where user= ' root '; (change the scope of remote access) grant all privileges on *. * to [email protected]% identified by ' Xin '; (grant permission)/etc/ Init.d/iptables Stop (firewall off)/sbin/iptables-i input-p tcp–dport 3306-j ACCEPT (Allow 3306-Port packet Entry (TCP))/etc/init.d/ iptables Restart (restart firewall)/etc/rc.d/init.d/iptables Save (Save changes) http://lwg2001s.iteye.com/blog/1201846 (more firewall-related) ———/ Sbin/iptables-i input-p Tcp–dport 3306-j Accept is a packet that allows 3306 ports to enter (TCP). Wherein,-I input-i input: A rule is inserted in the input rule chain, the original rule in that position will be moved backward a –dport 3306: Specify the target port is 3306ACCEPT: to let this package through the =============== ======================================= Config svn: check if a lower version of SVN:RPM-QA subversion is installed Svn:yum remove Subversion installation Svn:yum install-y Subversion View SVN version information: svnserve–version============================================== ======== Configuration hudson:http://seanzhou.iteye.com/blog/1399644http://www.ttlsa.com/tools/install-hudson-on-linux/ Start: Java-jar/root/workspace/hudSon/hudson.war specified port: java-jar/root/workspace/hudson/hudson.war –httpport=8082
Linux development environment configuration