1. 装机
2. 装vmvaretools,遇到问题aniu is not in the sudoers file. This incident will be reporpted.
解决方法(自己解决):输入su,在root用户下运行命令,搞定。 2012年10月24日 7:40:22
p3.
gedit 报错"GConf 错误"症状: 在Fedora11 下切换到root用户后执行 gedit时报错: $ su # gedit GConf 错误:联系配置服务器失败;某些可能原因是需要为 ORBit 启用 TCP/IP 联网,或者由于系统崩溃,您的 NFS 锁定已失效。请访问 http://projects.gnome.org/gconf/ 了解详细信息。(详细信息 - 1: 获取到会话的连接失败:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)解决办法:切换用户时不要使用 su 而要使用 "su -"
2012年10月24日 9:08:28
4. yum本地源配置
这个是个坑爹的配置,搞的哥昨晚做梦都在配这个。。。 (1)先加载光驱,在CentOS6.3中,要把DVD2.iso挂上来,运行mount /dev/rdrom /mnt/CentOS,把光驱的内容搞到/mnt/CentOS中,然后,为了以后方便,把这些东西都复制到/data/CentOS中(在进行这项操作时,如果不想打命令,就切换用户到ROOT名下进行操作)。 (2)改配置文件,打开/etc/yum.repos.d,先把原有的文件备份,建一个backup文件夹,然后把CentOS-Media.repo拷出来,修改内容为: 1. [c6-media] 2. 3. name=CentOS-$releasever - Media 4. 5. baseurl=file:///media/CentOS/ 6. 7. file:///media/cdrom/ 8. 9. file:///media/cdrecorder/ 10. 11. file:///data/CentOS12. 13. gpgcheck=1 14. 15. enabled=1 16. 17. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-... 其中,加入了 /data/CentOS, 指向数据存放的目录,再把enabled激活。、5. 安装QT
看了一个更坑爹的帖子,说装QT之前要yum intall g--c++,哥不知道是什么意思,就想办法装,才搞出来yum本地源这么一出。话说哥直接到了qt的目录下,直接一个./QtSdk-offline-linux-x86_64-v1.2.1.run,竟然像在window里面一样,就这样装了。。。这一点充分说明了,网络是强大的,网友是神奇的,但如果说啥就敢信啥,真是脑袋要进水进到爆。。。 于是我激动地双击了qt crearor,没反应。。。又双击。。。还是没反应。。。。又。。。。好吧,一会全弹出来了。。。 和windows里一样,果然跨平台。。。 2012年10月24日 9:35:546. 安装XAMPP
又遇到问题“ tar: /opt:归档中找不到”,解决方法 http://blog.csdn.net/pantaovay/article/details/7682493 处理方法是在后面加上-C参数,比如,之前如果用# tar zxvf lumaqq_2006M2-linux_gtk2_x86_no_jre.tar.gz /opt/ 的话就会出现这个问题。 -C也要大写!。。。哥这么不拘小节的男人。。。 出现这个错误之后,从第一个错误开始查,查到一篇好的帖子, < http://www.dedecms.com/knowledge/servers/linux-bsd/2012/0822/12531.html > 修复/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory问题1、在64系统里执行32位程序如果出现/lib/ld-linux.so.2:bad ELF interpreter: No such file or directory,安装下glic即可sudo yum install glibc.i686 www.cit.cn 2、error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory sudo yum install zlib.i686 (备忘) 作者 qiaoning13256 这个包里没有,只能上网搞了一下,把yum.repos.d/backup中的base那个文件拿出来,才用了成功的执行了yum install glibc.i686 www.cit.cn。然后果然成功了。这就是出来的xampp的界面。。。
!DOCTYPE>紧接着问题又来了,妹的
提示
Access forbidden!
New XAMPP security concept:
Access to the requested object is only available from the local network.
This setting can be configured in the file “httpd-xampp.conf”.
If you think this is a server error, please contact the webmaster.
Error 403
nait.vicp.netApache/2.4.1 (Win32) OpenSSL/1.0.0g PHP/5.4.0
看了好多帖子,提示的做法是:
打开httpd-xampp.conf(/xampp/apache/conf/extra/httpd-xampp.conf)
找到以下内容
1. 2. # New XAMPP security concept 3. 4. # 5. 6. <LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”> 7. 8. Order deny,allow 9. 10. Deny from all 11. 12. Allow from ::1 0/8 / 13. 14. fc00::/7 0/8 0/12 0/16 / 15. 16. 94/32 17. 18. ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var19. </LocationMatch>将Deny from all这一行注释掉,即#Deny from all注:需要重启apache[/opt/lampp/lampp restartapache]
但这个方法在我这行不通,只有再找。。。最后看到一个帖子, 在Deny下面加一行
1. Require all granted竟然解决了。。。看到了熟悉的这个。。。感慨。。。
由于CentOS自带有MySQL,端口上有冲突,所以先卸载了xammpp。
方法:(1)停止XAMPP:/opt/lampp/lampp stop
(2)rm -rf /opt/lampp
2012年10月24日 18:47:14
6. 安装oracle
貌似很麻烦,先clone一下再说。
先看了一个讲删除的
转载于:https://www.cnblogs.com/aniuer/archive/2012/10/25/2738209.html