project A DOS® Server In a Virtual Machine |
The Debian Web ServerTable Of Contents:
The Latest NewsThe system's kernel has been updated up to the version 3.14. The operating system works quicker.This distro has been fully integrated with VirtualBox at the low level (in the Linux kernel) since the newest release was out. AboutThis is a distribution (see "Debian_6_0_root_pass_123.vhd") of a Debian system. It consists of a web server, PHP 5.3.3-7+squeeze15 and MySQL 5.1.66-0+squeeze1.It is based on Debian GNU/Linux 6.0 Squeeze and is easy to be used. The only thing you should do is just running it either on VirtualBox or on Microsoft Virtual PC. (Although, Virtual PC has not been tested yet by me.) On VirtualBox, it works well. To make it available for users, use a NIC as a network bridge on the virtual machine. Also, you should have a DHCP server on your network to be able to get an IP address for the given server by default. Otherwise, you may do one of the following things:
User AccountsThere are three accounts set on the system. They are the superuser (root) and ordinary users.To login, type as follows:
From root, you may do whatever you want to. An ordinary user is restricted within narrow limits. To make the system stable, it is supposed to frequently work from the "user" account. The "root" one is for crucial changes, only. The "user01" account is available to manage files and directories on the web hosting. Getting StartedNothing is required to do, because everything runs by default (as you may have already guessed). The server was designed to be used by a user who isn't well-qualified at computer science (I hope I succeeded in it).Uploading FilesBy now, it has worked over flash drive usage to upload files. Insert a corresponding medium. (Don't forget to make settings in VirtualBox.)Then, mount the device by typing a command (root privilege is needed): mount /dev/sdb1 /mnt/flash Since then, you've been able to use your flash drive through /mnt/flash even if you work from the "user" account. To unmount, type (root privilege is needed): umount /mnt/flash Also, you may upload files and directories through remote access. To do it, use the SMB protocol. By default, the server is called "debian001srv".
On Microsoft Windows, type as follows: \\debian001srv The server will ask you a login and a password to authorize. On Linux, you can use the "smbclient" application in the console: smbclient "//debian001srv" --user="user01" Besides, there's the FTP server which is able to receive and to transfer files and directories. There are two accounts preset on it:
Remote AccessA user can get remote access to the server through SSH.There are two users being available for that. They are: "user" and "user01". To get connected, use the following data:
What's On The HostingSome pages have been already installed. To get access, log in as "user01" and then type as follows:ls -l ~/www/ You'll see files and directories. Also, you may use "The Midnight Commander" by typing "mc" into the console. If editing, you may use the "nano" editor. There's phpMyAdmin installed on the system. On a LAN, using a web browser, type the following: http://debian001srv/pma/ phpMyAdmin is a web interface to manage your MySQL databases. By default, the MySQL "root" user may be reachable via:
It is strongly recommended to change these data (at least, the password). You can see MySQL's databases directly by typing as follows: ls -l ~/mysql/ To find out a direct path to MySQL, type into phpMyAdmin: SELECT @@datadir; Server ShutdownThere's nothing more easy to power off the server than just typing as follows (root privilege is needed):poweroff That's all. Getting In Touch With MeIf you want to contact me, you may email me at nspu@list.ru. Also, I am obtainable at irc.ru54.com:6667, #nostalgy (a retrocomputing channel) and at irc.rubbermallet.org:6667, #wtfpwnt (a dong addicted channel). }:A You may find me at SSL irc.ohnopub.net:6697#retrobox or irc.ohnopub.net#retrobox as well.I am open for any discussion and questions. Created April 30-th, 2013. Copyleft Artem V. Efremov, nspu@list.ru [part 1, 650 Mb] [part 2, 650 Mb] [part 3, 650 Mb] [part 4, 135 Mb] |