Archive

Linux palvelimena

This is a small post on my search of the most affordable PC system to switch from my current setup
(Asrock miniPC, based on Atom 330 with Nvidia Ion graphic system).
It has been a great system for my humble needs, except my gaming passion for the World of tanks -game. Yeah, I know, Asrock Ion 330 is NOT a gaming setup, and it was actually not bought for playing (but since it could, I used it this way too)). Good enough, as they say. It could handle World of tanks on minimal settings up to recent update (0.9, I think, after which FPS dropped to 6…14). Other than that – a great small and silent computer!
Read More

Advertisements

Asennetaan apache web-palvelin:
sudo apt-get install apache2

Then a sub-directory specifically to contain the web-pages is created (public_html -sub-directory in user’s home directory) and apache userdir -module is activated Read More

  1. Tee oma metapaketti.
  2. Lisäksi vähintään kaksi seuraavista:
    • tee metapaketteja dependicer:illa
    • allekirjoita paketti (debsign)
    • tee pakettivarasto (reprepro)
    • tee paketti, joka asentaa tekemäsi skriptin (man equivs, Files)
    • (vaikea) tee paketti, joka vastaa kysymyksiin; esim. postfix, mysql-server tms asennuksessa (debconf-get-selections, pre-install script)

22:59 Ensiksi equivs -paketti oli asennettu. Sitä voi käyttää metapakettien rungon (sceleton) rakentamiseksi:
sudo apt-get install equivs
Read More


Tehtävät:

* Main messages in the system log;
/Listaa tärkeimmät viestit lokista (laita lokit näytölle ja aiheuta itse lokitapahtumia; tee selkeä kooste)

* Processes management (commands, process names and so on);
/Tarina prosessien hallinnasta (tee koneella; nimeä käskyt, prosessit jne)

* Draw some diagrams, displaying the processes (e.g., munin).
/Piirrä käyriä koneen tilasta (esim., munin)


Read More

After booting Ubuntu, let’s first update the system by entering the terminal command:

sudo apt-get update

Then to install ssh-server we search for the ssh-server using the apt-cache utility:

apt-cache search ssh-server

And when the needed packet is found (here, it’s the ssh-server), it is installed by entering:

sudo apt-get install ssh-server