software for ubuntu

software for ubuntu

安装Ubuntu Fcitx
    sudo apt-get install im-switch fcitx   
    sudo im-switch -s fcitx -z default  
    im-switch -s fcitx -z default #修改当前用户的默认输入法, 具体看man im-switch 

Ubuntu Fcitx完成设置最好重启一下,输入法就生效了.如果发现软件界面字体是方块,gedit ~/.fcitx/config或gksu gedit /usr/share/fcitx/data/tables.conf打开配置文件修改一下字体就OK.可以使用fc-list来查看已安装的字体。如果配置文件出现乱码,使用gedit --encoding gbk XXX #打开配置文件。
    
    设置默认
    sudo im-switch -a fcitx  
    im-switch -a fcitx 


Yakuake
是一个KDE的下拉式终端软件。与Kate、KDevelop和Konqueror一样,Yakuake通过KParts,使用Konsole的技术来提供终端。
apt-get install yakuake

开机启动
System > Preferences > Startup Applications
点击 add 填写,name:yakuake Terminal  command: /usr/bin/yakuake
command : “Guake Terminal”

安装git
sudo apt-get install git


安装zsh
sudo apt-get install zsh

配置zsh

下载 oh-my-zsh

git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh


cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc


改成预设使用 zsh
chsh -s /bin/zsh



安装lamp环境
sudo apt-get install nginx php5-fpm php5 php5-memcached php5-memcache php5-mongo php5-xdebug php5-mysql memcached mongodb mysql-server mysql-clent


lamp环境配置
1.在 /etc/nginx/conf.d/加入配置文件test.conf
文件内容
server {

    listen       80;
    server_name www.test.com;
    server_tokens off;
    autoindex on;

    #charset koi8-r;

    #access_log  logs/host.access.log  main;

    location / {
        root   /home/wrj/workspaces/test;
        #index  index.php index.html;
        #include /home/wrj/workspaces/php/aerie/.nginxaccess;
    }
    
    location ~* \.php {
        fastcgi_pass unix:/var/run/php-fpm.sock; 
         #/php-fpm.sock路径要与 /etc/php5/fpm/pool.d/www.conf中的listen = /var/run/php-fpm.sock 路径相同  

        include	fastcgi_params;
        fastcgi_index	index.php;
        fastcgi_split_path_info	^(.+\.php)(.*)$;
        fastcgi_param SCRIPT_FILENAME	/home/wrj/workspaces/test$fastcgi_script_name;
        fastcgi_param PATH_INFO	$fastcgi_path_info;

        fastcgi_buffers 8 128k; 
        fastcgi_connect_timeout 300s;
        fastcgi_send_timeout 300s;
        fastcgi_read_timeout 300s;
        fastcgi_buffer_size 128k;
        fastcgi_busy_buffers_size 256k;
        fastcgi_temp_file_write_size 256k;
        fastcgi_intercept_errors on;
    }

    location ~ /\.nginxaccess {
        deny all;
    }
        
}


重启 php-fpm
sudo service php5-fpm restart


安装 sublime-text-2
http://songfantasy.iteye.com/blog/1536184

猜你喜欢

转载自wrj913.iteye.com/blog/1881524