Does anyone know of a provider that has an Ubuntu Desktop VPS? I've got accounts with fsckvps and xensmart but they only have centos ones - I'll install gnome on of them if I really have to but i'd prefer todo as little leg work as possible as it's for personal use.
When we chose Symfony to implement [url], PHP 5 was needed but we only had PHP 4 installed in our Ubuntu hosting servers. We couldn¡¯t just migrate everyone to PHP 5 since some of client¡¯s applications were incompatible with PHP 5. Some tutorials were found online explaining how to run PHP 4 and PHP 5 simultaneously such as [url] and [url]but they all used CGI. As you probably know, CGI is not scalable and we needed to scale in PHP4 and PHP5 since we needed to server millions of hits in both configurations. The following are additional the requirements we had:
1. Run Apache
2. Use mod_php for both PHP versions.
3. Run eAccelerator with both PHP versions.
4. Use as many Ubuntu packages as possible to ease maintenance issues and easily deploy on multiple servers.
5. Use Ubuntu 6.06.1 LTS
The solution we came up with was to run Apache 2 with PHP 5 and run Apache 1 with PHP 4 on separate IPs. Ubuntu comes already with these packages. The only package we had to compile was eAccelerator. The following lists the steps taken to get this setup:
Apache 2 with PHP 5
* apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-curl php5-gd php5-mysql php5-dev make php5-mcrypt php5-imap * vi /etc/php5/cli/php.ini and uncomment extension=mysql.so * vi /etc/apache2/ports.conf and put Listen Your.IP.Goes.Here:80 * a2enmod expires * vi /etc/apache2/conf.d/hosting <VirtualHost *> DocumentRoot /home/httpd/mainpage ServerName mainpage.com ServerAlias www.mainpage.com Options Includes FollowSymlinks AddType application/x-httpd-php .php DirectoryIndex index.php index.html index.htm </VirtualHost># Cache images and javascripts ExpiresActive on ExpiresByType image/gif ¡°access plus 1 week¡± ExpiresByType image/jpeg ¡°access plus 1 week¡± ExpiresByType image/png ¡°access plus 1 week¡± ExpiresByType image/x-icon ¡°access plus 4 week¡± ExpiresByType application/x-javascript ¡°access plus 4 week¡± ExpiresByType application/x-shockwave-flash ¡°access plus 4 week¡± * cd /usr/local/src * wget http://bart.eaccelerator.net/source/...-0.9.5.tar.bz2 * tar xjvf eaccelerator-0.9.5.tar.bz2 * cd eaccelerator-0.9.5/ * phpize5 * ./configure * make * make install * mkdir /var/tmp/{eaccelerator4,eaccelerator5} * chown www-data /var/tmp/eaccelerator* * chmod 700 /var/tmp/eaccelerator* * vi /etc/php5/apache2/php.ini and add the following: zend_extension=¡±/usr/lib/php5/20051025/eaccelerator.so¡± eaccelerator.shm_size=¡±0¡å eaccelerator.cache_dir=¡±/var/tmp/eaccelerator5¡å eaccelerator.enable=¡±1¡å eaccelerator.optimizer=¡±1¡å eaccelerator.check_mtime=¡±1¡å eaccelerator.debug=¡±0¡å eaccelerator.filter=¡±" eaccelerator.shm_max=¡±0¡å eaccelerator.shm_ttl=¡±0¡å eaccelerator.shm_prune_period=¡±0¡å eaccelerator.shm_only=¡±0¡å eaccelerator.compress=¡±1¡å eaccelerator.compress_level=¡±9¡å
Apache 1 with PHP 4
* apt-get install libapache-mod-php4 php4-mysql php4-gd apache-ssl apache-common libzzip-0-12 php4-common php4-dev apache * dpkg-reconfigure apache and uncheck mod_userdir and check mod_php4 and cancel on hostname * vi /etc/apache/httpd.conf and make sure to add this Listen Your.SECONDIP.Goes.Here:80 NameVirtualHost *# Cache images and javascripts ExpiresActive on ExpiresByType image/gif ¡°access plus 1 week¡± ExpiresByType image/jpeg ¡°access plus 1 week¡± ExpiresByType image/png ¡°access plus 1 week¡± ExpiresByType image/x-icon ¡°access plus 4 week¡± ExpiresByType application/x-javascript ¡°access plus 4 week¡± ExpiresByType application/x-shockwave-flash ¡°access plus 4 week¡±Remove the following <IfModule mod_alias.c> Alias /icons/ /usr/share/apache/icons/
<Directory /usr/share/apache/icons> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory>
Alias /images/ /usr/share/images/
<Directory /usr/share/images> Options MultiViews AllowOverride None Order allow,deny Allow from all </Directory> </IfModule> <IfModule mod_alias.c> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory /usr/lib/cgi-bin/> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> </IfModule>
Change <Directory /> Options SymLinksIfOwnerMatch AllowOverride All </Directory> ServerSignature Off ServerTokens Prod * cd /usr/local/src * rm -rf eaccelerator-0.9.5 * tar xjvf eaccelerator-0.9.5.tar.bz2 * cd eaccelerator-0.9.5/ * phpize4 * ./configure ¨Cwith-php-config=/usr/bin/php-config4 * make * make install * vi /etc/php4/apache/php.ini and add the following: zend_extension=¡±/usr/lib/php4/20050606/eaccelerator.so¡± eaccelerator.shm_size=¡±0¡å eaccelerator.cache_dir=¡±/var/tmp/eaccelerator4¡å eaccelerator.enable=¡±1¡å eaccelerator.optimizer=¡±1¡å eaccelerator.check_mtime=¡±1¡å eaccelerator.debug=¡±0¡å eaccelerator.filter=¡±" eaccelerator.shm_max=¡±0¡å eaccelerator.shm_ttl=¡±0¡å eaccelerator.shm_prune_period=¡±0¡å eaccelerator.shm_only=¡±0¡å eaccelerator.compress=¡±1¡å eaccelerator.compress_level=¡±9¡å
I'm interested in having an unmanaged VPS with Ubuntu 7.1 or 8.04 installed (or available to Rebuild under the HyperVM) from the state of Missouri (should have at least some IPs already available from the region).
Are there any issues with Running Cpanel w/ WHM? long story short I heard it had issues with making domains and users because root isn't a user..? I like ubuntu but never ran cpanel on it. I want to use Ubuntu on my dedi. I'm not trying to start a ubuntu vs centos.
Which operative system you mostly use on your server?Right now i have only centos installations,but it seems ubuntu have larger file repository with their apt system compared to yum.
I am all too familiar with php on my win box but now am working on Linux.
the extension_dir is commented out (??) however CURL does work but there is nothing about CURL in php.ini. I cant find any php.so files.
Also the php.ini file lives in /etc/php5/apache2
Does this look like a standard install? Where do the .so files live?
Ultimatly I want to install Turck MMCache which requires some extensions and when ever I try to do phpize there is the error message Cannot find config.m4 (google is not helping solve the problem)
apt-get install m4 says I have the latest version.
phpize is a shortcut in usr/bin that points to etc/alternatives/phpize which in turn is a shortcut to usr/bin/phpize5
I am trying to create a database using the following method:./mysqladmin create db But I get the following error:./mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! I am new to configuring mysql. I have installed it etc but not sure how to start it. I tried the following to start the server:moe@moe-desktop:/usr/local/mysql$ sudo bin/mysqld_safe --user=mysql
This is a little bit Offtopic here but maybe it's okay to ask my question.
For my GUI software development i need a virtual server solution. It must run WinXP, WinVista, LinuxI386, LinuxAMD64, FreeBSDI386, FreeBSDAMD64 and Solaris.
I'm currently running VMWare with all this systems. But their KVM tools are very instable - especially when waking up from hibernate etc. They eat the key/mouse focus and the only way to get any reaction is often a hard shutdown.
How good are the other Virtualization Kits? I heared that FreeBSD does not work on VirtualBox? I'm especially interested in Xen but i'm not sure if this is good for Desktop use. Seems that it is promoted almost exclusively as a server solution.
I am a CS major in college and new to these forums. I wanted to start by saying Hi and asking if anyone has used Spiceworks (spiceworks dot com) and had any complaints/praises? Also, are there any paid alternatives to the product and how do they match up against it.
I've just ordered a dedicated server with Ubuntu server, but they've come back to me to say that they've had trouble installing Ubuntu server on these particular servers.
As an alternative, they're offering to install Debian. My concern is that I come from a windows background and have spent the last month reading and playing with Ubuntu Server in vmware. I'll be running a small handful of sites on the server and will rely on the apt-get and package installer in webmin to get things set up and for administration. I'll dabble in the shell a little, but only when needed.
Should I go with a different host that can offer Ubuntu, or will I be okay with Debian?
I restarted again in live boot mode of course and now when I go to computer I see the 104.8GB volume drive. (wasn't there before), this is the Windows partition
When I try to open it I get an error
unable to mount the selected volume error: device /dev/sda2 is not removable error: could not execute pmount
So I ran sudo mount /dev/sda2 /media/windows -t ntfs -r -o uid=999,gid=999,umask=444 and now I get "you do not have the permissions necessary to view the contents of 'windows'
Id like to know if I could use a remote desktop ( remotely ) as I have about 350msec latency to the server where I am planning to install it. I am planning to use remotely anywhere server .
The directions I recieved were "Please use remote desktop to connect to your server."
So I entered the ip address into the remote desktop connection window and it doesn't connect. Where do I go from here? I searched and can't find any relevant info.
I signed up for a Win2k3 VPS account with 3dgwebhosting. I'm a newbie to Plesk and win2k3 so I spent the first day getting head around Plesk.
I then logged into Remote Desktop only to find someone else had beat me. They'd hacked in and downloaded a mass email client, email stripper and obviously sent out spam from a 2mb text file of email addresses.
I didn't spend long in Remote Desktop, but while there I switched on Windows Firewall, changed my admin login password and logged off. Now, 24 hours later, I can't get back in. I get the error - This computer can't connect to the remote computer. Try again.....
I can still login through Plesk, FTP and ExpressionWeb.
Is FW keeping me out of RD or has the hacker returned?
I am setting up xampp on my desktop and when at home, I can develop on either the desktop or my laptop using xttp://localhost/ or xttp://desktop/. When I suddenly need to travel, what's the best/easiest/fastest way to make sure I have the files I need to work with on my laptop?
Is it to install xampp on my laptop, and then copy the files I need from /xampp/htdocs over from the desktop? How would I copy the MySQL databases over as well?
I was also looking into Microsoft's SyncToy 2.0. When combined with scheduled tasks I can do automatic sychronizations once per day. Multiple times per day would be ideal... but I could set up pairings and do manual copying everytime I need to run out.
Are there better ways? I could install the 'master' server on my laptop, but I would prefer to keep it on my desktop (more space, more power, etc.)
I recently got a Windows VPS to run a few applications 24/7. I generally login to the VPS during the day, via Remote Desktop, to review these applications..
However, I frequently have issues. Sometimes, I forget to log out and I will be terminated with a "the remote computer terminated the connection" and then I won't be able to re-login to the VPS. Sometimes I click the X on the Remote Desktop and then when I try to re-connect, I get the same error. Once I got the error "the remote connection has timed out. please try re-connecting to the remote computer again "
And the worse part is that the Remote Desktop can't be restarted alone.. my host has to restart my Windows every time - so my applications go down.
Is it me or is the VPS not supposed to act like this? Why is Remote Desktop so touchy?
I was told by the host that I should always use the Log Off.. however, if I do then Windows says that it will close all my applications.. I don't get any option to Log Off without closing the apps.. so I have to end up using the X.
- Disk Space 10GB - Bandwidth 800GB - Dedicated RAM 256MB - Shared Dual Quad Core XEON CPUs - Windows 2003 Server