Lokvin Wiki

How to set up development environment (Desktop Linux Fedora18 x64)[]

enable sudo to your account[]

shell> su
shell> chmod +w /etc/sudoers
shell> echo '${username} ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
shell> chmod -w /etc/sudoers
shell> exit

disable SELINUX[]

sudo vi /etc/selinux/config

set yum proxy[]

shell> sudo vi /etc/yum.conf
#add correct proxy for your env

install synergy[]

  1. use synergy share your keyboard, and mouse between machine
shell>sudo yum install synergy
shell>mkdir ~/synergy
##put synergy.conf and synergy server and client shell under this folder
##you may need synergy official site to write the shell and conf
  1. you may need stop firewall to use synergy, you can add below to your ~/.bash_profile
sudo systemctl stop firewalld.service

install m4[]

shell>sudo yum install m4

install subversion[]

shell>sudo yum install subversion

install git[]

shell>sudo yum install git
  • Todo: add config git proxy

ssh keygen[]

[iphone@bjsit1iphonedev01 .ssh]$ssh-keygen -t rsa

install memcached[]

shell>sudo yum install memcached
  • start memcached
shell>sudo systemctl start memcached.service

install eclipse[]

shell>mkdir -p ~/dev
#put eclipse to ~/dev/, such as ~/dev/eclipse-kepler

You probably want to increase the min/max memory for eclipse, I use "-Xms768m" and "-Xmx1024m"

$ vi ~/eclipse/eclipse.ini

Config eclipse proxy
Preferences --> General --> Network Connect

Install subclipse from Eclipse Marketplace
Help --> Eclipse Marketplace , then search your plugin and install

install maven[]

maven install on


and create softlink

[yufei@localhost bin]$ sudo ln -s /usr/local/maven-2.2.1/bin/mvn mvn
[yufei@localhost bin]$ sudo ln -s /usr/local/maven-3.0.5/bin/mvn mvn3

add custon alias[]

  • add custom alias to fe18, add shell file to /etc/profile.d/ , such as : yufei_alias.sh
[yufei@localhost profile.d]$ pwd
[yufei@localhost profile.d]$ cat yufei_alias.sh 
alias jumprcom='ssh jump@'
alias jumpagency='ssh appdev@'