![]() ![]() ![]() Using this LAMP machine allows you to install a Local Wiki. The most straight forward way to setup and maintain a web server is to create a LAMP (Linux, Apache, MySQL, PHP) machine. I introduce my experience this way because I am going to give you much shorter ways to work with a local web server. It is fun but a lot of work, since then I have gotten better tools, but my primary tool is still an editor. I learned to create web pages with and editor and a tutorial. Which means that I am used to doing lots of typing and configuring. I have been playing with computers since about 1980. One of the first uses I made of my server is to host information I find useful. So both my laptop data and my server data is available in case of disaster. I have then taken the step of backing up my server to a cloud backup service. This allows me to backup information from my laptop onto a second machine for safe keeping. I have a link to each one so I do not need to remember how to access them.īecause I have multiple computers in my house, I use my server as the backup machine. I have four other boxes in my home that have web control pages. These are programmed to turn on some lights around the house at dusk, and turn them off at about 1:00 AM. I have installed a series of X10 boxes around my house to turn lights and appliances on and off. Additionally I have remote audio servers in specific rooms in the house. I have a logitech radio which uses it’s own media server to play on a radio. I have a media server that is accessable from any computer. I have pictures that I and my wife have taken over the years. I have a number of CDs and downloaded music that I store on my server. Sometimes I download a useful web page and then upload it to my web site. But that assumes I remember whet information is on the page. ![]() I use a web server to store useful information and links to web sites. This is by no means a complete list, but just something to consider. Now that you have you server setup, lets discuss some of things you can use it for. You will need it when you initially access the box. There are instructions at Set static IP Ubuntu 16.04.īe sure to write down the IP address. But for now, I recommend you configure the box for a static IP address. Later I will show you how to add a name server to your server so you can find it by name. One issue with a headless server, is that you need to know where it is. This does not mean you can not use Graphical programs, but since you are managing the computer remotely you don’t need the display manager running on the server. This resets the default startup target to command line. Sudo systemctl set-default multi-user.target So if you are using Ubuntu 16.04 I would use the following code: sudo systemctl enable multi-user.target -force Mapping between runlevels and systemd targets Here is a comparison of the old to the new. But with the new systemd startup you need to enable a different target. In the past you used to change the run level to turn off the X-Client. But, I think it makes sense to disable starting the Display manager, since it is only for the local user. What I mean is that there is not really any change in the basic configuration of the server to use it headless. Instead I am just going to point you to Installing Ubuntu Server for general use. Since I don’t believe in duplicating instructions, I am not going to describe how to install the Ubuntu Server. The biggest difference will be in keeping the system up to date. Either will work for what you want to do. Or you can choose something like Centos which is designed for Server use directly. Remember that the plan is for this computer to end up in a closet where you are not working on it directly.Īs far as software goes, you can choose something line Ubuntu Server LTS which is easy to install and maintain. Additionally, you do not need a fancy graphics card, but you might want a little more memory. You should probably go for a desktop box since you might want to add additional hard disks to the box in the future. An inexpensive desktop machine will serve just fine as a server. Now you need to decide what type of hardware and software to use. OK, you decided that you want to setup a Linux server. I will assume you are running Windows on your laptop or desktop machines, although Linux has some special advantages working with a Linux server. Due to the stability of Linux and scheduling capabilities they make good servers.įor today lets explore what you can do with a server to enhance your home. Servers often run headless (without a monitor, keyboard, and mouse) tucked away in a closet. We have talked about Linux on a desktop machine, but one of the real strengths of Linux is it’s use as a server.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |