Today I began working on my server around 7:15 PM. I booted up the server, and lo and behold, the PHP functions are working. So I navigate to the /wiki page to configure it. I went through the list of items, and entered all of the information necessary. When I got to the step where it asked which database to use, I went and researched how to make a database in MySQL, so I went and did that. I also created a user and assigned All capabilities to that username and password. So I went back to the wiki setup, entered the information, and it created a wiki. The time is now 7:55 PM.
Following this, I installed the VSFTPD (Very Secure File Transfer Protocol Daemon), which will allow me to easily upload files to the sever from other computers. So, I created a username for the wiki folder, assigned it a password, and assigned it as the owner of the folder containing the wiki. This way, should I need to upload any files, I can log-in remotely and upload the files directly into the necessary folders. I'm also changing the VSFTPD configuration file, to suit my needs, and to keep the server safe and running.
[Specifically, I am changing the line from allow anonymous FTP to anonymous_enable=NO, so that anonymous users cannot gain access to the server to upload potentially harmful files, or gain access to the system. I've also uncommented the line "local_enable=YES" so that users with an account already on the system may login with their normal account information. Upon restarting the ftp server daemon, the new changes take affect. Done at 8:15 PM.]
I am running this server at home, so I'm using a router so that I only need to own and pay for one IP address to my home. The router allows the function that web requests can be forwarded to specific IP addresses on the internal network, and for specific ports. The normal port that apache listens on is 80, however that's already being taken by another server. So, I edited the /etc/apache2/ports.conf file, to listen on port 80, and 8080. I restarted the server, and made the necessary change in the router's configuration. So, when someone searches for that address to that server, which will be a webforward including that port number, (as of the moment it is http://74.69.29.67:8080) it will be forwarded to the wiki server. Done at 8:40 PM.
Tuesday, April 1, 2008
Subscribe to:
Posts (Atom)