Difference between revisions of "Main Page"
m (→^ Shell scripting) |
(→^ Linux Administration) |
||
Line 29: | Line 29: | ||
* [http://www.pontikis.net/blog/debian-upgrade-wheezy-to-jessie Debian upgrade from wheezy to jessie] | * [http://www.pontikis.net/blog/debian-upgrade-wheezy-to-jessie Debian upgrade from wheezy to jessie] | ||
+ | |||
+ | |||
+ | |||
+ | <!-- comment --> | ||
+ | |||
+ | == Linux User Space Configuration == | ||
+ | |||
+ | |||
+ | <b>To configure <code>xserver-xorg</code></b> | ||
+ | |||
+ | Snippet from work on getting xserver-xorg to recognize a 1920x1080 native resolution monitor, ViewSonic VX2250 Series monitor . . . | ||
+ | |||
+ | <pre> | ||
+ | |||
+ | ted@localhost:~$ gtf 1920 1080 60 | ||
+ | |||
+ | # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz | ||
+ | Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync | ||
+ | |||
+ | ted@localhost:~$ lsb_release -a | ||
+ | No LSB modules are available. | ||
+ | Distributor ID: Debian | ||
+ | Description: Debian GNU/Linux 8.9 (jessie) | ||
+ | Release: 8.9 | ||
+ | Codename: jessie | ||
+ | |||
+ | ted@localhost:~$ | ||
+ | |||
+ | </pre> | ||
Revision as of 16:07, 12 October 2017
MediaWiki installation at Neela Nurseries, 2017 June
Consult the User's Guide for information on using the wiki software.
Contents
- 1 Getting started - this is MediaWiki's default main page section
- 2 ^ Linux Distributions for Download
- 3 ^ Linux Administration
- 4 Linux User Space Configuration
- 5 ^ Shell scripting
- 6 ^ How To Use Git
- 7 ^ Drupal Content Management
- 8 ^ Composer, a dependency manager of PHP
- 9 ^ Geography and Science
- 10 ^ Music and Culture
- 11 ^ Outdoors
Getting started - this is MediaWiki's default main page section
- Configuration settings list
- MediaWiki FAQ
- MediaWiki release mailing list
- Localise MediaWiki for your language
- Learn how to combat spam on your wiki
^ Linux Distributions for Download
- Ubuntu Linux supported releases, 32-bit and 64-bit
- Debian Linux releases description and list
- Arch Linux download
^ Linux Administration
Linux User Space Configuration
To configure xserver-xorg
Snippet from work on getting xserver-xorg to recognize a 1920x1080 native resolution monitor, ViewSonic VX2250 Series monitor . . .
ted@localhost:~$ gtf 1920 1080 60 # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync ted@localhost:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.9 (jessie) Release: 8.9 Codename: jessie ted@localhost:~$
^ Shell scripting
A well-written and comprehensive guide to bash shell scripting:
Simple bash script to back up MYSQL databases to local .sql file, in following figure. Ted noting that script variables are not consistently capitalized, would be better form to capitalize all or none of them. Ted also noting that script could read database user passphrase from a file, a file which could be root-only readable and located in a place different from the script, which is likely to be run as a cron job.
Figure x - shell script to dump MYSQL databases, first draft script:
#!/bin/bash DATABASE_LIST="information_schema mysql phpmyadmin wikidb database_1 database_2 database_3 ..." SERVER_NAME="example_database_server" user="root" pass_phrase_for_mysql="database-passphrase" options_extra="--skip-lock-tables" response="n" mode_interactive="n" echo "shell script starting," for database in ${DATABASE_LIST}; do echo "backing up $SERVER_NAME database $database . . ."; # command="mysqldump --databases $database -u$user -p$pass_phrase_for_mysql $options_extra >> au-database-back-up--${database}.sql" command="mysqldump --databases $database -u$user -p$pass_phrase_for_mysql $options_extra" redirect="au-database-back-up--${database}.sql" if [ $mode_interactive = 'y' ]; then echo "build command '$command' and database back-up filename'$redirect'," echo "full command will be '$command' > '$redirect'," echo "trying running this command and redirect? [y/N/q] yes, no, 'q' to quit" read response if [ $response = 'Y' -o $response = 'y' ]; then ${command} > $redirect elif [ $response = 'N' -o $response = 'n' ]; then echo "skipping present command . . ." elif [ $response = 'Q' -o $response = 'q' ]; then echo "stopping script '$0' and exiting." break fi echo else echo "$0: backing up database '$database' to file '$redirect' . . ." ${command} > $redirect ls -l $redirect fi done echo "done." exit 0
^ How To Use Git
Wanting to understand and use git
better, here are some on-line references to git
version control. Also, Ted searching for a git
reference posted by a female author, can't remember name but reference well-written with lots of commands and concise explanations of each command. First URL reference may be that page, now 2017-10-02 not sure of the author's name . . .
Basic git commands:
Git references found while answering specific git task questions:
- Create new git repository by Karl Broman
- Add existing project to Github
- rename a file under Git version control
- git-diff
^ Drupal Content Management
- Drupal 8 documentation . . . there are also mentioned Drupal major releases 6 and 7 - TMH
2017-08-23
- Nodes represent content in Drupal context
- Views
- Flag
- Rules . . . see 2017-09-01 entry for more rules document links, below.
- Page manager
2017-08-23 - Drupal installation . . .
- Install Drupal 8
2017-08-24
- After stepping through install script . . .
2017-08-25
2017-08-30
Ted looking for information on how Drupal can aid setting up dynamic, site navigation menus:
- Adding menu items to your site map
- Adding menu items to your site map, latest major 2017 Drupal release
2017-09-01
^ Composer, a dependency manager of PHP
^ Geography and Science
^ Music and Culture
- A R Rhaman - cantante, compositor y mas
- liricos de Mann Chandra
- liricos y revista de Mann Chandra por Aman Sharma
^ Outdoors