With Rails 4 and Ruby 2.0, is it still necessary to install Phusion Passenger? It is my understanding that the purpose of Passenger was to manage memory leaks which were present before Ruby 2. If this was not the purpose of Phusion Passenger, please elaborate!
dingalingchickenwiing's questions
I am running ubuntu version 12.04 LTS and I have installed OpenVPN on it. After a while of troubleshooting why my client won't connect (I have generated keys and confligured the client), I ran 'service openvpn status' from the command line and received the following error:
could not access PID file for VPN 'server'
I have rebooted, started and restarted the service, but each time I check the status, I receive the PID error. I'm pretty sure that I can't connect because the service isn't running.
Where can I begin troubleshooting this? I don't know what to look for. Any help is greatly appreciated.
Thanks!
I have a Cisco router with two bonded T1's which are setup as a VPN to the main office. We need more bandwidth but can't get other connections (or it's too costly), so I would like to have a dsl connection installed. This DSL connection will run over a VPN to the same main office, but it won't be bonded with the T1's - so it won't act as a single connection.
Since the three circuits won't act as a single connection (basically would be two connections 2 T1's + 1 DSL) we would have to split the network in half - but I don't want to do that. Instead, would it be possible to send all HTTP/HTTPS over the DSL connection but send all mission critical data (such as voice/active directory) over the T1's?
I basically want to send specific ports over DSL and everything else over the T1's without separating half of the users traffic over the DSL and the rest over the T1's.
I have problems connecting to my MySQL server using MySQLWorkbench. I believe it's some type of permissions issue, to ensure I am able to use this, can you help me with the necessary setup steps? I have done the following:
- Setup a user called 'root' which can be connected to through any IP (*)
- Tried to use SSH and direct connections in MySQLWorkbench
- Actually, I have tried every setting and combination in sql workbench
Here's the things I would like to do/learn in sql workbench:
- Restore Backups
- From the admin page, watch the 'System' graphs and monitor the server. The things the cool kids can do.
- Add/edit user accounts, change passwords for accounts (even root) without going to commandline
- Actually, do EVERYTHING administratively without the command line. The mysql commandline is about the least enjoyable thing I ever have to mess with.
Can you give me any idea how to get this thing setup? I am using Ubuntu 10.x on the server with MySQL 5.1.x - everything works great except for connecting by MySQLWorkbench. I am connecting remotely, but I have a fast internet connection and my server is on rackspace.
Thanks for your help!
Br
What are the best software packages for automated backups for MySQL? Even more important than how easy the backup process is would be the restore process. If I ever get in a bind with data corruption or a failed device, I want to be able to restore everything quickly!
Any advice on what I should use/look for?
I have several different applications I need to run to serve my website. To use the minimum amount of servers while still maintaining good performance, which of the following can I put on a single server?
mysql, nginx (2), memcached, sphinx search, Rails Cron jobs
I know that mysql needs a dedicated system to run, so does nginx for serving web pages. However, I have heard that memcached can be put on the web server it's self because it uses almost no cpu and ram only, where the web server uses mostly cpu.
If possible, I would really like to combine memcached, sphinx search and Rails cron jobs on one machine.
What do you think?
I currently have one webserver which runs my websites, all requests go straight there. The Webserver runs ruby on rails and everything is going fine, but as my sites grow, I will need to either get a bigger server, or scale out with more servers handling the extra load.
I would like to go with the second scenario. Instead of having one huge server, I would like two or three smaller, cheaper servers. This is how I think this should be done:
All domains point to x.x.x.30 (HAProxy.) When HAProxy receives a GET request, it sends this request to the least busy webserver available. The webserver directly responds to the client. With this setup I could easily grow by adding web servers at any time and quickly fix any problems by pulling problem web servers off the cluster.
x.x.x.30 <-- HAProxy
x.x.x.31 <-- webserver1: Rails/Passenger3
x.x.x.32 <-- webserver2: Rails/Passenger3
Am I correct in my understanding of this setup?
I recently read about a company which setup all of their linux webservers to run without hard drives. This sounded really exciting to me because that would essentially mean that the biggest point of failure (HDD) is now gone. Furtheremore, when updating the OS (or anything else) for 5 or 10 web servers would be as easy as simply editing one image.
The million dollar question is, how is this done? what is needed to make this work properly and what are the PROS/CONS? It's a great sounding idea, I just hope I am not missing some really big issues.
Thanks!
I have a laptop which I want to turn into a PFSense router. To do this I need a minimum of two network ports, which is fine, because I have one built in port and I can purchase a PCMCIA NIC with one port as well. However, I want to I have two WAN ports and one LAN port so I can have failover internet access.
Have you ever seen a PCMCIA card with 2 Ethernet ports built in? I can only find single NIC PCMCIA cards...
Thank you for your help!
I want to use FreeSWITCH instead of Asterisk because of it's performance compared to Asterisk. I know that FreeSWITCH can be a full PBX or just run parts (modules) to do only the things I want it to.. But I am not sure where OpenSIPS fits into the equation. Lets say I had 5 FreeSWITCH servers to handle voice calls (inbound and outbound) and voicemail for my users. Could I have all of the extensions in the OpenSIPS router and use it to authenticate calls, then hand them off to FreeSWITCH?
If so, do I have to put any Extension information in FreeSWITCH at all for my users? I am trying to avoid having 5 FreeSWITCH servers with duplicate extensions in each!