Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home
edit
Tags: [vi, editor, command]  ...
... Client - Free IPv6 tunnel B-deps: R-deps: WWW: http://www.go6.net/ Install: cd /usr/ports/net/gateway6 make install clean Edit the configuration file /usr/local/etc/gw6c.conf userid ...
We have Ubuntu 8.10 Intrepid Ibex Server Edition, coming out to the network via PPP and working with the intranet IP through NAT. Task: to give him a real, white IPv6-address, and make its IPv6-based ...
Update ports collection: Edit /usr/share/examples/cvsup/ports-supfile and run: cvsup-G-L 2 ports-supfile Search: make search Key = "line" - search package by keyword. make search name = "line"- ...
... usr/src/sys/amd64/conf GENERIC ROUTER editing our new kernel and adding new features: cpu HAMMER ident ROUTER makeoptions DEBUG=- G # Build kernel with gdb (1) debug symbols options IPFIREWALL # ...
... the vi text editor to edit the file filename a Add text after the cursor h Moves the cursor one character left j Moves the cursor down one line k Moves the cursor up one ...
... "a few radical changes." One such change will be the new interface Ubuntu Netbook Edition, as well as increase speed and download speed of the system. Simultaneously, the OS will include new cloud services, ...
...  Apr 2 11:14:17 localhost kernel: [] (usb_hcd_irq+0x0/0x4b) Apr 2 11:14:17 localhost kernel: Disabling IRQ #153 Solution Edit grub.conf delete “all-generic-ide” and add acpi=off apm=off disable ...
This how to shows how to enable root log in on fedora GUI Desktop. Open Terminal from Applications -> System Tools Type su - and then insert root pasword Edit /etc/pam.d/gdm configuration ...
10. diff
... slows down the diff). -e generates a script editor ed to convert the file first_file in second_file. -f generates output similar to -e, but in reverse order. -i ignores case of characters. -l sends ...
If You want that MySQL listen only to localhost edit the mysql configuration file /etc/my.cnf and change bind-address=127.0.0.1 ...
... and running, if not do this steps: Install open-ssh server yum install openssh-server /etc/init.d/sshd start First locate and edit config files SSH server configuration file - /etc/ssh/sshd_config ...
... -u root -r Edit the cron tab jobs # crontab -e Edit the user's cron tab jobs # crontab -u root -e Install cron job for user root from file /var/spool/cron/root content # crontab -i ...
Creating Password Create htpasswd file for current (pwd) path # htpasswd -mc .htpasswd yourusername Insert new password Create .htaccess file for current path # touch .htaccess # mcedit .htaccess Paste ...
Download Kernel from http://kernel.org Extract package # tar xjf linux-2.6.19.tar.bz2 # cd linux-2.6.19 Modify /etc/modprobe.conf to avoid error message # mcedit /etc/modprobe.conf Comment mptscsi ...
Get swap # mcedit /proc/swaps # swapon -s Gem all memory (swap, RAM) # /proc/meminfo Show logical volums # mcedit /etc/fstab Create Swap File Create swap file 1 GB # dd if=/dev/zero of=/swapfile ...
...  Sytem Configuration # system-config-network # system-config-display # system-config-packages # system-config-... Show Logical Volums # mcedit /etc/fstab Get Swap Size # cat /proc/swaps ...
For creating transparent proxy we need edit squid.conf and add iptables rules. Edit /etc/squid.conf file with your favorite editor, example vi # vi /etc/squid.conf Add or change this lines. http_port ...
... this testu:*:1004:1002:testu:/home/testu:/usr/sbin/nologin testa:*:1005:1003:teata:/home/testa:/usr/sbin/nologin Create groups named 'all' and 'admin' and edit /etc/group file like this all:*:1002:testa ...
... login shell.     edquota Used to edit user or group quotas. This program uses the vi editor to edit the quota.user and quota.group files. If the environment variable EDITOR is ...

Useful Links

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)