| zikang's profileZi Kang's spacePhotosBlogLists | Help |
Zi Kang's space |
||||||||||||||||||||||||||||||||||||||||||||||||||
October 10 10月15日(周四) IBM Lotus 虚拟网络大会
注册并参与抽奖:http://tinyurl.com/o33mn4
September 23 RPM Commands 1.安装一个包 # rpm -ivh 2.升级一个包 # rpm -Uvh 3.移走一个包 # rpm -e 4.安装参数 --force 即使覆盖属于其它包的文件也强迫安装 --nodeps 如果该RPM包的安装依赖其它包,即使其它包没装,也强迫安装。 5.查询一个包是否被安装 # rpm -q 6.得到被安装的包的信息 # rpm -qi 7.列出该包中有哪些文件 # rpm -ql 8.列出服务器上的一个文件属于哪一个RPM包 # rpm -qf 9.可综合好几个参数一起用 # rpm -qil 10.列出所有被安装的rpm package # rpm -qa 11.列出一个未被安装进系统的RPM包文件中包含有哪些文件? # rpm -qilp September 18 GDM无法写入您的认证文件,这可能意味着您的磁盘没有空间或工作目录没有读权限这个错误信息会导致Ubuntu无法进入图形界面,解决步骤: 1、开机按Esc进入GRUB 2、选择Recovery恢复模式 3、用Root身份进入命令行模式 4、到根目录用ls -l 查看 drwxrwxrwt 20 root root 4096 2009-09-18 02:16 tmp 5、执行chmod 777 /tmp 6、再用ls -l 查看 drwxrwxrwx 20 root root 4096 2009-09-18 02:18 tmp September 08 “subprocess pre-removal script returned error″ in SynapticYou may fail to install Symphony .deb package due to broken dependencies found in synaptic manager, You attempt to fix the broken dependency in synaptic, but getting error "subprocess pre-removal script returned error " The following command seems not working either. ubuntu@ubuntu-desktop:~$ sudo dpkg --force all -r symphony-nl1 (Reading database ... 112497 files and directories currently installed.) Removing symphony-nl1 ... /var/lib/dpkg/info/symphony-nl1.prerm: line 4: /opt/ibm/lotus/Symphony/symphony-nl1_uninstall.log: No such file or directory To workaround this, 1.Quit Synaptic and navigate to the folder /var/lib/dpkg/ 2.Copy the file status to desktop, 3.Edit the status with Gedit or any text editor, Search by the name of the package to be removed, Remove the whole section if you found 4.Open a terminal session, copy the modified status back to original place. ubuntu@ubuntu-desktop:~/Desktop$ sudo mv status /var/lib/dpkg/ 5.Launch Synaptic ubuntu@ubuntu-desktop:~/Desktop$ sudo synaptic Link to The _khAttAm_ blogMay 16 How to remove Linux bootloader from dualboot WindowsFor some reason, we may want to revert back to M$ world from Linux LILO or GRUB.
It seems not easy as there's no documentation on how-to and Linux distros don't follow unique standard.
Quite some articles required you booting from Windows installation CD and initiate Recovery Console. (blah blah..)
But this is not always necessary, here's another workaround:
The first thing is to recover the MBR (Main Boot Record) with the tool Mbrfix.
MbrFix /drive 0 fixmbr Update MBR code to Windows 2K/XP/2003 MbrFix /drive 0 fixmbr /vista Update MBR code to Windows Vista
Then, initiate disk manager by click Start->Run: type diskmgmt.msc then Enter.
Select the unrecognized partitions and remove Logical Drive.
Reallocate the free space to M$ Windows, Safe and Sound. |
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||
|
|