1. The configuration of the computer did not meet the minimum requirements of the Middle Ages engineers, below to see the lowest configuration of medieval engineers.
Minimum configuration:
System: Windows Vista SP2 32-bit (with KB971512 update)Processor: Intel Core 2 Quad Q6600 @ 2.4 GHz, AMD Athlon II X4 620 @ 2.6 GHzMemory: 3 GB RAMGraphics card: AMD Radeon HD 5830/nvidia GeForce GTS 450 at least 1024 MB of video memory aboveDirectX version: Versi
support
Reflection + refraction water can be run on graphics cards that support Pixel Shader 2.0 (GeForce FX and later, Radeon 9500 and later, Intel 9xx). Use reflective water on the old graphics card.
The reflected water can be run on graphics cards that support pixel shader 1.4 (GeForce FX and later, Radeon 8500 and later, Intel 9xx). Use simple water on the old graphics card.
Simple wat
forget the imac or an all-in-one machine. The low version 5K Retina imac, priced at $2499 (Mainland China for 17988 Yuan), is equipped with a 3.5GHz Core i5 four processor, 8GB memory, 1TB Fusion drive hard disk and an AMD Radeon R9 m290x video card with a 2GB memory. In the Geekbench and Xbench test, the 5K Retina imac has a slight increase in performance over the older 27-inch imac with the 3.2GHz Core i5 four processor and the Nvidia Geforve GT 75
15.4 inch Retina Display
Screen resolution
2880*1800 Retina level
Screen proportions
16:10
GPU Model
2.2GHz four core Intel Core i7 processor, Turbo Boost up to 3.4GHz, with 6MB shared level three cache/High version processor frequency upgrade to 2.5GHZ, other specifications consistent
Memory capacity
16GB 1600MHz Memory
J Integrated video card model
Low-version Intel Iris Pro Graphics graphics processor
: Enhanced version, the model from the establishment of ATI all through, has a very important representative.
GT: Down frequency version (unlike Nvidia appellation), in the same series will be reduced frequency.
SE: Memory bit width reduction version, the general positioning of high-end, will be the same series of video memory bit width reduction.
LE: Reduced architecture, core internal, video memory bit width is reduced.
Radeon X1650GT (RV560):
divided into four items, which are PID (process ID), TTY (terminal name), time (Process execution times), command (the process commands line input).You can use the U option to view the process owner and a little more detail, as follows:$ ps UUSER PID%cpu%MEM USZ RSS TTY STAT START time COMMANDTest 5800 0.0 0.4 1892 1040 Ttyp0 S Nov27 0:00-bashTest 5836 0.0 0.3 2528 856 ttyp0 R Nov27 0:00 PS uThere is a horizontal line in front of the bash process, wh
desktop number is "3"----port number is 5903......Based onJavaThe VNC client program Web service TCP port starts with 5800 and is also related to the desktop number, corresponding to the followingThe desktop number is "1"----port number is 5801The desktop number is "2"----port number is 5802The desktop number is "3"----port number is 5803......Based on the above introduction, if Linux turned on the firewall function, you need to manually open the app
Program Exercise: Shopping Cart ProgramRequirements:1. After starting the program, let the user enter the payroll and then print the list of items2. Allow users to purchase items based on their product number3. After the user selects the product, checks whether the balance is enough, enough on the direct debit, enough to remind4. Can exit at any time, when you exit, print purchased goods and balances#商品清单product_list=[("IPhone", 5800),("Mac Pro", 1200
/text/ Ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/center "Style=" Border:none; "/>6. Firewall ConfigurationAlthough the above process has been completed and the Vncserver service is started, it is still not connected, the possible reason is that the request was blocked by the firewall. So here's how to configure the firewall.When the VNC service is running, use NETSTAT-ANTPL to see that there are three ports in the listener.5901 5801 6001By defa
"----port number is 5902The desktop number is "3"----port number is 5903......The Java-based VNC client Web service TCP port starts at 5800 and is related to the desktop number, which corresponds to the followingThe desktop number is "1"----port number is 5801The desktop number is "2"----port number is 5802The desktop number is "3"----port number is 5803......During the execution of the following command, because it is the first time, the password nee
, the displayed items are divided into four items , which are PID (process ID),TTY (terminal name ),time (Process execution times ),command (the process-to-line input ).You can use the u option to view the process owner and a little more detail , as follows:$ ps UUSER PID%cpu%MEM USZ RSS TTY STAT START time COMMANDTest 5800 0.0 0.4 1892 1040 Ttyp0 S Nov27 0:00-bashTest 5836 0.0 0.3 2528 856 ttyp0 R Nov27 0:00 PS uthere is a horizontal line in front
Bash5835 TTYP0 00:00:00 PSAs you can see , the displayed items are divided into four items , which are PID (process ID),TTY (terminal name ),time (Process execution times ),command (the process-to-line input ).You can use the u option to view the process owner and a little more detail , as follows:$ ps UUSER PID%cpu%MEM USZ RSS TTY STAT START time COMMANDTest 5800 0.0 0.4 1892 1040 Ttyp0 S Nov27 0:00-bashTest 5836 0.0 0.3 2528 856 ttyp0 R Nov27 0:00
PHP interesting phenomenon, should be a lot of programming languages will have this phenomenon. This is because the computer itself to identify the problem of floating-point numbers ... Below through the code to show you the following:
$f = 0.58;
Var_dump (Intval ($f * 100 *100)); Results 5799
var_dump ((float) ($f * 100 *100));//Results 5800
echo (int) (0.1+0.7) *10);//Results 7
Echo (float) (0.1+0.7 ) *10); Results 8
Again note that i
want to configure the user named user001 VNC authentication password, you need to switch to the user001 user, and then run the VNCPASSWD command)(3) Re-establish user002, user003 ...Step 3:Before you configure VNC, you must understand the operating mechanism of VNCVNC under Linux can start multiple vncserver at the same time, each vncserver is distinguished by the display number, and each Vncserver service listens on 3 ports, respectively:HTTP protocol default port
, which is two positive integers, is separated by a space:Nm(where n (From line 2nd to line m+1, line J gives basic data for items numbered j-1, with 2 non-negative integers per lineV P(where v indicates the price of the item (v≤10000), p indicates the importance of the item ()"Output File"The output has only a positive integer, which is the maximum value ("Input Sample"1000 5800 2400 5300 5400 3200 2"Output Example"3900public class Dpexample {int [][
1 #Author:johnson2 3 #After you start the program, let the user enter the payroll, and then print the list of business ports4 #allows users to buy items based on their product number, put them into a shopping cart, and use wages minus the price of the commodity. 5 #Press the Q key to exit the program and output the selected goods and payroll balances. 6sp_list=[7('Apple Phone', 5800),8('Notebooks', 6000),9('Coffee', 60),Ten('Book', 80), One('Tea', 10)
The Shopping Cart Program sub-module programming, shopping cart 1 wrote the login section, the following rewrite the shopping section:#!/usr/bin/env pythonProduct_list = [[' Iphone7 ', 5800],[' Coffee ', 30],[' Tea ', 10],[' Python book ', 99],[' Bike ', 199],[' ViVo X9 ', 2499]]Shopping_cart = {}Username = input ("Username:")Print ("****************************")Password = input ("Password:")Print ("****************************")i = 1While I If usern
. When setting up Xhost related programs, System prompts
Xhost access control disabled, clients can connect to any host
The first step: using Root to log Linux, start VNC service;Step two: Based on the VNC port, set export Display=localhost:1 (1 means VNC started on the first TTY)Step Three: Execute Xhost + and prompt "Access control disabled, clients can connect to any host" is correct.
Switch to an Oracle user to start Setup now
Start
If you use a graphical interface connection between Linux
-nohttpd-localhost"vncserverargs[2]= "-geometry 1024x768-nolisten tcp-nohttpd-localhost"
#注意: The above is the resolution of the root and Ceboy two users respectively, and the note is distinguished by the port number.
In addition, you can temporarily modify the resolution and color depth through the command line, this way will be lost after restarting, here for the time being, the command is as follows:
[root@localhost: ~] #vncserver-geometry 800x600 #设置vncserver的分辨率
[root@localhost: ~] #vncserv
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.