Excuse me,
I have a laptop installed Ubuntu desktop. If I want to use the name server (DNS) in this position, is that possible? Or should I reinstall Ubuntu server?
Yes, you can easily install unbound or bind9 package and serve DNS queries in your LAN.
However, it's a bit more involved to setup the networking so that all the DNS queries made from your applications are directed to the caching DNS server running in the same installation. I had to get rid of NetworkManager and install wicd instead for this purpose. NetworkManager uses dnsmasq package (which doesn't cache queries) and all DNS queries are directed to 127.0.1.1, where dnsmasq listens for queries. wicd makes easy to set a static DNS pointing to 127.0.0.1, which is the address in which unbound listens by default.
Note: of course it isn't impossible to keep the default NetworkManager and setup properly to direct queries to the caching name server running in the same machine. I just think it's easier with wicd.
Yes,you can!But Ubuntu desktop usually have installed many applications,it may not work very well.If it is convenient ,you'd better use Ubuntu server.
The only difference between server and desktop is - which packages are installed by default during distro installation. To use your computer as a DNS server your will have to install package for the DNS server, like apt-get install bind9. For server,maybe it's preinstalled (I don't know). That's all.
As in andy answer, maybe other applications running on Desktop will use too many resources or make your system unstable, and thus you better don't use them. In this case too, if you remove all the GUI-related packages you practically turn "desktop" into "server".
Disclaimer: I'm not an expert, I may be wrong.
Related
openstack runs on ip address of the machine but chef server also demands to run on the same ip address on the web console. So what changes to be made to resolve this conflict on the linux os. What configuration files are required to be edited for openstack and chef server
Both OpenStack and Chef Server are generally distributed and installed as appliances. Both expect to control the whole machine. As such, while this is possible, it is very not recommended. That said, if you have OpenStack at your disposal just install Chef Server in a VM and problem solved.
I know there are loads of similar questions and I have tried so many solutions none of which work!
I have my first Ubuntu Server virtual machine (12.04) to practice my PHP skills on. I however can't get my php files from my host machine (windows 7) to the server!
I have tried installing: tftp, tftp-hpa, xinetd and a few others.
They all say "package is not an installation candidate. I have also looked at using shared folders but I cant get that to work either!
I know there isn't a lot of information here but I don't even know where to begin so let me know if any info will help!
You're propably mixing up FTP and TFTP. I think you're searching for an instruction to set up a normal ftp server. Try this tutorial.
If the server is reachable from the internet: Use a strong password, setup TLS / SSL and use your favorite FTP client software (e.g. FileZilla for Windows) to connect to the server.
If it's just a local development VM you can skip these steps.
I have a Debian server (VPS) and a Windows server (at home). I would like to backup periodically some paths of my Debian to My Windows server. My WS act as NAS and I use it for my all backup.
Firstly I started to configure a cron task with rsync on my Debian but as there is no native ssh server on Windows server it may not be the best solution. Then I was wondering if it would not be better to use my windows server to pull data from my debian to windows.
Here is the only link I found that make things on this way: http://troy.jdmz.net/rsync/
(server pull from client)
Also my windows server is at my home and it bring one constraint which is that I can change my home location, so my ip change too and all the configuration of router. I would like to just plug the windows server and let it continue to work normally.
What do you guys think about all of that ? Is it an elegant solution to make this on this way ?
Do I have to install cygwin with rsync ? Is it possible to set a periodic task on my windows server ?
Thanks in advance.
As you pointed out in your question - being that your Windows machine is behind a NAT router, it may be simpler for your windows machine to 'pull' files from your Debian VM, as opposed to your Debian VM 'pushing' files to your Windows machine. Pushing files from your Debian VM to your Windows machine would require you to setup some type of server on your Windows machine that would listen for incoming connections from your Debian VM on some designated port, it would required that you setup a port-forwarding rule on your NAT router, and it would require you to setup a dynamic DNS hostname that would change whenever your router's public IP changes. And, since you would be opening a port up to the public, it would also require you to take into account security considerations to make sure that nothing gets compromised.
So, pulling files to your Windows machine from your Debian VM would be simpler. One way to do this would be to install Cygwin and use rsync, as you mentioned. Another solution may be to install putty on the windows machine, then use pscp on the windows machine to copy files from the remote debian host to the windows machine. The pscp command can be scripted using a DOS batch script, Powershell, or any number of other windows scripting tools. See http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html for more info.
I'm setting up a linux server in a VM for my development.
Previously I've had PHP, MySQL etc etc all installed locally on my Mac. Apart from being a security risk, it's a drag to maintain and keep up to date, and there's a risk that an OS upgrade will wipe part of your setup out as the changes you make are fairly non-standard.
Having the entire server contained within a VM makes it easily upgradable and portable between machines. It means I can have the same configuration as the destination server and with shared folders even if the VM gets corrupted my work is safe on the host machine.
Previously with the local installation I was able to develop on convenient URLs like http://site.dev. I'd quite like to carry this over to the VM way of development but I'm struggling to figure out how, if it's possible at all.
Here's the problem:
In Bridged mode, the VM is part of the same network as the host. This is great but I can't choose a fixed IP address as I may be joining other networks and that address may be taken already. I'd like a consistent way of addressing my VM.
In NAT mode I can't directly address the VM without using port forwarding. I can use http://site.dev if I use the hosts file to forward that to localhost and then localhost:8080 forwards to the vm:80. The trouble is I have to access http://site.dev:8080 which is inconvenient for URL construction.
Does anyone know a way around this? I'm using ubuntu server and virtualbox.
Thanks!
The answer is to define a separate host-only network adapter and use that for host->guest communication.
You can do this by powering down the guest and adding the adapter in the VM settings. Once that's done you can boot the guest again and configure the new network interface however suits you best. I chose a fixed IP address in an unused range.
I setup Bitnami's LAMP Stack in a VMware Workstation on windows 7 and then installed CouchDB as per the installation guide. Everything seems to work locally in the VM through SSH.
After hours of looking for answers, I still can't access http://ipaddress:5984/_utils from the host computer. I checked the iptables and all the ports are all opened. I also changed the bind_address to 0.0.0.0 as explained in this serverfault question and still doesn't work. I'm setup the VM to use bridge networking with it's own IP. I also want to note that I can see the VM's apache page from my host when I access http://ipaddress, which tells me the problem might be in ports.
Does anyone know why this could be happening. The browser times out.
P.S I tried installing couchdb in AWS Free Tier but haven't succeeded. There's problems with many dependencies and the RPM package doesn't work.