分类: LINUX
2012-12-06 16:30:02
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
安装ubuntu 12.04后,无线网卡不可用,通过“附加驱动”中提示的b43驱动安装后反而连无线网卡都找不到了,采用以下方式解决:
1、卸载之前在Ubuntu的附加驱动管理器中安装的b43 sta驱动,重启电脑;
2、在终端中运行如下命令,重新安装b43相关的全部驱动和firmware:
3、执行如下命令,激活无线网卡:
4、执行如下操作,把无线网卡加入到开机启动里面,这样每次开机就可以自动扫描WiFi网络:
OK。
三. B43无线驱动
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
sudo modprobe -r b43 ssb
sudo modprobe b43
把命令sudo modprobe b43加到/etc/rc.local文件中exit之前。
四.极点五笔
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