Порівняння попередніх версійПопередня ревізіяНаступна ревізія | Попередня ревізіяНаступна ревізіяПо сторонах наступні версії |
uk:slackware:beginners_guide [2015/11/12 00:36 (UTC)] – streamthreader | uk:slackware:beginners_guide [2015/11/14 23:41 (UTC)] – [Slackware Documentation] streamthreader |
---|
</code> Запущений скрипт, запропонує приклад командного рядку ''mkinitrd'' (виконувати від користувача root) для генерації образу ''initrd.gz''. | </code> Запущений скрипт, запропонує приклад командного рядку ''mkinitrd'' (виконувати від користувача root) для генерації образу ''initrd.gz''. |
| |
| * Якщо ви встановили завантажувач системи LILO (використовується за замовченням у Slackware), вам знадобиться зробити зміни у його файлі налаштувань ''/etc/lilo.conf'', додавши секцію в розділ Slackware, як наприклад: |
* Якщо ви встановили LILO (завантажувач системи, за замовченням використовується у Slackware), вам знадобиться зробити зміни у його файлі налаштувань ''/etc/lilo.conf'', додавши секцію в розділ Slackware, як наприклад: | |
<code> | <code> |
image = /boot/vmlinuz-generic-3.2.29 | image = /boot/vmlinuz-generic-3.2.29 |
initrd = /boot/initrd.gz # add this line so that lilo sees initrd.gz | initrd = /boot/initrd.gz # додайте цей рядок щоб lilo побачив initrd.gz |
root = /dev/sda1 | root = /dev/sda1 |
label = Slackware | label = Slackware |
read-only | read-only |
</code> Actually, the "''mkinitrd_command_generator.sh''" script will show an example section which can be added to ''/etc/lilo.conf'' if you pass it the name of the generic kernel as an argument, like this: <code> | </code> Взагалі скрипт "''mkinitrd_command_generator.sh''" покаже вам приклад секції, яку можна додати у файл ''/etc/lilo.conf'' якщо передати ім'я generic ядра як аргумент, наприклад: <code> |
# /usr/share/mkinitrd/mkinitrd_command_generator.sh -l /boot/vmlinuz-generic-3.2.29 | # /usr/share/mkinitrd/mkinitrd_command_generator.sh -l /boot/vmlinuz-generic-3.2.29 |
</code> Note that it is recommended to //add a new section// instead of editing the existing kernel image section. Assign a unique label to your new section. After reboot, LILO will give you two options: to boot into your freshly added generic kernel, or to boot into the failsafe huge kernel (of which you are certain that it will work). | </code> Відзначте, що рекомендовано //додати нову секцію// ядра, замість редагування вже існучої. Призначте унікальне ім'я для нової секції. Після завантаження, LILO запропонує два варіанти: завантажити щойно додане generic ядро, чи завантажити аварійно (failsafe) huge ядро (ядро яке точно працює). |
* After making the changes to ''/etc/lilo.conf'' you have to save the file and then run <code> | * Після внесення змін у ''/etc/lilo.conf'' ви можете зберегти файл, а потім виконати <code> |
# lilo -v | # lilo -v |
</code> to make your change permanent. Then, reboot. | </code> для внесення змін як постійних. Після чого, зробіть перезавантаження. |
| |
<note important> | <note important> |
* Have a look at ''mkinitrd'' manual page (''man mkinitrd'') for more information. | * Щоб дізнатись більше, перегляньте керівництво по ''mkinitrd'' (''man mkinitrd''). |
* If you use grub or another bootloader, then make changes which are applicable to the program you use. | * Якщо ви використовуєте grub чи якийсь інший завантажувач, зробіть зміни згідно з вашою програмою. |
* If you try to use the generic kernel without creating an ''initrd.gz'', then booting will fail with a kernel panic. | * Якщо ви спробуєте використати generic ядро, але не створивши ''initrd.gz'', завантаження призведе до паніки ядра (kernel panic). |
</note> | </note> |
| |
| ===== Запустіть графічне оточення стільниці ===== |
| |
===== Start a Graphical Desktop Environment ===== | ==== Налаштування X серверу (графіка), за необхідності ==== |
| [[http://x.org|X.Org]] це фреймворк X-Window який використовується у Slackware. Сервер X за звичай, автоматично визначить вашу графічну картку, та завантажить відповідні драйвери. Якщо автоматичне визначення не спрацювало (X падає при старті), ви повинні створити файл ''/etc/X11/xorg.conf'' та встановити коректні налаштування вашого адаптеру та роздільну здатність дисплею. Ви можете використовувати <code> |
==== Configure X If Required ==== | |
[[http://x.org|X.Org]] is the X-Window framework used in Slackware. The X server will usually auto-detect your graphics card and load applicable drivers. If auto-detect does not work (X crashes on startup), you will need to create a file ''/etc/X11/xorg.conf'' and set the correct options for your graphics card and display resolution. You can use <code> | |
# X -configure | # X -configure |
</code> to generate a basic ''xorg.conf'' configuration file in your current directory. This file can then be customized and placed in the ''/etc/X11/'' directory. For a detailed overview of X configuration, check the ''xorg.conf'' manual page (''man xorg.conf''). | </code> для створення в вашій поточній директорії, файлу базового налаштування ''xorg.conf''. Цей файл потім можна відредагувати, та розмістити в директорії ''/etc/X11/''. Щоб дізнатись докладніше про налаштування серверу X, подивіться керівництво по ''xorg.conf'' (''man xorg.conf''). |
| |
==== Non-free Display Drivers ==== | ==== Не вільні драйвери для зображення ==== |
| |
Many people use computers with a modern graphics card powered by a Nvidia or Ati GPU (graphics processing unit). The vendors of these high-performance graphics card offer non-free (proprietary binary-only) drivers for their cards. These binary-only drivers will boost your computer's graphical and in particular [[wp>OpenGL|OpenGL]] performance. If you own such a card you may want to read our Wiki article "[[slackware:amd_nvidia|Proprietary Graphics Drivers]]". | Багато людей використовують комп'ютери з сучасними графічними картами, в яких працює GPU (Графічний Процесор) розроблений компанією Nvidia чи Ati. Розробники цих потужних карток пропонують для них не вільні (non-free) (пропрієтарні та тільки бінарні) драйвери. Ці бінарні драйвери прискорюють графічні можливості комп'ютера, і зокрема продуктивність [[wp>uk:OpenGL|OpenGL]]. Якщо ви володар такої картки, ви можливо забажаєте почитати статтю у нашій Wiki "[[slackware:amd_nvidia|Пропрієтарні графічні драйвери]]". |
| |
==== Choosing a Desktop Environment/Window Manager ==== | ==== Вибір графічного оточення стільниці та менеджеру вікон ==== |
| |
To choose the [[slackware:window_manager|Window Manager]] or [[slackware:desktop_environment|Desktop Environment]] you wish to use, run the ''xwmconfig'' utility: <code> | Щоб обрати [[slackware:window_manager|менеджер вікон]] чи [[slackware:desktop_environment|робочій стіл]] ви можете використовувати утиліту ''xwmconfig'': <code> |
$ xwmconfig | $ xwmconfig |
</code> and select one of the available options. Note that you can run the ''xwmconfig'' command as the ''root'' user which will set a global default for all users. By running the same command as your ordinary user account, you override that global default and pick your own. \\ After making your choice you can simply run <code> | </code> та обрати одну з доступних опції. Зауважте, ви можете запустити команду ''xwmconfig'' як користувач ''root'', і зміни будуть зроблені глобально для усіх користувачів. Якщо виконати цю команду від імені вашого користувача, то ви зімнете свої налаштування з глобальних, на персональні (глобальні налаштування для усіх інших залишаться). \\ Після того як ви зробили вибір, виконайте команду <code> |
$ startx | $ startx |
</code> | </code> |
Your preferred Desktop Environment or Window Manager will then start up. | Та запуститься ваш улюблений робочій стіл чи менеджер вікон. |
| |
==== Graphical Login ==== | ==== Графічне вікно входу ==== |
| |
To start with a graphical login screen on boot instead of Slackware's default console login, change the default runlevel to 4. Edit the file ''/etc/inittab'' and change the line that looks like | Замість консольного діалогу входу до системи яке використовується у Slackware, можна зробити графічне вікно входу, змініть параметр runlevel на 4. Відредагуйте файл ''/etc/inittab'' та змініть рядок який виглядає так |
id:3:initdefault: | id:3:initdefault: |
to | на |
id:4:initdefault: | id:4:initdefault: |
Note the difference from other Linux distributions; many of those use runlevel 5 for their graphical login. In Slackware, runlevel 5 is identical to runlevel 3 (console boot). | Зауважте, різницю між іншими Linux дистрибутивами; більшість з них використовує runlevel 5 для свого графічного діалогу. У Slackware, runlevel 5 ідентичній runlevel 3 (консольний режим). |
| |
In the graphical runlevel, you will be greeted by one of the available display (login session) managers. Slackware will by default look for the availability of GDM (Gnome Display Manager), KDM (KDE Display Manager) and XDM (X Display Manager) - in that order. You can also install a third-party login manager like [[howtos:window_managers:slim|SliM]] but you will have to edit ''/etc/rc.d/rc.4'' and add a call to your new session manager all the way at the top. | В графічному runlevel, вас буде вітати один з доступних менеджерів дисплея (вікно входу). Slackware за замовченням дивиться доступність менеджерів у наступній послідовності: GDM (Gnome Display Manager), KDM (KDE Display Manager) та XDM (X Display Manager). Ви також можете додати якийсь інший менеджер входу, як наприклад [[howtos:window_managers:slim|SliM]], але вам потрібно відредагувати файл ''/etc/rc.d/rc.4'' додавши секцію виклику нового менеджера, на саме перше місця. |
| |
===== Further Exploration ===== | ===== Подальше дослідження ===== |
| |
==== The Command Line ==== | ==== Командний рядок ==== |
| |
It may be of interest to new Linux users to explore the command line a bit more before installing a graphical desktop, just to learn some shell commands and applications available in non-graphical mode. Slackware excels in having an abundance of command line programs for a wide range of tasks. \\ For instance, web browsing can be done with lynx or links, which are console based web browsers. You can listen to music (even network audio streams) on the console using audio players like moc, mpg123, ogg123. | Новим користувачам Linux, може бути цікаво більш детально пізнати командний рядок, перед тим як встановлювати графічний робочий стіл, просто вивчіть декілька команд та програм в не графічному режимі. В Slackware безліч програм для консолі, для великого обсягу завдань. \\ Наприклад, веб браузер який може бути lynx чи links, обидва розроблені для консолі. Ви можете прослуховувати музику (чи навіть інтернет радіо) в консолі використовуючи один з плеєрів, наприклад moc, mpg123 чи ogg123. |
| |
==== Mixing 64-bit with 32-bit ==== | ==== Змішування 64-біт та 32-біт ==== |
| |
If you just installed the 64-bit version of Slackware (often called //slackware64// or //Slackware for x86_64//) you will soon discover that it will refuse to run 32-bit programs like [[http://winehq.org|Wine]]. You may want to read our page on [[slackware:multilib|adding multilib capabilities]] in that case. | Якщо ви встановили 64-бітну версію Slackware (яку часто називають //slackware64// чи //Slackware для x86_64//) ви скоро побачите, що вона не дозволяє виконувати 32-бітні програми, як наприклад [[http://winehq.org|Wine]]. В цьому випадку, вам мабуть потрібно почитати сторінку [[uk:slackware:multilib|додавання можливості мультибібліотченості (multilib)]]. |
| |
==== Slackware Documentation ==== | ==== Документація Slackware==== |
| |
Even a Slackware user can benefit from good documentation (why else are you reading this?). Our suggestion is that you browse this Wiki for additional tips and HOWTOs. And don't forget to check out the root directory of the Slackware DVD or CD1! You'll find Slackware's own main documentation there. Every text file there is worth a read. | Навіть користувачі Slackware, можуть користатись документацією (чому ще ви читаєте цю статтю?). Ми пропонуємо вам подивитись цю Wiki для пізнання нових трюків та нюансів. Та не забудьте перевірити в корені DVD чи CD дисків Slackware! Ви тут знайдете основну документацію Slackware. Тут кожен текстовий файл корисний для читання. |
| |
===== Upgrading the System ===== | ===== Upgrading the System ===== |