What do you need to know to at the very least get your foot in the door? We're assuming for someone who doesn't have a college degree (yet) but will eventually get one.
My guess is html, css, javascript, and php, and photoshop and dreamweaver, and sql.
And being familiar with using a web host to have sites live, like knowing how to use cpanel. It's probably a very inaccurate and narrow guess but that's what i think right now. I don't know exactly.
I've installed nginx server on my Mac from MacPorts: sudo port install nginx.
Then I followed the recommendation from the port installation console and created the launchd startup item for nginx, then started the server. It works fine (after I renamed nginx.conf.example to nginx.conf and renamed mime.types.example to mime.types), but I couldn't stop it... I tried sudo nginx -s stop - this doesn't stop the server, I can still see "Welcome to nginx!" page in my browser on http://localhost, also I still see master and worker processes of nginx with ps -e | grep nginx.
What is the best way to start/stop nginx on Mac?
BTW, I've added "daemon off;" into nginx.conf - as recommended by various resources.
Thank you.
I've installed nginx server on my Mac from MacPorts: sudo port install nginx.
Then I followed the recommendation from the port installation console and created the launchd startup item for nginx, then started the server. It works fine (after I renamed nginx.conf.example to nginx.conf and renamed mime.types.example to mime.types), but I couldn't stop it... I tried sudo nginx -s stop - this doesn't stop the server, I can still see "Welcome to nginx!" page in my browser on http://localhost/, also I still see master and worker processes of nginx with ps -e | grep nginx.
What is the best way to start/stop nginx on Mac?
BTW, I've added "daemon off;" into nginx.conf - as recommended by various resources.
Thank you.
I'm trying to implement the following scenario:
One VM-host, multiple guest VMs, each one gets its own IP-address (and domain).
Our server has only one physical interface, so the intended use is to add virtual interfaces on eth0. To complicate our situation the provider uses port-security on their switches, so I can't run the guest interfaces in bridged mode, because then the switch detects a "spoofed" MAC-address and kills the interface (permanently, forcing me to call the support, which I'm sure will get them a little bit angry the third time ;) ).
My first guess was to use iptables and NAT to forward all packages from one virtual interface to another one, but iptables doesn't seem to like virtual interfaces (at least I can't get it to work properly). So my second guess is to use the source IP of the packages to the public interface.
Let's assume libvirt creates a virbr0-network with 192.168.100.0/24 and the guest uses 192.168.100.2 as IP-address.
This is what I tried to use:
iptables -t nat -I PREROUTING --src public_ip_on_eth0:0 -p tcp --dport 80 -j DNAT --to-destination 192.168.100.2:80
That doesn't give me the intended results either (accessing the server times out).
Is there a way to do what I'm trying to do, or even to route all traffic to a certain IP on a virtual interface to the VM's device?
We had a hard disc crash of one of two hard discs in a software raid with a LVM on top.
The server is running Citrix xenserver.
On the hard disk which is still intact, the volume group gets detected well, but only one LV is left.
(some hashes replaced by "x")
# lvdisplay
--- Logical volume ---
LV Name /dev/VG_XenStorage-x-x-x-x-408b91acdcae/MGT
VG Name VG_XenStorage-x-x-x-x-408b91acdcae
LV UUID x-x-x-x-x-x-vQmZ6C
LV Write Access read/write
LV Status available
# open 0
LV Size 4.00 MiB
Current LE 1
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
root@rescue ~ # vgdisplay
--- Volume group ---
VG Name VG_XenStorage-x-x-x-x-408b91acdcae
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 698.62 GiB
PE Size 4.00 MiB
Total PE 178848
Alloc PE / Size 1 / 4.00 MiB
Free PE / Size 178847 / 698.62 GiB
VG UUID x-x-x-x-x-x-53w0kL
I could understand if a full physical volume is lost - but why only the logical volumes?
Is there any explanation for this?
Is there any way to recover the logical volumes?
EDIT We are here in a rescue system. The problem is that the whole server does not boot (GRUB error 22)
What we are trying to do is to access the root filesystem. But everything was in the LVM.
We have only this:
(parted) print
Model: ATA SAMSUNG HD753LJ (scsi)
Disk /dev/sdb: 750GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 750GB 750GB primary boot, lvm
And this 750GB LVM volume is exactly what we see on top.
edit2
Output of vgcfgrestore, but from the rescue system, as there is no root to chroot to.
# vgcfgrestore --list VG_XenStorage-x-b4b0-x-x-408b91acdcae
File: /etc/lvm/archive/VG_XenStorage-x-x-x-x-408b91acdcae_00000.vg
VG name: VG_XenStorage-x-x-x-x-408b91acdcae
Description: Created *before* executing '/sbin/vgscan --ignorelockingfailure --mknodes'
Backup Time: Fri Jun 28 23:53:20 2013
File: /etc/lvm/backup/VG_XenStorage-x-x-x-x-408b91acdcae
VG name: VG_XenStorage-x-x-x-x-408b91acdcae
Description: Created *after* executing '/sbin/vgscan --ignorelockingfailure --mknodes'
Backup Time: Fri Jun 28 23:53:20 2013
I need to keep millions of files on an ext4 system.
I understand that having a structure with multiple subdirectories is the general accepted solution. I wonder what would be the optimal approach in terms of number of dirs/subdirs.
For example I tried a structure like 16/16/16/16 (that is, (sub)directories from 1 to 16) and I found that I am able to move 100K files to this structure in 2m50s.
When trying to move 100K files to a 8/8/8/8/8/8 structure it took 11 minutes. So the 16/16/16/16 approach seems to be better but I was wondering if anyone has some empirical experience with an even better dir/subdir distribution.
Hi
I dusted off an old laptop from 2004 which has Windows XP. I want to put Ubuntu on it.
So, I downloaded the CD image and then burnt it to a disc.
I tried starting the laptop and booting from CD but no luck. The CD drive doesn't work in the laptop anymore!
So I shared the files on the local server and then accessed the wubi.exe file from within Windows XP, and it proceeded to download something else and install. It then asked me to restart, which I did.
I now have a folder C:\ubuntu with a bunch of files in it. How do I get the option to boot to Ubuntu?
Sorry, I have never installed a Linux variant before!
Many thanks
My company already has a "local" backup strategy, but is willing to also backup data on our remote dedicated server as an additional "plus".
Some info:
Both machines are Windows Server (client is 2003, server is 2008)
Administrator rights on both machines
Valid SSL Certificate available
FTP/IIS Server available and in use
Required cryptation during transfer & storage
Free space is not a problem
Which software (both client and server side) you advice us to take?
I thought it would be cool to use Mozilla's Prism to create a webapp for min.us, but drag and drop is disallowed because the site doesn't see the program as Firefox, Chrome or Safari, those of which are apparently the only browsers allowed to do drag and drop for fear that something will be horribly broken.
I'm pretty sure Prism runs on the same engine as Firefox, yet I wouldn't doubt it if Prism is running on an older version since it's kind of a forgotten beta.
Anyways, like the title says, I want to be able to make Prism webapps appear look like Firefox to websites to unlock awesome features.
Also, if it can only be done with Fluid, then I answers regarding that will be fine. I'm not sure what engine it's running though.
I have a Windows 2003 Server that I want to migrate to new hardware. All the setup and configuration was done by my predecessor. Right now I'm in a real time crunch and I just want to copy all the files and settings to the new machine. Is there an easy way to do this or do I need to manually copy all the files and add all the settings?
Microsoft KB suggests "Automated System Recovery", is this the best way forward?
i have a script that get all the info i need about my SharePoint farm :
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") > $null
$farm = [Microsoft.SharePoint.Administration.SPFarm]::Local
$websvcs = $farm.Services | where -FilterScript {$_.GetType() -eq [Microsoft.SharePoint.Administration.SPWebService]}
$webapps = @()
foreach ($websvc in $websvcs) {
write-output "Web Applications"
write-output ""
foreach ($webapp in $websvc.WebApplications) {
write-output "Webapp Name -->"$webapp.Name
write-output ""
write-output "Site Collections"
write-output ""
foreach ($site in $webapp.Sites) {
write-output "Site URL --> -->" $site.URL
write-output ""
write-output "Websites"
write-output ""
foreach ($web in $site.AllWebs) {
write-output "Web URL --> --> -->" $web.URL
write-output ""
write-output "Lists"
write-output ""
foreach ($list in $web.Lists) {
write-output "List Title --> --> --> -->" $list.Title
write-output ""
}
foreach ($group in $web.Groups) {
write-output "Group Name --> --> --> -->" $group.Name
write-output ""
foreach ($user in $group.Users) {
write-output "User Name --> --> --> -->" $user.Name
write-output ""
}
}
}
}
}
}
i want to make the output to an XML file and then connect the xml file to HTML and make a site of it for manager use
how can i do it ?
thanks for the help !
Hi,
At work I have EXCHANGE Server, so I am getting emails (Work related). I wanted to add my personal email (POP or IMAP) and get those emails too.
I am afraid that if i do that, my work can still have access to my personal emails? and they will see if I send or receive emails.
Any suggestions?
Facebook photo privacy is more complex than most people think - including the bloggers who fill the Internet trying to explain it in simple terms.
Not only there is the basic album-level privacy setting to consider, but also what happens with Tagging (and related privacy settings) as well as the Share button when clicked by a Friend.
Has anybody seen a good, engineering-type (e.g. UML) diagram? I envision it should include the various privacy "states" a photo can be in, what causes state transitions, and the characteristics of each state?
Thanks
Is there a way in nginx to redirect everything from domain1.com to domain2.com, except for the homepage?
Right now I have:
server {
listen 80;
server_name www.domain1.com domain1.com;
rewrite ^ http://domain2.com$uri permanent;
}
This works, except that I'd like http://domain1.com (without any additional path) to be left alone and not redirected. Basically, I need to redirect everything, to avoid broken links, but I want to use the homepage of domain1 to serve a static file.
The situation: My wife has a 13" MacBook Pro that she uses for email, Facebook, web surfing, and working from home. I'm about to buy us our first iPad. My wife's brother's computer just went belly-up, and she's contemplating giving him her MacBook and just using the iPad. The question is whether or not this is possible or realistic.
Obviously, the iPad is well-suited for the email/web/Facebook tasks, but the working-from-home thing is an absolute must -- if the iPad can't handle that, it's a deal-breaker. For my wife, working from home means two things:
Accessing her workplace computer's Windows Vista desktop, which she currently does via Remote Desktop.
Editing Office documents locally, which she currently syncs via Dropbox. Being able to edit documents locally is important, because sometimes she will download documents and edit them when she doesn't have network access (e.g. on the subway).
I'm more than happy to get a keyboard dock for her, so typing won't be an issue. Are there any iPad apps she can use to access her work computer and edit her work files?
Thanks for any suggestions!
I just tried updating the iPhone's firmware, and things went haywire.
iTunes informed the update had failed and linked me to this page.
The iPhone is stuck on the image from the top of that page.
I held down the sleep and home buttons until it turned off and turned it back on, and then went through the iPhone's 'restore' mode.
It then error'd again and I'm stuck back with the logos on the iPhone.
Does anyone know how to fix this?
Thanks
My Mac Mini outputs to my two new monitors - Dell U2311Hs.
The LED on the bezel displays blue when receiving a signal, or yellow otherwise. Both screens are displaying blue.
It also seems my Mini can see both of them...
However, one of them is black. It just displays black, but appears to be receiving a signal (when I turn the Mac off, it then displays No Signal).
To make things weirder, on startup, the boot up (white with Apple logo) appears on the right monitor (the one that now displays black).
Occasionally, it flickers up on the black screen for 1 second.
I have tried Detect Displays. It appears to do nothing.
I'm also running a dual monitor KVM. Video connections are DVI-D.
How can I fix this situation?
Thanks.
Update
This is the weirdest thing - I used the DVI-D cable that came with the KVM and it seems to have fixed it - I didn't both because it looks identical to any other DVI cable (in form an pin out).
So, I will accept an answer if someone can tell me what may be the difference in these cables?
I have the weirdest problem when trying to open or save files. When I try to get to "My Documents" through the "Libraries" side link it won't show any of my files. It will show them if I go around from the C:// drive into the user files though. I thought it was because I didn't have the right location defined for the "Libraries" shortcut, but when I use "Explorer" to open my "Libraries" it shows all the files. Any ideas?
So i have this text file that looks something like this:
Header1 Header2 Header3 Header4 A1 B1 C1 D1 A2 B2 C2 D2
and so on.
When imported, I'd want the data to format itself in 4 columns. I tried the Get External Data from Text, and it successfully imports it, but it doesn't wrap it around, so it just keeps making columns for every space. I'd want it to go on the next line after 4 (in this case) elements have been added.
What's the simplest way to achieve this?
EDIT: My answer follows, since I'm not yet allowed to answer my own questions yet.
The Excel function I needed is called indirect().
Not sure how it actually works though, so hopefully someone can help out with that, but the function call that worked for me is
=INDIRECT(ADDRESS((ROW(A1)-1)*4+COLUMN(A1),1))
which i found over here: http://www.ozgrid.com/forum/showthread.php?t=101584&p=456031#post456031
Note: this required me to add the text to excel where i'd get this row full of columns, and then flip it so that i'd have a column full of rows.
I want to make it so that nautilus requires me to press a key combination to delete files - so that I do not accidentally delete files on a network share with no confirmation again.
Ideally I would make the behavior identical to OSX's Finder, so that I press ctrl+backspace to delete files.