手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表Tag:windows

Windows Server 2008登陆Dreamspark 免费使用

9月初,微软允诺Windows Server 2008会登录Dreamspark, 而且是no later than Oct 1st。
9月30号,Win2k8的标准版真的出现在了学生软件资源社区上,这意味着和别的学生软件一样,只要通过简单的验证操作就可以免费下载和使用。Bingo!免费的Server来临了。

访问:Windows Server 2008 Standard Edition


不过,即使你登录了,下载这些软件的时候,还是需要激活KEY的,激活的时候,去的是英文网站,在上面有个verify,好象CHINA只支持三种类型的大学。看起来仿佛几乎没用?

感慨一下下

Tags: windows, server, dreamspark, 2008, 免费

wubi惊魂

wubi...这个wubi不是传统意义上的五笔哦。
wubi是一个小软件,可以让你在windows下面安装ubuntu而不需要改分区表等信息,说白了就象一个dos启动+liveCD那样的应用,只是内容可以被更改而己。
关于wubi,我就不详细说了。可以到wubu-installer.org上面找个仔细。

我说说我的使用过程吧。
我在笔记本上装的时候,很痛苦,因为,我是intel core duo的芯片,默认就帮我下载了amd64(经朋友指点,amd64不是说为amd64位芯片用的,而是说是64位的版本),结果很多软件装不上,因为那些都是for i386的。确实有点郁闷。可是好象在安装的时候并不能选择。。。(我也没有看到有ini文件配置啥的,这点让人很不舒服,不知道amd64X2的芯片会下载哪个,装了这个版本,qq for linux就不能使用deb包的,而只能使用tar.gz的版本[这个版本,居然不支持打中文???或许是我太笨])
凄凉的事情,咱不多讲。
讲点在单位机器上折腾的事情吧。

单位的机器用的是DELL,显卡是nvidia的,安装完,第一次启动后进行部分设置后会自动重启,然后才算是开启了ubuntu之旅。
建议步骤:
1、进系统后,先更改网络设置,改成能上网先
2、使用新立得软件安装器,先更新所有补丁
3、直接到system菜单找到language support,把环境改成汉语
4、下载好所有的语言包后,再找到 软件的添加删除 ,找到scim,看看有没有选项可以配置,默认的scim在没有装汉语语言时,是没有中文输入法的。
5、由于我的机器是nvidia显卡,初进去时没认出来,需要到hardware test里找到它,打上勾,会自动安装驱动,装完会提示你重启
6、常用的都更新完后,建议安装wine或者通过fushiion安装虚拟机,毕竟大多数情况下,我们还是会用到windows程序。
7、普通的配置没有什么好讲的,firefox还是照常使用,不过好象多了一些插件。伤心的是alipay不支持linux下的firefox,还是慢慢等吧。
8、安装wubi会在启动的时候多一个菜单,所以如果想一启用就进入ubuntu,可以考虑改菜单跳转时间
9、如果觉得ubuntu好用,可以看我博客上的另外一篇文章:把wubi版的改为正式版的

废话不多说了。。开启你们的ubuntu之旅吧

Tags: wubi, linux, windows, ubuntu

惊心动魄的几小时

前两天,我终于使用wubi,在我的笔记本上装上了UBUNTU,然而问题随之而来:
1、部分软件装不上,比如wine
2、QQ无法使用,自带的piddig中的QQ协议是不支持群功能的,下载了qq for linux,结果DEB版本的无法安装,因为只支持i386,这时才发现,我INTEL的CPU,装的居然是for AMD64的UBUNTU(?不理解为什么,这个AMD64是指FOR AMD的芯片吗?),最后只能下载压缩包,解开后里面只有三个文件,运行QQ后,无法使用中文输入法。
3、SCIM输入法,默认没有中文输入,直到我把中文语言包安装好才行。
4、安装和卸载功能、新立得软件安装器,居然是分开的,而且却又互相关联,太郁闷了

虽然有这些缺点,但还是有很大的优点的:
1、硬件全部认出来了,一个驱动也不需要装:无线、SD读卡器,windows分区、蓝牙等等
2、显示器的刷新率终于上了60HZ,看网页再也没有烦恼了
3、很多软件安装还是比较方便的,比如zendstudio for eclipse 6.1等
4、重要操作和vista差不多,需要UNLOCK才能操作(命令行除外,sudo -s就行了)
5、界面友好,漂亮,性能也不错

在使用过程中,发生了一件事情,让我惊心动魄几小时。
我把佑阳的照片从SD卡读出来,放进mount后的windows D盘中,因为担心无法写入,于是,chmod -R 777了一下,然后建立了一个目录,cp 移动硬盘里所有的照片到该目录下。操作完毕,SD卡能够顺利认出确实很方便。自动mount到/media/mobile/目录下,因为我的盘符是mobile。

问题就这样产生了,我切换到windows系统的时候,居然间提示我D盘无法访问,很吃惊的回到了linux下,重新挂载D盘,chmod -R 777,再回去,还是无法访问(但在linux下面可以正常访问)

