Skip to main content

Posts

Showing posts with the label fedora

about systemd: how to change default runlevel (previously using inittab)

systemd does not use /etc/inittab file to change the default runlevel. systemd uses symlinks to point to the default runlevel. You have to delete the existing symlink first before creating a new one. # rm /etc/systemd/system/default.target example to switch to runlevel 3 : # ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target next example if you want to switch to run level 5 : # ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target another options that may apply : poweroff.target --> runlevel 0 rescue.target    --> runlevel 1 multi.user.target --> runlevel 2,3,4 graphical.target --> runlevel 5 reboot.target --> runlevel 6 source: http://fedoraproject.org/wiki/Systemd

openfire: instant messaging server

Openfire is a powerful instant messaging (IM) and chat server that implements the XMPP protocol. This document will guide you through installing Openfire. For a full list of features and more information, please visit the Openfire website: http://www.igniterealtime.org/projects/openfire/ A. INSTALLATIONS first download the binary package from : http://www.igniterealtime.org/openfire-3.8.1-1.i386.rpm then r un it using your package manager to install Openfire to /opt/openfire (as root): rpm -ivh openfire_3_0_0.rpm Note: if you are using the .tar.gz build, it does not contain a bundled Java runtime (JRE). Therefore, you must have JDK or JRE 1.5.0 (Java 5) or later installed on your system. You can check your java version by typing "java -version" at the command line and (if necessary) upgrade your Java installation by visiting http://java.sun.com. B. SETUP the database In the Openfire setup tool, use the following values: driver: com.mysql.jdbc...

sysVinit versus systemd

here are examples of the systemctl version of a few common chkconfig and service commands. 1. to list processes # chkconfig --list # systemctl list-units 2. to enable a service # chkconfig (servicename) on # systemctl enable (servicename).service 3. to disable a service # chkconfig (servicename) off # systemctl disable(servicename).service 4. to start a service # service (servicename) start # systemctl start (servicename).service 5. to stop a service # service (servicename) stop # systemctl stop (servicename).service 6. to see the status of a service # service (servicename) status # systemctl status (servicename).service or # systemctl is-active (servicename).service source: http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet

how to install gui on base server configuration installation of enterprise linux

this is tutorial how to install desktop environment on base server configuration installation of enterprise linux installation desktop environment (gnome) install several group packages below : # yum groupinstall “Base” # yum groupinstall “X Window System” # yum groupinstall “Desktop” # yum groupinstall “General Purpose Desktop” to install web browser application (mozilla firefox)  : # yum groupinstall “Internet Browser” to install office and mail client applications (openoffice.org, evolution)  : # yum groupinstall “Office Suite and Productivity” notes : *enterprise linux distribution on the example is Oracle Linux Server 6.0. *group package 'Office Suite and Productivity' is not available on DVD repository OLS 6.0.  *for fedora install group package “X Window System” and “GNOME Desktop Environment” only.

how to install and uninstall vmware player

this is tutorial to install and uninstall vmware player first install group package called Development Tools to your linux system # yum groupinstall “Development Tools” then obtain a copy vmware bundle package from  www.vmware.com   change the permission of the package # chmod 755 VMware-Player-4.0.2-591240.i386.bundle to install it simply type on terminal # ./VMware-Player-4.0.2-591240.i386.bundle or if you decide to uninstall it, simply  type # vmware-installer -u vmware-player

how to install oracle virtualbox 4.*

Install VirtualBox 4.0.8 on Fedora 15/14, CentOS/Red Hat (RHEL) 5.6/6 Virtualbox-logo-smallOracle VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. VirtualBox is a general-purpose full virtualizer for x86 hardware. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software. VirtualBox supports a large number of guest operating systems: Windows 3.x, Windows NT 4.0, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows 7, DOS, Linux (2.4 and 2.6), Solaris, OpenSolaris, OpenBSD. This guide shows howto install VirtualBox 4.0 (currently 4.1.2) on Fedora 15, Fedora 14, Fedora 13, Fedora 12, CentOS 5.6, Red Hat (RHEL) 5.6 and Red Hat (RHEL) 6. This howto uses Virtual Box yum repositories. 1. Change to root User su - ## OR ## sudo -i 2. Install Fedora or RHEL Repo Files cd /etc/yum.repos.d/ ## Fedora 15/14/13/12 and RHE...

