Disclaimer: I use Linux for some jobs but I am not a Linux admin.
I have a Centos 5.4 machine which performs some server duties and doubles as a web site development machine. PHP 5.3.3 was installed from RPM with the --without-pear option. I now wish to use PearDB but can't figure out how to install it.
If I run yum install php-pear-db, it comes…
I have configured a ubuntu 12.04 64-bit server machine on Amazon AWS to act as a strongswan IPSEC server. I want to connect to it from my MAC OSX Lion's inbuilt IPSEC client. The OSX machine is in my home network.
I log into the AWS machine using a ssh to ubuntu@public-ip and I provide the private RSA key in form of .pem file which I downloaded…
I run a job every minute to reindex my site's content.
Today, the search engine died, and when I logged in there were hundreds of orphan processes that had been started by cron.
Is there another way using some kind of existing software that will let me execute a job every minute, but that won't launch another instance if that job doesn't…
I recently switched jobs. By the time I left my last job our network was three years old and had been planned very well (in my opinion). Our address range was split down into a bunch of VLANs with the largest subnet a /22 range. It was textbook.
The company I now work for has built up their network over about 20 years. It's quite large,…
Currently I have a SQL Server database which is about 2 Gb. I know over the next year it's going to grow to a maximum of about 10Gb. Hard drive space is not an issue in the slightest.
Is there a down side to resizing the datafile to 20Gb now, then defragmenting the hard drive?
Should I resize the log file to 1Gb as well? Something…
I am setting up a generic Ubuntu server and am trying to figure out the (best) way to partition the machine. Again, this is just a generic one:
The default drive is 20GB.
Some guides show:
Separate /home, /usr, /var and /tmp partitions
Another one suggested something like this:
/ 4GB
/boot 512MB
/tmp 1GB
/home 5GB
/usr 5GB
/var 5GB…
Hello,
Before this, I'm using shared 100Mbps bandwidth. Its fast enough.
And now, the server running dedicated 10Mbps bandwidth.
When running 10Mbps, it takes more time to completely load the same page.
The server bandwidth usage is small, with average less than 5Mbps.
(I can see some website hosted at same data center loads very…
I am about to start a new project which will, in part, require deploying many identical nodes of approximately three different classes:
Data nodes, which will run sharded instances of MongoDB.
Application nodes, which will run instances of a Ruby on Rails application and an older ASP.NET MVC application.
Processing nodes, which…
I have two monitors and my coworker has three. We were wondering if there was a way to set a single background image to stretch across all the monitors.
Right now it's the same image but repeated, so it looks like the same image three times in a row. I would like it to be so that the three images/screens combine to show one image…
I installed Paperbus Phttp://www.paperb.us/ but when I turn it on my browsers don't work at all, it just loads and loads and doesn't load the websites.
What will happen if I disconnect the ESXi cluster configured with HA from the switch(I need to change the power source on the main switch) and there is no management port redundancy? I'm going to disable the host monitoring and VM monitoring within HA settings, and connect to the switch after it boots up.
Will the virtual…
I have shell access to a server M, but I need to log into a VPN on my machine L in order to access it. I want to be able to get around this VPN, and I've heard I can do this by creating a reverse SSH tunnel and using a intermediate server E (which I can access without the VPN).
This is what I am trying:
Turn on VPN on L,…
Whenever I enable TCP/IP connections on my SQL Server Express 2008 database server running on Windows XP SP3, I cannot restart the service, it simply states "The request failed or did respond in a timely fashion". Any suggestions of what I may have configured incorrectly?
[update]
Here is the applicable part of the Error…
Is it possible to create an on-server rule to distribute/forward incoming email to certain mailboxes , based on senders email address.
Example, user1@domain.com sends an email to @user2@domain.com, and I would like for all emails from this user sent to user2@domain.com, to end up in user3@domain.com mailbox
I do not…
I am on ubuntu.
ok first of all I am running a post-commit script. I need the path to svnnotify to run it. The path the turotial I am reading has it as /usr/local/bin/svnnotify but nothing is in that location on my computer. I tried it anyways and I get something like:
Warning post-commit hook failed: not found
so…
Can ISP block resume support for downloads ?
I'm using IDM (internet download manager) to download of the internet from resume supported websites, yet I am unable to resume downloads. I tried different computers with the same result. Turned off firewall, didn't have any effect i was able to download with no issues…
On Linux the ssh command has a -t option whose man page reads:
Force pseudo-tty allocation. This can be used to execute arbitrary
screen-based programs on a remote machine, which can be very useful,
e.g. when implementing menu services. Multiple -t options force tty
allocate, even if ssh has no local tty.…
I'm trying to wrap my head around the wonderful world on DNS.
I have created a zone file for example.com which contains:
@ A 1.2.3.4
* A 1.2.3.4
However I am also setting up my local DNS, local.example.com which I have created a separate zone file for containing the following:
machine1 A …
Colleagues, I have need to run a script/program on certain basic OS level events. In particular when a file in Windows is opened. The open may be read-only or to edit, and may be initiated by a number of means, either from windows explorer (open or ), be selected from a viewing or editing application from the…
This is a Canonical Question about Hosting multiple SSL websites on the same IP.
I was under the impression that each SSL Certificate required it's own unique IP Address/Port combination. But the answer to a previous question I posted is at odds with this claim.
Using information from that Question, I was…
I have developed a program in Java that uses on a local SQL Server instance to store its data. On some installations the SQL Server instance is not running sometimes.
Users can fix this problem by manually starting the SQL Server instance (via services.msc).
I am thinking about automating this task: the…