Chinaunix首页 | 论坛 | 博客
  • 博客访问: 616996
  • 博文数量: 73
  • 博客积分: 1813
  • 博客等级: 上尉
  • 技术积分: 1213
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-27 19:59
文章分类
文章存档

2013年(1)

2012年(12)

2011年(28)

2010年(31)

2009年(1)

我的朋友

分类: LINUX

2012-12-06 16:30:02

一.安装LAMP

1.安装apache2.0

sudo apt-get install apache2


2.安装PHP

sudo apt-get install php5 //安装PHP5

sudo apt-get install libapache2-mod-php5 //配置APACHE+PHP

sudo /etc/init.d/apache2 restart //重启APACHE

3.安装MYSQL

sudo apt-get install mysql-server

安装完成按提示设置root密码

4、让apache、php支持 mysql

sudo apt-get install libapache2-mod-auth-mysql

sudo apt-get install php5-mysql

sudo /etc/init.d/apache2 restart

二. Ubuntu下载挂载ntfs文件系统


#blkid 

/dev/sda1: UUID="89a19c21-c205-4ecc-9994-56643f8695b8" TYPE="ext4" 

/dev/sda3: LABEL="M-hM-=M-/M-dM-;M-6" UUID="0008AFF900029A19" TYPE="ntfs" 

/dev/sda4: UUID="547CDDB47CDD915A" TYPE="ntfs" 

rroot@rio-Dimension-2010:~/下载# cat /etc/fstab

# /etc/fstab: static file system information.

#

# Use 'blkid' to print the universally unique identifier for a

# device; this may be used with UUID= as a more robust way to name devices

# that works even if disks are added and removed. See fstab(5).

#

#            

proc            /proc           proc    nodev,noexec,nosuid 0       0

# / was on /dev/sda1 during installation

UUID=89a19c21-c205-4ecc-9994-56643f8695b8 /               ext4    errors=remount-ro 0       1


UUID="0008AFF900029A19" /mnt ntfs defaults 0 0

UUID="547CDDB47CDD915A" /mnt2 ntfs defaults 0 0

三. B43无线驱动

安装ubuntu 12.04后,无线网卡不可用,通过“附加驱动”中提示的b43驱动安装后反而连无线网卡都找不到了,采用以下方式解决:

1、卸载之前在Ubuntu的附加驱动管理器中安装的b43 sta驱动,重启电脑;

2、在终端中运行如下命令,重新安装b43相关的全部驱动和firmware:

sudo apt-get install bcmwl-kernel-source     #Broadcom 802.11 Linux STA 无线驱动源
sudo apt-get install broadcom-sta-common
sudo apt-get install broadcom-sta-source
sudo apt-get install b43-fwcutter            #Broadcom 43xx 固件提取工具
sudo apt-get install firmware-b43-installer

3、执行如下命令,激活无线网卡:
sudo modprobe -r b43 ssb
sudo modprobe b43

4、执行如下操作,把无线网卡加入到开机启动里面,这样每次开机就可以自动扫描WiFi网络:
把命令sudo modprobe b43加到/etc/rc.local文件中exit之前。

OK。


四.极点五笔
sudo wget http://
tar -zxvf vissible-ibus.tar.gz
cd vissible-ibus 
sudo cp vissible.db /usr/share/ibus-table/tables
sudo cp vissible.gif /usr/share/ibus-table/icons



阅读(1166) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~