I am logged in as a root user i want to edit my /etc/sysconfig/network-scripts/ifcfg-eth0 file when i edit this showing
-- INSERT -- W10: Warning: Changing a readonly file
while i have logged in as root user
my mount showing
[root@s1202 ~]# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (ro,data=ordered)
/dev on /dev type tmpfs (rw)
/proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw)
I'm trying to run Apache with mod_wsgi to run Python scripts. The server is running Ubuntu 12.04 with Zend Server installed, but when I enable the wsgi module Apache will not start. I get an error message of "apache2: apr_sockaddr_info_get() failed" in the error log. I installed the module using the Debian package.
I can't seem to find this specific problem anywhere so maybe it's a problem with Zend Server? I'm stumped.
Thanks
I'm looking for a way to search for a specific string e.g. '=UUID:' and delete it and all following characters per line. I would prefer a way/macro/addon for notepad++. But all other tools or scripts are welcome :)
Before
://81.88.22.6/=UUID:63969B2469B7A94EBBDBD7CB5B9C00BA
://-ad.cgi*=UUID:3C8EFF48B674CC42BF5B6E2B7BA820E7
://-ads/*=UUID:0D6CF7D5BE3F034C8A136CC99A074406
Note that the numbers are always different per line so you couldn't do a search 'n replace with them.
Should look like this after
://81.88.22.6/
://-ad.cgi*
://-ads/*
I have some old classic asp scripts. They used to work on my 2003/IIS 6 server. But on my Vista/IIS 7 and now Windows 7 Ultimate/IIS 7 server the asp pages don't work.
I did what they said here: Deploying a Classic ASP Server (IIS 7) (Microsoft TechNet).
I enabled those 3 features in IIS 7 but that just went from getting 404 to 500 error.
Hi,
we're running an ActiveDirectory environment and want to have some shares listed as Shared Resources under the Network Neighbourhood.
This is easy in the UI but I can't seem to find a way to do it automatically via scripts/GPO/etc.
I've written a batch script which copies of some files in the CommonAppData folder (C:\ProgramData) to the logged in User's Local AppData. What I would like to do is to execute this script for every user every time they login. I found many articles talking about the execution of batch files on startup but I would like to know how to do the same on each login.
I've a written a batch file and copied it in :
C:\Windows\System32\GroupPolicy\User\Scripts\Logon
But it does not seem to be working.
So I currently am looking for a solution to keeping users logged out while software is installing or activating a pop-up message that cannot be moved, closed, and is always on top, because sometimes when we deploy software to users (via SCCM), the parameters of the install require the user to be logged out for the duration of the installation. I've looked at trying to customize the group policy for account lockout but with no luck. Anyone know of any programs or scripts that do this?
Thank you!
I am relatively new to the mac, and other than writing python scripts I can't figure out how to automate certain tasks like I would have in windows with a batch file.
Pointers and links to documentation would be appreciated.
I'm calling shell scripts inside /etc/smrsh to process incoming emails as commands for my system. As I'm seeing all incoming emails are not making it to /var/mail/spool/USER.
Is there any way I can access to the content of the emails ? some variable $1 $2 comming with the content values ?
If not, how do I access to the content of the emails received ?
thanks guys
It seems like SQL Server 2008 does not support code page 65001 when using Bulk Insert. If I use other code pages, my data is corrupted when imported. Is there a way to insert my UTF8 data properly in SQL Server 2008 using scripts?
I am relatively new to the mac, and other than writing python scripts I can't figure out how to automate certain tasks like I would have in windows with a batch file.
Pointers and links to documentation would be appreciated.
I've been working with linux for a while but in a rather simple manner.
I understand that scripts in init.d are executed when the os starts but how exactly does it works?
How does the os know which paramater to pass to a script?
To start apache I would do sudo /etc/init.d/apache2 start. If I run sudo /etc/init.d/apache2 it doesn't work without the start. How does the os pass start to the script?
I'm currently evaluating whether to use RightScale to manage a production environment in EC2. I intend to use Puppet for configuration management either way (the declarative approach seems far better than running scripts), am running a somewhat nonstandard stack (e.g. MongoDB), and am uncertain about how much value RightScale would add relative to Puppet + Amazon's auto-scaling + another hosted monitoring system. Those who use RightScale, what features do you find important? Is its auto-scaling support (including keeping single instances running) more powerful than Amazon's?
Sorry for the potentially ridiculous question.
Is there some sort of hack or work-around to upgrade OWA to 2007 while using Exchange 2003? If not, are there any ways to improve the default layout / skin? Maybe Greasemonkey scripts?
Is it really cheaper to host images and scripts via S3 than with an EC2 instance running nginx/varnish/etc. ?
It seems to me (but i'm just getting started with AWS) that the request costs will be the major factor if you don't use sprites or other optimizations... or am i missing something ?
I have a small AD in which I am deploying software to domain computers through GPO (using msi installers).
What is the best method to deploy software that
has no .msi installer,
but has switches for silent installs
All I can think is to use startup scripts (that will do detect-install/uninstall/upgrade), but I was wondering if there are existing wheel designs in this area...
NOTE:
I'd like to avoid repackaging to .msi format (unless someone convinces me otherwise).
Some examples of software that I would like to deploy
picasa 3
VLC
I have a bunch of vim plug-ins installed. I want to get a notification when a new version comes out. Each plugin page on vim.org (e.g., http://www.vim.org/scripts/script.php?script_id=3025) doesn't have an RSS feed.
How do you keep your vim plugins updated?
I have few servers on Linode.com, which does not provide a smooth way for backing up a whole image at the moment. Backing up to S3 could be a way to copy the whole image. It should be also a cheap way. Do you have experience, tips or scripts doing backup of a whole image into S3?
All I need is to be able to log in using root, but have forgotten the password. None of the steps to reset i found online work (i don't even have some of the executables mentioned such as mysql-nt.exe)
However I have no problem deleting all databases (i have scripts) and intallations and starting completely from scratch... but uninstalling and deleting directories doesn't work.
Thanks.
I have VPS with CentOS 5.4.
This is production server.
The problem is when my webiste installs some scripts from site , then the owner name is not written on the file and as user i can even change the file permissions.
Is there any way that which ever script is writing file , the owner of home directory should the owner of all the files
I have VPS with CentOS 5.4.
This is production server.
The problem is when my webiste installs some scripts from site , then the owner name is not written on the file and as user i can even change the file permissions.
Is there any way that which ever script is writing file , the owner of home directory should the owner of all the files
I often find this in scripts (and, I have to admit, write it myself):
a=`echo $x | sed "s/foo/bar/"`
or
if echo $x | grep foo
then
...
fi
Consider "foo" to include some regex stuff.
I feel that there should be - and most likely is - a better way to phrase this, one that does not involve two commands and a pipe but wraps the thing into some more compact expression.
I just can't find it. Anybody?
I've noticed in git and various scripts, there is a default user email address. This seems to default to user [email protected]. Is there a way for me to set this to my ral email address?
yum install subversion
Scripts like the above has no control of where software will be installed.
How can I specify the installation path like --prefix when installing from source?