ubuntu下使用wine登录qq

ubuntu11.10

1、
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine 1.3
2、wine中文乱码

http://blog.csdn.net/happyycm/article/details/5927320

http://www.linuxde.net/2011/10/1503.html

3、从腾讯官网下载qq
执行 wine QQIntl1.2.exe

4、
wget http://www.kegel.com/wine/[......]

Read more

Posted in soft | Tagged , , , | Leave a comment

ubuntu11.10桌面新机安装软件列表

1、
sudo apt-get install gnome-shell;
sudo apt-get install network-manager-vpnc;
sudo apt-get install putty;
sudo apt-get install aria2;
sudo apt-get install remmina;
sudo apt-get install smbfs;
sudo apt-get install nfs-common;
sudo apt-get install rar;
sudo apt-get install p7zip;
sudo apt-[......]

Read more

Posted in server, soft | Tagged , , | Leave a comment

ubuntu挂载网络共享文件夹

1、ubuntu挂载ubuntu网络共享文件夹
假设ubuntu机器A访问ubuntu机器B(192.168.1.1)
1)机器A安装
安装共享服务器
sudo apt-get install nfs-kernel-server;

配置
sudo gedit /etc/exports
增加一行记录
/home/share    *(rw,sync,no_subtree_check)

重启服务
sudo /etc/init.d/nfs-kernel-server restart

2)机器B安装
安装共享客户端
sudo apt-get install[......]

Read more

Posted in server | Tagged , | Leave a comment

ubuntu下chroot的ssh帐户登录

参考http://blog.tianya.cn/blogger/post_show.asp?BlogID=19235&PostID=17196941这个文章
sudo apt-get install libpam-chroot;
发现后边的步骤很繁琐,就放弃了安装,结果导致重新使用root ssh登录也不能正常登录了
直接返回Connection closed by ....
后来把文章中的步骤全部回滚也不灵,最后发现是/etc/ssh/sshd_config文件中的UsePAM yes导致
把配置改成UsePAM no 重启ssh就可以正常登录了

下边是重新又找到其他办法[......]

Read more

Posted in server | Leave a comment

ubuntu安装redmine

redmine是一个bug跟踪系统
1、sudo apt-get install ruby1.8 ruby1.8-dev
安装完查看版本
sudo ruby -version
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]

2、sudo apt-get install libmysqlclient-dev

3、sudo apt-get install libopenssl-ruby1.8

4、手工下载RubyGems安装特定版本
如果已经安装了,需要先卸载
sudo apt-get autoremove ru[......]

Read more

Posted in server, soft | Tagged , , , | Leave a comment

ubuntu使用SQuirreL SQL客户端乱码

1、ubuntu的本地local语言是英文

2、设置SQuirreL界面中文

File--->Global Preferences--->General--->Locale设置为

zh_CN

并确保squirrel-sql/lib中存在squirrel-sql_zh_CN.jar

3、连接mysql查询结果部分乱码

确保设置链接的JDBC driver中用UTF-8

jdbc:mysql://127.0.0.1:3307/demo?useUnicode=true&characterEncoding=UTF-8&[......]

Read more

Posted in javaee, soft | Tagged , , | Leave a comment

ubuntu安装vsftpd服务器

1、安装软件

sudo apt-get install vsftp;
sudo apt-get install mysql-server
sudo apt-get install mysql-client;
sudo apt-get install libpam-mysql;
2、创建系统用户
sudo useradd -d /home/vsftpd -s /bin/false vsftpd;
sudo passwd vsftpd;

sudo mkdir /home/vsftpd;
sudo chown vsftpd:vsftpd /home/vsftpd;
sud[......]

Read more

Posted in server, soft | Tagged , , , | Leave a comment

ubuntu删除旧的linux内核释放boot磁盘空间

今天要升级ubuntu到11.10版本,提示boot空间不足,于是用命令删除boot里的旧linux内核,命令如下

1、查看当前使用内核

sudo uname -a

Linux wangliang-pc 2.6.38-12-generic-pae #51-Ubuntu SMP Wed Sep 28 16:11:32 UTC 2011 i686 i686 i386 GNU/Linux
2、查看已经intall的旧系统内核

dpkg --get-selections|grep linux

3、选择删除那些linux-image开头的非当前使用的linux内核[......]

Read more

Posted in server | Tagged | 1 Comment

ubuntu设置apache2开机不启动

1、sudo apt-get install rcconf
2、sudo rcconf --off apache2

Posted in server | Tagged | Leave a comment

ubuntu安装nginx服务器

sudo apt-get install nginx;
sudo apt-get install php5-cgi;
sudo apt-get install spawn-fcgi;
sudo sed -i '$ i fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;' /etc/nginx/fastcgi_params
sudo sed -i '/cgi.fix_pathinfo=/ c cgi.fix_pathinfo=1;' /etc/php5/cgi/php.ini

//启动
sudo /u[......]

Read more

Posted in server | Tagged | Leave a comment
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 Next