Reminder: Fedora 16 end of life on 2013-02-12

Reminder: Fedora 16 end of life on 2013-02-12 Fedora 16 will reach end of life on 2013-02-12, and no further updates will be pushed out after that time. Additionally, with the recent release of Fedora 18, no new packages will be added to the Fedora 16 collection. http://lists.fedoraproject.org/pipermail/announce/2013-January/003138.html

how to reset root password

this is the tutorial how to reset your root password. it can be applied to redhat enterprise linux-based (oracle linux, centos, scilinux, fedora ). 1. restart your system, wait until it boot-up. press 'esc' to enter the GRUB menu 2. select from GRUB menu your linux kernel, it usually like this "kernel-vmlinuz-*" , press 'e' to edit 3. edit the at last line (it usually like this "rhgb linux quiet"), change it with :     rhgb linux single     or,     rhgb linux quiet 1 (this two lines above works well with fedora), or     rhgb linux single init=/bin/bash (use this line if the previous doesn't work, especially with enterprise-based distribution) press 'enter' then 4. back to the GRUB menu, choose the kernel and press 'b' to boot 5. wait for the system to boot-up and if the change succeed it will bring the system to login directly as root user 6. type command 'passwd' to enter your new root password note: ...

about sshd settings

ssh (secure shell) - service name : sshd - log file /var/log/secure* /var/log/audit/audit.log - default configuration files and ssh ports /etc/ssh/sshd_config     --> openssh server configuration file /etc/ssh/ssh_config     --> openssh client configuration file ~/.ssh/     --> user ssh configuration directory ~/.ssh/authorized_keys    ---> lists public key (RSA or DSA) that can be used to log into the user's account /etc/nologin     --> if the file exists, sshd refuses to let anyone except root log in /etc/hosts.allow   /etc/hosts.deny     --> these two file are access control list that should be enforced by tcp-wrappers defined here - ssh default port    ---> tcp:22 - examples of using tcp wrappers for sshd allow ssh only from 192.168.1.2 172.16.23.12 put the line in /etc/hosts.allow sshd : 192.168.1.2 17...

mariadb yum repository

# MariaDB 5.5 repository list - created 2013-01-24 12:38 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/5.5/rhel6-x86 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 # MariaDB 5.5 repository list - created 2013-01-24 12:38 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/5.5/centos6-x86 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 # MariaDB 5.5 repository list - created 2013-01-24 12:38 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/5.5/fedora16-x86 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1

chromium yum fedora repository

# Place this file in your /etc/yum.repos.d/ directory [fedora-chromium-stable] name=Builds of the "stable" tag of the Chromium Web Browser baseurl=http://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-$releasever/$basearch/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [fedora-chromium-stable-source] name=Builds of the "stable" tag of the Chromium Web Browser - Source baseurl=http://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-$releasever/SRPMS enabled=0 skip_if_unavailable=1 gpgcheck=0

yum fedora repository (kambing.ac.id)

# /etc/yum.repos.d/kambing-ui-fedora.repo [kambing-ui] name=fedora baseurl= http://kambing.ui.ac.id/fedora/releases/15/Everything/i386/os enabled=1 gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora- $basearch # /etc/yum.repos.d/kambing-ui-updates-fedora.repo [kambing-ui-updates] name=fedora baseurl= http://kambing.ui.ac.id/fedora/updates/15/i386 enabled=1 gpgcheck=1 gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora- $basearch