1.把阿里云系统旧的升级到新debian版本。
2.把lnmp从0.9升级到1.0。
3. 修改SSH端口和禁止Root远程登陆。
4.配置普通用户winscp获得root权限。
5.安装iptables防火墙并配置。
6.还有一些零零碎碎的nginx配置及修改等,好久没弄都生疏了,不过多折腾一次那么思路和步骤就越来越清晰了!
1.把阿里云系统旧的升级到新debian版本。
2.把lnmp从0.9升级到1.0。
3. 修改SSH端口和禁止Root远程登陆。
4.配置普通用户winscp获得root权限。
5.安装iptables防火墙并配置。
6.还有一些零零碎碎的nginx配置及修改等,好久没弄都生疏了,不过多折腾一次那么思路和步骤就越来越清晰了!
与其跟狗争道,被它咬一口,倒不如让它先走。就算宰了它,也治不好你被咬的伤。——林肯
1当局部乱码时(乱码文字较少时):
(1)左键选择的乱码文字
(2)用MO(PR)快捷命令,打开一个特性对话框
(3)在文字一栏里选中你已知的正常显示的字体样式即可。
如果不记得已知的字体的话也可以新建一个字体样式
(1)用ST命令打开文字样式对话框,
(2)下一步新建一样式名,
(3)下一步把SHX字体下面的选项改为中文字体。
(4)把使用大字体前面的勾去掉。
(5)最后一步,左建在CAD模型里面点击你要修改的字体,
(6)用MO命令打开一个特性对话框,在字体一栏里选中你新建的文字样式就行了,这样你的CAD上的字体就变成中文字体。
2全部乱码时:
(1)鼠标单击无法正确显示的文字
(2)在命令行内输入MO(PR)然后回车→调出特性窗口(也可以点击“修改”菜单选择“特性”来调出)。
(3)然后在“特性窗口”里找到“文字”栏内的“样式”一行,记下样式的名字,例如STANDARD,然后记下来。
(4)在命令行内输入st然后回车→调出文字样式窗口(也可以点击“格式”菜单→文字样式)。
(5)在“文字样式”窗口中的“样式”里找到上面第2条中记下的样式名字(例如STANDARD)选中,然后在“字体”选择框里:勾选上√使用大字体→SHX字体里选txt.shx(不唯一,只要是你CAD字体库里面有的字体且正常显示就行)→大字体里选择hztxt.shx(不唯一,只要是你CAD字体库里面有的字体且正常显示就行),最后点击“应用”按钮,然后关闭文字样式窗口。OK钢筋已经正常显示了(如不正常显示,输入RE(重新生成命令)回车即可)。
虽然每门都很有把握了。而且也如预期的都很速度的做完。考试的风格就是要考就第一个考完交。
不过现在还是不知道到底如何,只能等成绩吧!希望不要出什么意外!
芦荟,属于超强除甲醛型植物。如24小时内都有照明的话,可消灭1立方米空气中90%的甲醛。而且芦荟不仅是吸收甲醛的好手,还有很强的药用价值,有杀菌、美容的功效,在现代居室装饰中常用到。
吊兰,吊兰是植物中的“甲醛去除之王”,可吸收室内80%以上的有害气体,吸收甲醛的能力超强。一般房间养l~2盆吊兰,空气中有毒气体即可吸收殆尽,故吊兰又有“绿色净化器”之美称。
长春藤:可以有效去除分解有害物质,是最理想的室内外垂直绿化品种,即存在于地毯,绝缘材料、胶合板中的甲醛和隐匿于壁纸中对肾脏有害的二甲苯。
菊花:菊花能分解两种有害物质,即存在于地毯,绝缘材料、胶合板中的甲醛和隐匿于壁纸中对肾脏有害的二甲苯。不仅如此,它还具有很强的观赏性,盆栽品种或陆地花卉都有很多可供选择。此外,其花瓣、根茎还能入药。
绿萝:这种植物是很好的吸收甲醛的好手,而且具有很高观赏价值,蔓茎自然下垂,既能净化空气,又能充分利用了空间,为呆板的柜面增加活泼的线条、明快的色彩。
想想挺悲哀的,现实就是现实。
腰包里没有钞票,真的是里外不是人!
接着埋头熬吧,这辈子我也算活明白了,一切也都看透了!
忙完这个月!然后再规划下一步,生活工作本身不累,但是想想如何做好或者做的更好就显得有点自己真的需要再好好规划下了。
1.以root身份登录
xx@www:~$ su root密码:
2.照着网上安装vmware tools的教程操作,中途会遇到”The path “usr/bin/gcc” is not a valid path to the gcc binary path” “The path “” is not a valid path to the 2.6.32-5-amd64 kernel header”的错误提示,使得安装无法进行下去而前功尽弃,所以需要做如下工作:
5.运行apt-get install build-essential
6.至此准备工作完成,开始安装VMware-Tools单击虚拟机菜单中的“虚拟机/安装VMware-Tools,此时就会有把VMware-tools文件加载到CD-ROM中。执行mount /mnt/cdrom命令挂载光驱,进入/mnt/cdrom目录,把“VMwareTools-*******.tar.gz”文件复制到/tmp目录。(如果命令失败,可手动从文件夹复制)
解压文件,执行安装,命令如下:
# cd /tmp //进入根下tmp文件夹
# tar -zxvf Vm* //解压文件
# cd vm* //进入解压后的目录
# ./vm* //执行安装
在安装过程中根据提示进行选择,一路回车即可,最后出现:enjoy,命令跳回工作目录,安装结束,重启电脑,可实现鼠标无缝切换和Debian窗口全屏。
一是没时间安装,另外是一直用的是VM的绿色版,里面没有Linux.iso 文件
今天晚上安装上了 linux 的vmtools ,再也不用按 Ctrl+Alt 了 也不用看800 X 600的桌面了!
在vmware安装vmware tools,如果直接安装VMTools工具不成功,那么就需要手工安装。
1. 以ROOT身份进入LINUX
2. 退出到windows,点击 SETTING菜单下的ENABLE VMWARE TOOLS子菜单,确认安装
3. 使用虚拟光驱加载iso镜像,路径为d:linux.iso
4. 进入linux运行在终端执行如下语句,将tar.gz 复制到/tmp目录下: 因为在cdrom文件下没的可执行权限!
cp VMwareTools-8.1.3-203739.tar.gz /tmp
5. cd /tmp 进入TMP目录
6. tar zxf vmware-linux-tools.tar.gz
解压缩该软件包,默认解压到 vmware-tools-distrib目录下(与文件名同名)。
cd vmware-tools-distrib 进入解压后的目录
7. 执行安装文件
[root@localhost vmware-tools-distrib]# ./INSTALL
如果你的EngLish好的话,就根据自己需要配置一下,如果不是很懂EngLish的话你一直按回车就行了!
安装好后,重启linux 生效!
我的安装过程:
[root@localhost m]# copy vm.tar.gz /tmp
bash: copy: command not found
[root@localhost m]# cp VM.tar.gz /tmp
[root@localhost m]# cd /tmp
[root@localhost tmp]# ls
gconfd-root scim-helper-manager-socket-root
keyring-rNk1Rx scim-panel-socket:0-root
mapping-root scim-socket-frontend-root
orbit-root ssh-TWjXMV5315
virtual-root.EzCSaH
VM.tar.gz
[root@localhost tmp]# tar zxf vm.tar.gz
tar: vm.tar.gz:无法 open: 没有那个文件或目录
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
[root@localhost tmp]# tar zxf VM.tar.gz
[root@localhost tmp]# ls
gconfd-root scim-panel-socket:0-root
keyring-rNk1Rx scim-socket-frontend-root
mapping-root ssh-TWjXMV5315
orbit-root virtual-root.EzCSaH
VM.tar.gz
vmware-tools-distrib
scim-helper-manager-socket-root
[root@localhost tmp]# cd vmware-tools-distrib
[root@localhost vmware-tools-distrib]# ls
bin doc etc FILES INSTALL installer lib vmware-install.pl
[root@localhost vmware-tools-distrib]# ./INSTALL
bash: ./INSTALL: 权限不够
[root@localhost vmware-tools-distrib]# ls -l
总计 532
drwxr-xr-x 2 root root 4096 2009-10-22 bin
drwxr-xr-x 2 root root 4096 2009-10-22 doc
drwxr-xr-x 3 root root 4096 2009-10-22 etc
-r–r–r– 1 root root 517698 2009-10-22 FILES
lrwxrwxrwx 1 root root 13 02-11 22:44 INSTALL -> ./doc/INSTALL
drwxr-xr-x 2 root root 4096 2009-10-22 installer
drwxr-xr-x 17 root root 4096 2009-10-22 lib
lrwxrwxrwx 1 root root 31 02-11 22:44 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl
[root@localhost vmware-tools-distrib]# chmod 755 INSTALL
[root@localhost vmware-tools-distrib]# ls -l
总计 532
drwxr-xr-x 2 root root 4096 2009-10-22 bin
drwxr-xr-x 2 root root 4096 2009-10-22 doc
drwxr-xr-x 3 root root 4096 2009-10-22 etc
-r–r–r– 1 root root 517698 2009-10-22 FILES
lrwxrwxrwx 1 root root 13 02-11 22:44 INSTALL -> ./doc/INSTALL
drwxr-xr-x 2 root root 4096 2009-10-22 installer
drwxr-xr-x 17 root root 4096 2009-10-22 lib
lrwxrwxrwx 1 root root 31 02-11 22:44 vmware-install.pl -> ./bin/vmware-uninstall-tools.pl
[root@localhost vmware-tools-distrib]# INSTALL
bash: INSTALL: command not found
[root@localhost vmware-tools-distrib]# ./INSTALL
./INSTALL: line 1: syntax error near unexpected token `C’
./INSTALL: line 1: `Copyright (C) 1998-2008 VMware, Inc. All Rights Reserved.’
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes] y
Uninstalling the tar installation of VMware Tools.
Skipping VMware Tools services shutdown on the host: [确定]
The removal of VMware Tools 6.0.4 build-93057 for Linux completed successfully.
Thank you for having tried this software.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin/vmtools]
The path “/usr/bin/vmtools” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/bin/sbin]
The path “/usr/bin/sbin” does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]
In which directory do you want to install the library files?
[/usr/bin/lib/vmware-tools]
The path “/usr/bin/lib/vmware-tools” does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
In which directory do you want to install the documentation files?
[/usr/bin/doc/vmware-tools]
The path “/usr/bin/doc/vmware-tools” does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] y
The installation of VMware Tools 8.1.3 build-203739 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command:
“/usr/bin/vmtools/vmware-uninstall-tools.pl”.
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: “/usr/bin/vmtools/vmware-config-tools.pl”. Do
you want this program to invoke the command for you now? [yes]
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
Virtual Printing daemon: [确定]
Unmounting HGFS shares: [确定]
Guest filesystem driver: [确定]
Found a compatible pre-built module for vmmemctl. Installing it…
Found a compatible pre-built module for vmhgfs. Installing it…
Found a compatible pre-built module for vmxnet. Installing it…
Found a compatible pre-built module for vmblock. Installing it…
[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no] y
Found a compatible pre-built module for vmsync. Installing it…
Found a compatible pre-built module for vmci. Installing it…
Found a compatible pre-built module for vsock. Installing it…
Found a compatible pre-built module for vmxnet3. Installing it…
Found a compatible pre-built module for pvscsi. Installing it…
Detected X.org version 7.1.
Host resolution detected as “1366 x 768”.
Please choose one of the following display sizes that X will start with:
[1] “320×200”
[2] “320×240”
[3] “400×300”
[4] “512×384”
[5] “640×400”
[6] “640×480”
[7] “720×480”
[8] “800×480”
[9] “854×480”
[10] “720×576”
[11] “800×600”
[12] “1024×768”
[13]< “1280×720”
Please enter a number between 1 and 13:
[13] 12
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-164.11.1.el5 x86_64 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64
Build Date: 31 March 2010
Build ID: xorg-x11-server 1.1.1-48.76.el5
Before reporting problems, checkhttp://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: “/tmp/vmware-config0/XF86ConfigLog.6468”, Time: Fri Feb 11 22:48:37 2011
(++) Using config file: “/tmp/vmware-config0/XF86Config.6468”
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Multiple symbols for level 1/group 1 on key <I5F>
> Using XF86Sleep, ignoring XF86Standby
> Warning: Symbol map for key <I5F> redefined
> Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
X is running fine with the new config file.
FreeFontPath: FPE “unix/:7100” refcount is 2, should be 1; fixing.
Creating a new initrd boot image for the kernel.
Checking acpi hot plug [确定]
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [确定]
Paravirtual SCSI module: [确定]
Guest filesystem driver: [确定]
Mounting HGFS shares: [失败]
Guest memory manager: [确定]
VM communication interface: [确定]
VM communication interface socket family: [确定]
Blocking file system: [确定]
File system sync driver: [确定]
Guest operating system daemon: [确定]
Virtual Printing daemon: [确定]
The configuration of VMware Tools 8.1.3 build-203739 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
“/usr/bin/vmtools/vmware-toolbox” during an X server session.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmtools/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.
Enjoy,
–the VMware team