Posted on : 04-10-2011 | By : admin | In : Web Server
1
Archived; click post to view.
Excerpt: Question : How do i run apache on multiple ports? Similar to exim and other services, apache do have capability to run on multiple ports. All you have to do it to edit the httpd.conf file and added a new Listen line which the specific port no which you like to run. # vi /etc/httpd/conf/httpd.conf Add below the Listen 80 line (for example if you want to run on port 8080) Listen 8080 Restart the service httpd service. Question : Is it possible to run a single Vhost on different port (example : 8080) and others on the normal port? Yes, it is possible but is vhost….
Posted on : 03-10-2011 | By : admin | In : Tips
1
Archived; click post to view.
Excerpt: The largest problem with scalability within a typical environment is the speed with which you can access information. For fre-quently accessed information, using MySQL can be slow because each access of information requires execution of the SQL query and recovery of the information from the database. This also means that queries on tables that are locked or blocking may delay your query and reduce the speed of recovery of information. Memcached is a simple, yet highly scalable key-based cache that stores data and objects wherever dedicated or spare RAM is available for very quick access by applications. To use, you run….
Posted on : 26-09-2011 | By : admin | In : Tips
3
Sometimes, when you open a file under Linux that was originaly created in Windows OS, special characters like ^M appear here and there. You can try the following solution on your vi editor to clear up those junk characters. Open the file in your vi editor (for example file name : file-name.txt)
Hit “Esc” and type
Now save and exit from the file using
Try open that file once again and look for those junk characters, it should be gone now. You can also use the dos2unix tool to fix it for large sized files.