Hello,
I am using Mac OS X 10.6 Snow Leopard. What I need is to map my FTP server as a local drive - or anything I have write access to - in Finder.
Thanks - A LOT!!! - in advance.
I want to do:
echo "something" >> /etc/config_file
But, since only the root user has write permission to this file, I can't do that. But this:
sudo echo "something" >> /etc/config_file
also doesn't work. Is there any way to append to a file in that situation without having to first open it with a sudo'd editor and then appending the new content by hand?
I have a Django app that handles "/admin/" and "/myapp/". All the other requests should be handled by Apache.
I've tried using LocationMatch but then I'd have to write a negative regex. I've tried WSGIScriptAlias with the /admin/ prefix but then the wsgi_handler receives the request with the /admin/ part cut off.
Is there a cleaner way to make mod_wsgi only handle certain requests?
Hi, i have a exam to do at home but there is a question that i can't solve :S ... can anybody help me about that question (( i google it with diffrent ways but can't found anything as answer))
question:
how the network reliability can be measured(write at least 4 factors)? explain 3 of the factors in details with their advantages and disadvantages?
Or would I have to write my own? What's the best language for building a tool of this kind?
I'm kind of new to linux, but I'm guessing that you could pass the output of a program to a particular script and have it display it in various colours, based on some regular expressions (constructed from some kind of config file perhaps). Or has it been done already...?
I have had consistent problems with pasting images into Gmail. I use Firefox (just in case that is relevant, but I wouldn't expect so). The image displays fine as I write it. But when it arrives at my family members Gmail account, it is being displayed in some base64 encoded form as many pages of text with a beginning like:
img src="data:image/png;base64,iVBORw0KGgoAAA.....
On the receiving end I cannot get the images to display properly.
I'm experimenting with creating a software RAID 0 device from 4 EBS volumes on Ubuntu 9.10 running at Amazon AWS following this guide:
http://alestic.com/2009/06/ec2-ebs-raid
The device appears (and according to SysBench is 3.5x faster than a regular attached EBS volume).
Problem is, when I reboot the instance, all files on the RAID device are gone. The device is available and mounted where expected, but contains no files. I am able to write new files to it, which survive until the next reboot.
somehow I downloaded and installed spyware or malware. I do not know.
I know that if I write somethin in field where you put as a website link I get web engine results but not by google but fastaddressbar.. It is part of websearch toolbar. Most of them was blocked and added to quarantine by my antivirus comodo however I still do not know how restore fast search in firefox to get results from google. Please help :(
I am trying to clone a Windows 7 Install from one machine to others, in a computer lab situation. I have used clonezilla to make an image of the machine's harddrive and then attempted to write that image to a second machine's disk. Everything went fine, but when I try to boot Windows 7 on the second machine I get a blue screen flash and then it tries to run the startup repair tool, which runs unsuccessfully. Is there something new with Windows 7 that keeps it from being cloned like this?
We have a virtual machine setup for our build environment. It uses network connectivity to obtain source and to write out build results and logs. However, around 1 in 10 times, the build fails at some point due to IO problems that appear to be down to some kind of lag or dropped connection.
Any ideas on what might be causing this and how we might fix it?
On their presentation of "Google App Engine" Google team members boldly said: "You write a code and we will run it for you". Then the "Google App Engine" was launched and it still does its job quite successfully - "Google App Engine" runs millions of applications of different sizes belonging to different users completely free!!!
Now, here is the question: Do You know of any alternative to GAE? Have You ever even heard of any such service out there that would run Your Python code for free?
I have a postfix + virtual users setup. I have enabled maildrop as the delivery agent. How can I write a filter for a user so that if mail comes from a particular domain to that user a copy also goes to another email address.
I bought a NAS from Conceptronic CH3MNAS and built in two Western Digital 1,5TB Green Drives.
I only get a write speed of 6mb/s in LAN
The configuration of the drives is as follows:
- Raid 0
- EXT2
Is that a normal speed?
I'm trying to write a utility script that defines certain aliases.
My SHELL is tcsh (can't change that).
I tried the following
#!/bin/tcsh
alias log 'less ~/logs/log.date '+%Y%m%d'''
Then I run it like this:
./myscript
log
The output I get is: log: Command not found.
Naturally if I run it like this:
source myscript
log
Everything is fine.
Any way to do it without specifying source ...?
can i create local users just using windows registry? i write the programm wich help me to migrate my from one computer to another. When i work with domain user i can save it settings with windows registry and saving ProfileImagePath folder. now i want to save local users by this way.
Hello
I'm looking for a program to windows 7 that will work as a printer but it will save it to a file.
Microsoft Word - Printer - Save it to "hello.pdf" on the desktop.
I working on a application that will use a printer, but i don't have any printer to test with. And save to .xps files do not work, because u need to write a filename.
Hope that you understand!
Thanks
In my WinXP I write a bat file to start the putty which is connected to my linux for development.
D:\PuTTY-v0.60\putty.exe [email protected] -pw 123456
But I have to set the charset to utf-8 manually everytime when I do the login.I think it's quite a waste of time.So how can I do the setting more quickly?Thanks.
I'm trying to write an upstart script to start orbited on startup. The script is as follows:
#orbited
start on startup
stop on shutdown
script
exec /usr/local/bin/orbited --config=/etc/orbited.cfg
end script
When I run upstart orbited I get something like this:
orbited start/running, process 605
But when I run status orbited right after doing that I get:
orbited stop/waiting
The script fails to start even though it says it's running. Any ideas?
Thanks!
Many PHP applications do self-configuration and self-updating. This requires apache to have write access to the PHP files. While chgrp'ing them all to www-data appears like a good practice to avoid making them world writable, I also wish to allow users to create new files and edit existing one.
Is adding users to the group www-data safe on Debian? For example:
775 root www-data /var/www
644 john www-data /var/www/johns_php_application.php
660 john www-data /var/www/johns_php_applications_configuration_file
Drive 0, Partition 1 can't be deleted or formatted, at least by using the HD drive bay and attempting a delete or format with the 32-bit Win 7 CD.
Most of my data is still on it and available for read/write (where the drive isn't occasionally pocked with "unrecoverable" or "corrupted" files).
I've just never heard of a condition where the HD cannot be formattable. I now just have a very expensive backup drive that's got Swiss cheesed areas. The thing doesn't accept a Windows 7 repair or reinstall either.
We have 1 mac user in a PC environment... and I have bought a 1TB WD external hard drive and need to format it so that both PC and Mac can read/write to it. Doing this from the mac should be easy, but I do not know where to format the drive from, and what is the best option to format it to.
Thanks.
Hi I am setting up development environment based on SLED, we have installed required software as root user. We have configuered users Login through NIS. Developers needs access to almost all partitions for complete access including write and execute when they login using their ID's, Log in through their own id's is mandatory .
What is the best way to give this access?
I'm trying to write an install script and i need to change the sendmail line in php.ini
but I want to do this automatically
at the moment I'm doing this manually:
sudo nano /etc/php5/apache2/php.ini
finding the line containing sendmail_path =
then editing it to be
sendmail_path = /usr/bin/msmtp -t
then saving the file.
Is it possible to just auto script this to make the change?
Thanks a lot
I am new to linux. I have a server that I have successfully installed Debian Lenny on and everything else needed for a LAMP server.
But I am unsure how to setup FTP. My first attempt went horribly wrong had a load of permission issues.
How can I give full read/write access to my WWW folder.
The more in-depth the answer the better. I feel like such a noob.
We have 2 Hyper-V hosts at present running 1 virtual server that was converted from a physical box running all roles.
My plan is to split the roles over various virtual machines, upgrading to the latest software versions as I go, and use the backup server as a standby in case the main server fails. AppAssure backup software has a feature called Virtual Standby, so the VHD's can be ready to be fired up on the backup server if necessary.
Off-site backups will be done via external USB drive for now.
I'm just seeking some input/suggestions into how I'm planning to split the roles out amongst various virtual servers.
Also, I'm curious how to setup the storage on the servers. We do not have any NAS's, SAN'S or any budget for this. What would the best RAID level be to use?
I'm thinking either RAID6 (which is currently used) however I'm concerned about the write speeds, or RAID10 but again I'm worried that I can only lose 1 drive (from the same mirror) as opposed to any 2 with RAID6.
I realise I have a hot swap for this, but what if a further drive fails during a rebuild? Is the write penalty of RAID6 worth the extra reliability over RAID10? Or will it be too slow with all the roles I am planning, therefore RAID10 is my only real option?
The reason for the needed redundancy is I am the only technician and I'm not always on-site.
Options I've considered:
1) 5 drives in RAID6 set, 200gb for host OS, rest for VM storage. 1 drive for hot swap - this is how it is currently setup
2) 4 drives in RAID10 set, 200gb for host OS, rest for VM storage. 2 drives for hot swap
3) 4 drives in RAID10 set for VM storage, 2 drives in RAID1 set for host OS. No drives for hot swap - While this is probably the best option with the amount of drives I have, I don't like the idea of having no hot swap
4) 3 drives in RAID6 set for VM storage, 2 drives in RAID1 set for host OS. 1 drive for hot swap
All options give us enough storage capacity for our files, etc.
We don't have any budget for extra drives or extra hot swap HD chassis for the servers.
We have about 70 clients and about 150 users.
MAIN SERVER
Intel Xeon 5520 @ 2.27 GHz (2 processors)
16GB RAM 6 x 1TB Seagate
Barracuda ES.2 Enterprise SATA drives
Intel SRCSATAWB RAID controller
Virtual machine workload using Hyper-V on Windows Server 2008 R2:
DC01 - Active Directory Domain Controller / DNS server / Global catalog - 1GB RAM
DC02 - Active Directory Domain Controller / DNS server / Global catalog - 1GB RAM
Member Server - DHCP server, File server, Print server - 1GB RAM
SCCM Member Server - 4GB RAM
Third Party Software Member Server - A/V server, Ticketing software, etc - 4GB RAM
Exchange 2007 - 4GB RAM - however we are probably migrating to a hosted solution, therefore freeing up resources
BACKUP SERVER
Intel Xeon E5410 @ 2.33GHz (2 processors)
16GB RAM
6 x 2TB WD RE4 SATA drives
Intel SRCSASRB RAID controller
Virtual machine workload using Hyper-V on Windows Server 2008 R2:
AppAssure backup software - 8GB RAM