Lokvin Wiki
Edit Page

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 51: Line 51:
 
If you want use same keyboard(mouse) for multi machine, need synergy (suggest use latest version)
 
If you want use same keyboard(mouse) for multi machine, need synergy (suggest use latest version)
 
*http://synergy-foss.org/
 
*http://synergy-foss.org/
  +
  +
==install Chrome==
   
 
==install subversion ==
 
==install subversion ==
Line 76: Line 78:
 
└─2408 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024
 
└─2408 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024
   
  +
==install firefox==
  +
*fire fox is a tar ball, download from official site http://www.mozilla.org/en-US/firefox/new/ ,put to:
  +
~/dev/firefox
  +
create a launcher for firefox on desktop
  +
===install firebug plugin===
  +
===install foxyproxy plugin===
  +
  +
==install filezilla==
  +
*for ftp client, you need download filezilla from https://filezilla-project.org/
  +
  +
==install jdk==
  +
get jdk for fe13 from media share folder <br>
  +
Download jdk-1_5_0_20-linux-i586.bin from http://10.90.0.160/svn/universal_dependencies/jdk-1_5_0_20-linux-i586.bin
  +
  +
shell> sudo mkdir -p /usr/java
  +
shell> cd /usr/java
  +
shell> sudo cp ~/Downloads/jdk-1_5_0_20-linux-i586.bin .
  +
shell> sudo chmod 755 jdk-1_5_0_20-linux-i586.bin
  +
shell> sudo ./jdk-1_5_0_20-linux-i586.bin
  +
shell> sudo ln -s /usr/java/jdk1.5.0_20 jdk
  +
  +
*Configure
  +
shell> sudo rm -rf /usr/bin/java /usr/bin/javac
  +
shell> sudo ln -s /usr/java/jdk/bin/java /usr/bin/java
  +
shell> sudo ln -s /usr/java/jdk/bin/javac /usr/bin/javac
  +
  +
Similar for JDK 6 , and make softlink /usr/java/jdk point JDK6, since rcom use jdk6.(spotlight use jdk5)
   
 
==subclipse==
 
==subclipse==
Line 85: Line 114:
 
sudo /bin/systemctl start memcached.service
 
sudo /bin/systemctl start memcached.service
   
  +
==install mysql==
  +
#download mysql-5.6.20-linux-glibc2.5-x86_64.tar.gz from http://dev.mysql.com/
  +
  +
shell> groupadd mysql
  +
shell> useradd -r -g mysql mysql
  +
shell> cd /usr/local
  +
shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
  +
shell> ln -s full-path-to-mysql-VERSION-OS mysql
  +
shell> cd mysql
  +
shell> chown -R mysql .
  +
shell> chgrp -R mysql .
  +
shell> scripts/mysql_install_db --user=mysql
  +
shell> chown -R root .
  +
shell> chown -R mysql data
  +
# Next command is optional
  +
shell> cp support-files/my-medium.cnf /etc/my.cnf
  +
shell> bin/mysqld_safe --user=mysql &
  +
# Next command is optional
  +
shell> cp support-files/mysql.server /etc/init.d/mysql.server
  +
  +
you may meet an error when scripts/mysql_install_db --user=mysql,like
  +
shell>scripts/mysql_install_db --user=mysql
  +
FATAL ERROR: please install the following Perl modules before executing scripts/mysql_install_db:
  +
Data::Dumper
  +
  +
need install perl-Data-Dumper
  +
shell>sudo yum install perl-Data-Dumper
   
 
===configure mysql ===
 
===configure mysql ===
Line 102: Line 158:
 
default-character-set=utf8
 
default-character-set=utf8
 
character_set_server=utf8
 
character_set_server=utf8
  +
=====================
 
  +
shell> sudo vi /etc/profile.d/devnet.sh
  +
#add
  +
export PATH=$PATH:/usr/local/mysql/bin
  +
shell> source /etc/profile.d/devnet.sh
   
 
===start mysql ===
 
===start mysql ===

Please note that all contributions to the Lokvin Wiki are considered to be released under the CC-BY-SA

Cancel Editing help (opens in new window)