software for ubuntu

software for ubuntu

[b]安装Ubuntu Fcitx[/b]

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


[b]Yakuake[/b]
是一个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”

[b]安装git[/b]
sudo apt-get install git


[b]安装zsh[/b]

sudo apt-get install zsh

[b]配置zsh[/b]

下载 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



[b]安装lamp环境[/b]

sudo apt-get install nginx php5-fpm php5 php5-memcached php5-memcache php5-mongo php5-xdebug php5-mysql memcached mongodb mysql-server mysql-clent


[b]lamp环境配置[/b]
1.在[color=red]/etc/nginx/conf.d/[/color]加入配置文件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


[b]安装 sublime-text-2[/b]
[url]http://songfantasy.iteye.com/blog/1536184[/url]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值