使用windows进入管理界面,发现该盘符所对应的文件系统不再是NTFS,而是不可识别的RAW,找了一些相关资料,也找了一些分区信息更改软件,发现均无效。(在此之前,回到linux里把D盘内容备份到了移动硬盘里。)
不得己,格式化D盘,把移动硬盘里的东西全部恢复到D盘。
折腾了两天的问题终于解决。

QQ不能输中文确实是遗憾。不过我会尽量到ubuntu下面使用。过两天就该是我安装apache+mysql+php的时候了。

PS:团队好友hihiyou传了个imagick for windows的DLL给我,终于可以在windows下面写imagick的代码了。我也会象我同事那样,逐步把imagick官网例子用imagick实现一下。

Tags: wubi, linux, windows, partition, raw

为windows的WEB服务器添加高性能的FTP组件

在windows服务器里面,如果我们要用FTP函数,速度应该是很慢的,而且效率不高,如果有大量文件需要上传,用自带的FTP函数,恐怕是要死人的吧。
windows服务器,windows哦,可以装N多软件的windows哦。虽然不建议在服务器上装上很多软件,但是也可以装一些FTP软件的嘛。这里以cuteftp举例。
cuteftp安装完毕后,会在软件目录里有一个Scripts目录,现在的版本不象很久以前的了,如今的版里只有一个Sample.vbs,记得几年前的cuteftp里面会有各种各样的vbs文件的。
闲话不多说,打开vbs文件,内容为:

ASP/Visual Basic代码
  1. 'This default template script is in VBScript. You can write scripts in your language of choice and save them with the proper extension, or use your an editor specific to that language.  
  2. 'See the TESDK help file for more details on how the scripting feature works and for information on each supported method and property.  
  3. 'You must have Windows Scripting Host installed for the COM enabled engine to work. Run the Transfer Engine once to register it (as a COM object) on the target system.  
  4. 'If you're having problems with running scripts while not logged in, or when trying to run them using MS scheduler, refer to our online knowledgebase for help (http://www.globalscape.com/support)  
  5. 'Look into c:\temp folder to observe local activity (for testing purposes) or right click on the Transfer Engine icon in the systray and select "show current transfers"  
  6. 'This sample script performs an anonymous login to ftp://ftp.globalscape.net  
  7.    'First declare a variable called Mysite. This will hold the reference to the TE COM object.  
  8.    Dim MySite  
  9.    'Create a connection object and assign it to the variable  
  10.    Set MySite = CreateObject("CuteFTPPro.TEConnection")  
  11.    ' Now set each property for the site connection   
  12.    ' You can omit this section to use the default values, but you should at least specify the Host  
  13.    'The default Protocol is FTP, however SFTP (SSH2), FTPS (SSL), HTTP, and HTTPS can also be used)  
  14.    MySite.Protocol = "FTP"  
  15.    MySite.Host = "ftp.globalscape.com"  
  16.    'following lines are optional since the default is anonymous if no login and password are defined  
  17.    MySite.Login = "anonymous"  
  18.    MySite.Password = "user@user.com"  
  19.    'if necessary, use the UseProxy method and ProxyInfo or SocksInfo properties to connect through a proxy server  
  20.    MySite.UseProxy = "BOTH"  
  21.    'now connect to the site (also called called implicitly when most remote methods are called)  
  22.    MySite.Connect  
  23.    'perform some logic to verify that the connection was made successfully  
  24.    If (Not Cbool(MySite.IsConnected)) Then    
  25.       MsgBox "Could not connect to: " & MySite.Host & "!"  
  26.       Quit(1)  
  27.    End If  
  28.    'The script will now check to see if the local folder c:\temp exists and will create it if necessary  
  29.    If (Not (MySite.LocalExists("c:\temp"))) Then  
  30.       MySite.CreateLocalFolder "c:\temp"  
  31.    End If  
  32.    'Change TE's local working folder to to c:\temp  
  33.    MySite.LocalFolder = "c:\temp"  
  34.    'Check for existence of remote folder "/pub/cuteftp"  
  35.    b = MySite.RemoteExists("/pub/cuteftp/")  
  36.    If (Not CBool(b)) Then  
  37.       'Verify existence of remote folder  
  38.       MsgBox "Remote folder not found!. Please make sure that the Pub folder exists on the remote site"  
  39.       Quit(1)  
  40.    End If  
  41.    'Now download the index file to the local destination folder  
  42.    MySite.Download "/pub/cuteftp/index.txt"  
  43.    'Complete.  Show the status of this transfer.  
  44.    MsgBox "Task done, final status is '" + MySite.Status + "'"  
  45.   MySite.Disconnect  
  46.   MySite.Close  
  47. 'End of sample script. You can save you script and then run it by either selecting it from the Tools > Run Script menu or by double clicking on the script file in Windows  

看到这样的文件,你应该知道如何调用一些FTP软件自带的方法了吧?现在,我们用PHP模拟一遍。。。。。
请看详细内容

» 阅读全文

Tags: ftp, com, windows, cuteftp, vbs

Records:14123