Saturday, November 29, 2008

How Long Should A Brazilian Wax Last

64-bit technology - Why do I need to?

What has become the norm for mainframes and servers, has now on home computers collection. The switch to the 64-bit technology is for manufacturers is the logical next step in the inexorable technological progress. With Windows Vista and the use of new processors, the conditions permit, to push this technology into the market. Large electronics markets, these products (often only seen in the small print) is already available.
However, those who acquire such a PC, you may only have a rough idea of what it means 64 bit actually. "With the 64-bit technology, the information highway twice as wide," says the chip maker AMD from Munich. Result, the traffic should run faster 64-bit systems could process as opposed to 32-bit machines twice as much data in the same time. Whether a
can transport truck (program) will rise to more goods (data) at the same time depends on whether he, the width of the road (64 instead of 32 bits) can also benefit from it. In the real world also needs a small car with a light pack on the highway, meaning they will not be used in full, and the driver is not faster. In such cases, the 64-bit technology of benefit.
Another advantage over the 32-bit technology, however, lies in the use of larger storage capacity, which benefits applications with high memory requirements, such as database systems, video processing, 3D games etc.. To date, the amount of memory to a maximum of 4 gigabytes technically limited.
64 bit offers only theoretically double the performance of 32 bits. This would require all programs are fully optimized to 64 bits. This, however, in practice, unfortunately not the case. It will perform a series of problems, such as appropriate 64-bit drivers are missing. This may happen that do not work some hardware and peripherals such as printers, as well as older programs on your new system. Even low-level software such as antivirus, firewall or Defrag tool must be a 64-bit version available.
Conclusion:
Who wants to buy a new computer, where everything works more or less immediately, which should at this stage in any case, the 64-bit version . Choose What little gain in performance is not worth the work to be afterwards invested in troubleshooting needs. Beginners should choose just the "normal" 32-bit version.

Monday, November 24, 2008

Why Telephone Have Ground Wire?

PowerLAN - The network of the socket

PowerLAN describes a local network for data transmission over the power grid.
The connection between the power and PC acts an adapter. It requires at least two: one for the connection of modem or router to the wall outlet and the connection between the computer and power supply. Many manufacturers offer starter kits that include only two of the digital connector.



It would be difficult and expensive for a real alternative to both wired and wireless networks to (WLAN) when the computer is far from the phone line or is even on another floor and thus a cable connection. Recommended
PowerLAN is when to make a relatively quick and secure home networking needs in locations where Wi-Fi because of massive ceilings and thick walls do not work reliably, or play speculation about a health risk from electromagnetic fields play a role.
is now possible to achieve it with some products, transmission speeds of up to 200 Mbps. Also promises devolo , the leader Such an adapter, a range up to max. 200 meters.
forms the barrier of the network of electric meters. This can not in any of the neighboring houses of the data transfer can be intercepted. However, should a neighbor use the same power circuit, it is just like the ability to enable wireless encryption. Thus, in this case, the personal information is protected.

The main advantage is the quick and easy installation without artisans, no drilling, no mess.

Further details about the technology and installation, see eg here

Friday, November 21, 2008

English Soul Silver Rom

Tomcat, Glassfish on port 80 under

Unix operating systems should the ports below 1024 are not used by normal users, but only by the root user. For security reasons, you want as few processes as possible as root run as a security hole that automatically means full access to the system. Apache web server, such help by the fact that a process with root privileges on the port 80 is listening, but the requests are processed by ordinary user processes. The functionality of the user change of a Java process is not possible. One can not trick via JNI, as used Java threads, and always include a common user. For example, 8080 - - run it and set up a suitable redirection

A possible solution to the Web server on a high port. This can be done via mod_jk or mod_proxy in Apache, or a redirection iptables:

iptables-t nat-A PREROUTING-i eth0-p tcp \\
- dport 80-j REDIRECT - to-ports 8080


Both approaches have the disadvantage that the Tomcat or GlassFish thinks he is Port addressed 8080th This can cause problems when complete URLs are displayed, because then they have 8080 in it. mod_jk and Tomcat know as the appropriate remedial options ("proxy-port") that are used to a different port indicated.

There is also a better way with any Java program can listen on privileged ports and still running as normal user: authbind and privbind. The decor is very simple, as an example, the Freigbe port 80 for the user GlassFish: authbind is SUID root and therefore can be run directly by the user. In an attempt to listen on a low port, it checks whether the user has write access to a particular file. In our example, the file would be

/ etc/autbind/byport/80

To create this need, the following commands are entered as root:

touch / etc/authbind/byport/80
chmod 500 / etc/authbind/byport/80
chown GlassFish / etc/authbind/byport/80

privbind For such a configuration is not necessary. Since it is not SUID root, it must It can be started by root directly. Moreover, it is not possible to restrict access to a port - there are always all possible. Unfortunately, both programs

have a major limitation: they do not work with IPv6, but only with IPv4. Java by default tries to use IPv6, also, what a mistake with the result. The Java process has therefore the option
-Djava.net.preferIPv4Stack = true 
be given. When Tomcat writes this into the variable in the file CATALINA_OPTS setenv.sh setenv.bat /, you may still have to create. When this option is Glassfish in the corresponding domain.xml in the section with the JVM options:

\u0026lt;jvm-options>-Djava.net.preferIPv4Stack = true \u0026lt;/ jvm-options>

example, started the Glassfish when using authbind GlassFish as a user authbind with

- deep asadmin start-domain domain1

The - deep is necessary because the Java command is a script the actual command calls the first and lost the rights to this port, otherwise,. Will you use privbind, the command is as follows:

privbind sudo-u glassfish $ (asadmin which) start-domain domain1

you Run the command as root, you can leave the sudo away.

this issue in both cases is this:

Starting Domain domain1, please wait.

Log redirected to /opt/glassfish-v2ur2/domains/domain1/logs/server.log.

Redirecting output to /opt/glassfish-v2ur2/domains/domain1/logs/server.log

Domain domain1 is ready to receive client requests. Additional services are being started in background.

Domain [domain1] is running [Sun Java System Application Server 9.1_02 (build b04-fcs)] with its configuration and logs at: [/opt/glassfish-v2ur2/domains].

Admin Console is available at [http://localhost:4848].

Use the same port [4848] for "asadmin" commands.

User web applications are available at these URLs:
[http://localhost:80 https://localhost:443 ].

Following web-contexts are available:
[/web1 /__wstx-services ].

Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://pckurt:8686/jmxrmi] for domain management purposes.

Domain listens on at least following ports for connections:
[80 443 4848 3700 3820 3920 8686 ].

Domain does not support application server clusters and other stand-alone instances.

was on this server and the SSL port changed from 8181 to 443, this is necessary when using authbind the file here.