Diskless Howto

From SoL 25 Wiki

Jump to: navigation, search

The diskless/live mode has no limitations concerning the software. Since the SoL Filesystem Layout uses strict separation of data, configuration and programs it is possible to do anything in the live/diskless mode. But remember: when you shut down, all data is lost! To backup what you have done, you can use any external storage device (USB stick, network directory,....)

[edit] Configure X

After the system has booted, login with "root/root" and enter at the prompt:

./Xsetup.sh de vesa 

Use "en" if you have an english keyboard layout. To start the X session, enter

startx

[edit] Enable network connections

If you want network, enter this at the prompt:

dhcpcd eth0

Now you can access any host on the network (or even the internet). Do a check:

lynx http://www.sol-linux.com

[edit] Start a webserver & mysql server

/etc/rc.d/bin/sol-httpd.sh up
/etc/rc.d/bin/sol-mysql.sh up

You can now access the local webserver with firefox (when using X) or from the command line with:

lynx localhost

To access the database use:

mysql

To change the website or even do some PHP scripting go to:

cd /var/www/htdocs/
Views
Personal tools