Jump to content
The Uniform Server Community

Ric

Developer
  • Posts

    1,516
  • Joined

  • Last visited

Everything posted by Ric

  1. Hi egrogg1 Thanks for the feedback; it will help other users with a similar issue. In a similar vein Avast, Zone alarm, both free have insisted I update this weekend! Always a recipe for disaster! Well with nothing better do! I upgraded. I always crate a restore point, because these can kill you stone dead. Well! What a pleasant experience, they both done their stuff. Screwed absolutely nothing up. If anything I noticed an increase in speed. Would I recommend them! Hey did you not read the last sentence. An excellent duo, I could make the analogy but wont All the best Ric
  2. Uniform Server is inherently portable. If you move folder UniServer and all its content to another location running servers for the first time at this new location all absolute paths are rewritten. There are two constraints; path up to folder UniServer shall not contain spaces any virtual host folder shall be within folder Uniform Server. Some third party applications hard code absolute paths in their configuration files preventing portability. You will find solutions for some popular applications on the Wiki. Although I have not seen it some applications may hard code absolute paths in the MySQL server. (I think this may be confused with absolute url paths) The paths I am referring to are physical (absolute disk paths). If Apache fails to start, run Apache syntax check. If it’s a path issue it will be obvious from the error report. If its an application issue check Apache’s log file. All the best Ric
  3. Uniform Server MongoDB (beta) plugin. Uniform Server 6-Carbo specific. Installs: MongoDB server - 1.4.4 PhpMoAdmin - v.1.0.7 PHP driver - php_mongo.dll A Windows interface is provided allowing you to start and stop both Apache and MongoDB servers. From this interface you can start either the mongo-client or phpMoAdmin these allow you to administer mongo-databases. Download V6_MONGODB_beta_1.exe 1. Save to folder UniServer. (Uniform Server 6-Carbo.) 2. To extract files, double click on file V6_MONGODB_beta_1.exe 3. Start Windows interface by double clicking on file Start_MongoDB.exe located in folder UniServer. Note: Above initiated by this post. Regards, The Uniform Server Development Team
  4. Hi Bob You had the old heart racing there for a moment. I assume Icons are now indicting correct state and servers can be started and stopped. Apart from the new menu you will find components have moved over to VC9 binaries targeting Win7-64 issues. Note: New menu and servers work perfectly on XP-Home. Carbo really does require a thorough workout on other Windows OS’s “hope you are blessed with abundant patience” Never have the time to think about it, currently working on 5.6.8 and 5.7.0 Carbo is stable on XP-Home hence working on a MongoDB plugin (beta to be published this weekend) started work on a production version. “That leaves a very small group that would even want to play with a beta” I fully understand, shame that its degrees of confidence. Best tip I have for novices performing a Uniform Server beta, do not install as a service always run as a standard program. If you break it, turn your PC off and delete the UniServer folder. Beta will have been removed. Anyway I am off to put finishing touches to that beta MongoDB plugin (blisteringly fast bit of kit) just need to write a read-me and release notes and produce an md5 check sum and!!. My aim this weekend is to start work on a production version the above beta is a click and go solution with no security. That was the intension allowing users to explore the potential of MongoDB with no restrictions. All the best Ric
  5. Win Home Server never used it hence cannot offer any support. “do you know the exact file(s) I can add to run as a service in case these do not get added like the instructions indicate?” I am not sure what two files you are referring or instructions? Provide a link or text snippet. If server status reports no problems right click UniTray and install as a service. Which version of Nano are you using, latest version (5.6.7) incorporates bug fixes and security updates. All the best Ric
  6. Hi Znote An interesting and informative post it’s the first feedback on 6.0.0-Carbo. Rewriting a tutorial implies you have given Carbo a real workout and bashing. All the best Ric
  7. Apollo was an earlier series of Uniform Server. Nano is the current stable release. To put your server on-line check out this page: http://wiki.uniformserver.com/index.php/5....Install_and_Run Also read this post: http://forum.uniformserver.com/index.php?showtopic=1972 All the best Ric
  8. After six days not a single response. Can only assume it’s a masterpiece and well polished Then again it really is bad and should be assigned to the bin. I think it hovers between the two. Being an open beta everyone has an opportunity to bash it into shape. Feel free to knock it, preferably provide constructive ideas to move it forward. All the best Ric
  9. I can’t see anything wrong with your code. I assume the error message is similar to this: Can't connect to MySQL server on 'localhost' (10061) One cause of the above error your firewall may be blocking connection on port 3306. Disconnect your PC from the Internets and disable your firewall. Restart servers and see if you can connect to MySQL server. If that works you need to add an exception in your firewall to allow MySQL connection. Before connecting to Internet remember to restart your firewall General notes: I assume you are using an older version of Uniform Server because PHP short tags ( ?>) are working. Your code will not run on newer version that run PHP 5.3.* always use full tags (<?php ?>) On Windows XP you can use either "127.0.0.1" or locahost for dbhost All the best Ric
  10. There are no current plans to include MongoDB in with Uniform Server. Being unfamiliar with MongoDB, have just taken a quick look to see how to install it. I discovered it is command line driven with ability to specify a configuration file can be installed as a standard program or service (some reported issues with service). Port used is definable hence can be run along side MySQL. It has a PECL extension for PHP 5.3 (not sure if this is generic and suitable for 5.3.2 and new 5.3.3) Above initial look suggests it would be a potential candidate for a plugin. I could not resist the temptation to have a play. PECL extension 5.3 is generic (Tested on 5.3.3RC1 VC9). Located Mongo server in usr folder along with a config file. Had no issues with the server other than my test code. If you could supply some simple test code it would be most appreciated. Also I would like to know how you see the Mongo server being controlled from a user point of view. All the best Ric
  11. Glad you have the server up and running. Interestingly by moving your server to a different port you have preserved your original problem. This makes it an ideal candidate for running 6.0.0-Carbo beta. If you are willing download the beta and run server using Start_UniTray_2.exe Initialisation checks for ports in use. If a port in use is detected the offending application is named in a pop-up. I will be interested in your findings All the best Ric
  12. “Why do you need a Hosts file? If my httpd.conf file for Apache reads for localhost, doesn't it circle to itself.” Your browser needs to resolve a name and its first port of call is your hosts file. Hence if you have an IP/domain name pair in this file name is resolved to that IP If no match found browsers puts out a DNS request on the internet. “Also, could I take my settings from my production Apache conf file and add them to this one for UniServer?” Yes, save config file (required when you break the server) copy over parts of the config file you wish to use. Ensure you use absolute paths. Tip! Make modifications in small chunks then run Apache Syntax check. “Why? Because I use "ServerAlias" in my file now with several ways I want it to look for...with www and without www, ect. I also have different doc roots for each domain.” That will be OK remember it also requires www.fred.com in the host file for your browser to resolve. All the best Ric
  13. If host file contains that line and servers are running it could be a DNS resolver issue Try the following: Open a command window. Click Start and select Run. Type cmd and click OK. In command window type ipconfig /flushdns and press enter key. Should see a message “Successfully flushed the DNS” Start your browser, does that resolve the issue? All the best Ric
  14. A cross-site request forgery vulnerability Sounds scary! “Are these security threats real?” Yes and no! “Have they been fixed in the latest version?” Nothing to fix! Note: First nag screen of 6.0.0-Carbo highlights this potential risk. Yes and No! Is a strange answer; let me explain: Putting your servers on-line you must change the MySQL password and enable password protection for Apanel. If you don’t password protest Apanel you expose your server to this specific attack as mentioned in links you provided. Although the above protects your server’s Apanel scripts it does not protect against third party scripts. These may have XSS (Cross-Site Scripting) vulnerabilities For a production server if you are really paranoid, don’t expose Apanel just rename or delete folder UniServer\home\admin. Again does not resolve any third party XSS issues? All the best Ric
  15. I have just received a PM regarding 5.6-Series and concern for its demise! Please note this remains the prime stable branch. Main components are being tracked such as PHP5.3.3Rc1 etc When every component gels, there will be a new release. 6.0.0-Carbo is a public beta. In all honesty it is a proposal. We cannot test under all conditions and environments. Uniform Server adds nothing to the registry hence if it all goes pear shape, a PC restart should remove any issues. I say should because if you are concerned do not beta test as a service. Ignore that and test as a standard program. Hey! Less of this negative stuff, just give, it a hammering and see what fails. It can’t be any worst than English football! Team players always win. All the best Ric
  16. Whole purpose of named based Vhosts is to support any number of domains on a single fixed IP address Take a look at the Wiki; following links will get you started: http://wiki.uniformserver.com/index.php/Vi...l_Hosting:_Home http://wiki.uniformserver.com/index.php/Vi...ing:_Name_based “Hosts” file allows you to test locally with real domain names: http://wiki.uniformserver.com/index.php/Ne...uick_hosts_file All the best Ric
  17. From Apanel, create two virtual hosts for example: fred1.com C:/…./UniServer/www/wp1 fred2.com C:/…./UniServer/www/wp2 Replace fred1.com and fred2.com with your real domain names. Just tack wp1 and wp2 (or any unique folder name) to the default path displayed in Path to DocumentRoot: You will see two new folders wp1 and wp2 have been created in folder *\UniServer\www From folder UniServer\www copy file .htaccess to each of the above folders. Restart servers, allows Apache to pick-up new vhosts. These folders: //server/web1/htdocs and //server/web2/htdocs Are equivalent to these: *\UniServer\www\wp1 and *\UniServer\www\wp2 wp1 and wp2 are your new server root folders (think of them as being either www or htdocs) for domains fred1.com and fred2.com respectively. Prior to installation create two new databases using phpMyAdmin named wordpress1 and wordpress2. During WordPress installation use the appropriate database name. Install a copy of WordPress too each of these folders wp1 and wp2. Remember to use appropriate domain name. All the best Ric
  18. Carbo (Latin: coal, charcoal) carbon an element with diverse properties! Matches Uniform Server perfectly. This proposed incarnation of Uniform Server is also diverse and flexible. Translators have an opportunity to chew their way though the following files: unicon\tray_menu_2\UniTray.ini UniServer\unicon\tray_menu_2\lang\lang.php Please don’t waste your time performing a full translation. Take small snippets to see if and where it breaks remember it’s a beta. Similarly scriptors have the potential to add to UniTray's functionality in a modular format. Text displayed to a user (buttons, labels, pop-up message boxes etc.) must be added to the language file. There are no restrictions placed on text width this is because after language translation string widths are bound to be different. Variable width text requires an application implement auto-resizing. This is the only restriction imposed on your windows layout. Beta testers it will be interesting to see if anyone reaches the first nag screen! Out of box failure test. Well it’s an open beta. There will be issues, hence feel free to post. If possible add any proposed solutions. Download: UniServer 6.0.0-Carbo[ Enjoy Regards, The Uniform Server Development Team
  19. This post is now closed! Taken to a logical conclusion! See new announcement: UniServer 6.0.0-Carbo All the best Ric
  20. A quick thing to try is changing this: host: localhost To: host: 127.0.0.1 All the best Ric
  21. Ric

    Awstats

    Version I used can be obtained from: http://sourceforge.net/projects/miniserver....0_AWStats_1.0/ It installs a mini-version of Perl. Just wondering can you get the simple “Hello World” page to display http://localhost/cgi-bin/test.pl All the best Ric
  22. That 11M monster was a reference to the menu and not including other components like Apache and MySQL server. Well! If you have run the menu you will have noticed a server ghosting effect. Although it took two evenings1 Solution is very simple. While looking at an alternative root I was surprised how much of Uniforms Server’s potential is hidden. Interestingly most of that can be blamed on my insistence to push and move things forward! In all honesty the stumbling block has been UniTray, ditch and replace with what! Well being a code hacker replace it with a PHP version that anyone can change. Now that imposes an inserting dilemma. Will this new version be a logical progression? Or a fork of Uniforms Server’s; mainstream architecture? As a user it’s open to you. All the best Ric
  23. Ric

    Awstats

    I have just run this on 5.6.7 works fine Instructions can be found in the read_me.txt file: 1] Run the servers once check they are working 2] Copy file V5.0_AWStats_1.0.exe to folder UniServer Double click on file to run the self-extracting archive 3] Update Shebang: Left mouse click on UniTray, mouse over "Advanced" and select "Perl Shebang Update cgi-bin" Note: Step three is required for first time installation. If you move servers to a different location shebang is automatically updated. Note: I deleted double post. All the best Ric
  24. OK run server status Check the first line; is an IP address displayed. All the best Ric :angry:
  25. The two issues are unrelated. MySQL localhost replace with "127.0.0.1" is the preferred solution for W7. Since CURL works with an IP address your server is working correctly. I agree with you it looks like a W7 DNS resolution issue. I have no idea how to resolve it perhaps this link may be of use: http://social.technet.microsoft.com/Forums...98-80cf211878d7 All the best Ric :angry:
×
×
  • Create New...