Skip to content

Commit 5509128

Browse files
committed
rename folders
1 parent a580c82 commit 5509128

File tree

80 files changed

+7450
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+7450
-0
lines changed

Gemfile

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
source "https://rubygems.org"
2+
gem "jekyll", "~> 3.8.7"
3+
gem "minima", "~> 2.0"
4+
group :jekyll_plugins do
5+
gem "jekyll-feed", "~> 0.6"
6+
gem "jekyll-sitemap"
7+
gem "jekyll-toc"
8+
gem "jekyll-seo-tag"
9+
gem "jekyll-coffeescript"
10+
gem "jekyll-commonmark-ghpages"
11+
gem "jekyll-gist"
12+
gem "jekyll-github-metadata"
13+
gem "jekyll-paginate"
14+
gem "jekyll-relative-links"
15+
gem "jekyll-optional-front-matter"
16+
gem "jekyll-readme-index"
17+
gem "jekyll-default-layout"
18+
gem "jekyll-titles-from-headings"
19+
gem "jekyll-theme-hacker"
20+
end

_devices/Catalyst Cheatsheet.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
---
3+
4+
# Catalyst Cheatsheet
5+
6+
* Display information about the ports, including those in private VLANs `show interface switchport`
7+
* Display summary information for all VLANs `show vlan`
8+
* Display summary information for all private VLANs `show vlan private-vlan`
9+
* Display mac addresses `show mac address-table` or `show mac-address-table`
10+
* `show interface vlan vlan-id [ brief | private-vlan mapping ]`
11+
* `show vlan id vlan-id` example: `show vlan id 120`
12+
* `show interface status err-disabled` or `show interfaces status err-disabled`
13+
* show port security `show port-security`
14+
* `clear errdisable intrfacde gigabitethernet 0/2 vlan`
15+
* `clear errdisable intrfacde gigabitethernet 0/2 vlan 103`
16+
* `set port enable`
17+
* `errdisable recovery cause`
18+
* `sh int g1/0/1`
19+
* shut no shut
20+
```
21+
conf t
22+
int g1/0/1
23+
shut
24+
no shut
25+
```

_devices/Netmod ISDN BRI terminal.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
---
3+
4+
# Netmod ISDN BRI terminal
5+
6+
These instructions assume the most common setup of these devices as they were used in Greece by OTE. This is a primary (head) number and an additional number (MSN).
7+
If you were used Smart Office offering then there will be a 3rd number provided to you for call forwarding and other operations provided by the service.
8+
For the instructions bellow the numbers used are as follows:
9+
* Head: `2101111111`
10+
* MSN: `2101111112`
11+
* Smart Office: `2101111114`
12+
settings for the netmod bringing the circuit for 210-2230050.
13+
This document is useful in the event of a reset or replacement of our netmod.
14+
15+
### Plug analog phone on **AB1 port**
16+
17+
Clean all (MSN) settings
18+
19+
```
20+
**91*#
21+
**92*#
22+
**93*#
23+
```
24+
25+
Add head number to slot-1 and Smart Office number to slot-2
26+
27+
```
28+
**91*2101111111#
29+
**92*2101111114#
30+
```
31+
32+
Note: 2101111114 is some additional number we were handed only for smart office
33+
to work. Call forwarding is essentially applied on that number (as stated by
34+
OTE tech support person).
35+
36+
### Now, plug analog phone to **AB2 port**
37+
38+
Again, clean all MSN settings
39+
40+
```
41+
**91*#
42+
**92*#
43+
**93*#
44+
```
45+
46+
Attach MSN on a specific PSTN port (AB2)
47+
48+
```
49+
**91*2101111112#
50+
```
51+
52+
Note: Once done, make sure the FAX machine is plugged back on AB2

_devices/racadm common commands.md

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
---
3+
4+
# racadm common commands
5+
6+
Some racadm commands to help in configuring our DELL servers taken from a gist that I dont recall at the moment...
7+
8+
### disable host -> BMC config update
9+
```sh
10+
racadm config -g cfgRacTuning -o cfgRacTuneLocalConfigDisable 1
11+
```
12+
13+
### disable dell proprietary admin protocol
14+
(this won't disable sshd or the internal racadm tool on the ssh shell)
15+
```sh
16+
racadm config -g cfgRacTuning -o cfgRacTuneRemoteRacadmEnable 0
17+
```
18+
19+
### disable http/https server
20+
```sh
21+
racadm config -g cfgRacTuning -o cfgRacTuneWebServerEnable 0
22+
```
23+
24+
### disable IPMI Serial Over LAN
25+
```sh
26+
racadm config -g cfgIpmiSol -o cfgIpmiSolEnable 0
27+
racadm config -g cfgIpmiPef -o cfgIpmiPefEnable 0 -i 1
28+
```
29+
30+
### disable ipmi trap
31+
```sh
32+
racadm config -g cfgIpmiPet -o cfgIpmiPetAlertEnable 0 -i 1
33+
```
34+
35+
### disable snmpd
36+
```sh
37+
racadm config -g cfgOobSnmp -o cfgOobSnmpAgentEnable 0
38+
```
39+
40+
### disable telnetd
41+
```sh
42+
racadm config -g cfgSerial -o cfgSerialTelnetEnable 0
43+
```
44+
45+
### enable sshd
46+
```sh
47+
racadm config -g cfgSerial -o cfgSerialSshEnable 1
48+
```
49+
50+
### disable IPMI over LAN (globally, hopefully disables the ipmi server)
51+
```sh
52+
racadm config -g cfgIpmiLan -o cfgIpmiLanAlertEnable 0
53+
racadm config -g cfgIpmiLan -o cfgIpmiLanEnable 0
54+
```
55+
56+
### reset the drac to make sure all settings apply
57+
```sh
58+
racadm racreset
59+
```
+177
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
---
2+
---
3+
4+
# General Things To Know About CVS
5+
**Author:** Pantelis Roditis
6+
**Created:** 2006/08/14 05:08
7+
8+
# Introduction
9+
Here is a basic tutorial for CVS for new users. If you are new to CVS these are some basic commands to help you.
10+
11+
# Basic Commands
12+
* **`cvs add`**: Add a new file or directory to the repository. After the
13+
add, a cvs commit must be performed. The files will be added in the
14+
repository the next time you run a "cvs commit".
15+
* **`cvs commit`**: Use this command when you wish to `publish` your
16+
changes to other users.
17+
* **`cvs update`**: This command is executed when you wish to update your
18+
copies of source files from changes that other users have made to the source
19+
in the repository.
20+
* **`cvs checkout`**: Creates the private copy of the source. You can work
21+
with this copy without interfearing with the other users.
22+
* **`cvs import`**: Incorporates a set of updates from off-site into the
23+
repository.
24+
* **`cvs remove`**: remove files from source repository, pending a cvs commit
25+
on the same files.
26+
* **`cvs diff`**: show changes between files in working directory and source
27+
repository, or between 2 revisions in same repository.
28+
* **`cvs release`**: cancel a cvs checkout
29+
* **`cvs status`**: show the current status of files
30+
31+
# How to add a new user
32+
33+
In order to add a new user you need to modify two files, the **passwd** and the
34+
**readers/writers** file. Both files can be found under the CVSROOT directory.
35+
36+
The first step is to add the user into the passwd file. The file looks something like:
37+
```
38+
user1:-p1MW3dBhIj3w:cvs
39+
user2-pgh0UZHzz4ho::cvs
40+
user3:-pRzNIIV2J0L6:cvs
41+
```
42+
43+
Where, **user1** is the username of each user, **p1MW3dBhIj3w** is the
44+
encrypted password of the user and **cvs** is the optional system username.
45+
46+
In order to add a new user simply copy a line and change the username and the
47+
password in its encrypted form. In order to encrypt the password type:
48+
49+
```
50+
encrypt -s SA -p
51+
Enter string: type here the desired password
52+
```
53+
54+
After adding the user to the passwd file, you also need to add him/her into the
55+
readers or writers file (see more details about readers and writers file in the
56+
sections that follow).
57+
58+
The readers/writers files look something like:
59+
60+
```
61+
user1
62+
user2
63+
user3
64+
```
65+
66+
So just simply type the user you desired to add in a new line.
67+
68+
# How to give write access to a user
69+
70+
In order to give write access to a user, simply add his/her name to the
71+
**writers** file which can be found under CVSROOT directory. The writers file
72+
looks something like:
73+
74+
```
75+
user1
76+
user2
77+
user3
78+
```
79+
80+
To add a new user into the writers file, simply add that user in a new line.
81+
Save and exit.
82+
83+
# How to give read only access to a user
84+
85+
Similarly to above, but this time the name of the user is added in the file
86+
**readers** which can be found under the CVSROOT directory. The readers file
87+
looks something like:
88+
89+
```
90+
user1
91+
user2
92+
user3
93+
```
94+
95+
In order to add a new user to the readers file, simply add him/her under a new
96+
line. Save and exit.
97+
98+
# Start a new project
99+
In order to start a new project follow the following steps:
100+
101+
102+
* Go to the top of the project tree:
103+
```
104+
cd /home/myproj
105+
```
106+
107+
* Import the new project to cvs. start = releasetag
108+
```
109+
cvs import -m "Initial Import into CVS" myproj echothrust start
110+
```
111+
112+
Where:
113+
- `myproj` is the name under which you will check out the project,
114+
- `echothrust` is the vendor tag that we will be using
115+
116+
> NOTE: `cvs` will ignore certain files based on some rules:
117+
> * Empty directories will not be imported (you can fix this by simply creating a dummy file like \
118+
> `find . -type d -empty -exec touch {}/.dummy \;`
119+
> * Certain filename and directory patters will not be imported. This can be fixed by adding `-I!`
120+
> after the import, so the command will look like \
121+
> `cvs import -I! -m "mycomment" myproj echothrust start`
122+
123+
124+
# How to create new file/directory
125+
126+
* In order to create a new file into the cvs, firstly you need to create that file.
127+
```
128+
vi new_file
129+
```
130+
131+
* In order to add that file into the repository, simply type
132+
```
133+
cvs add new_file
134+
```
135+
136+
* The last step is to publish your file to the others. In order to commit the file type:
137+
```
138+
cvs commit new_file
139+
```
140+
141+
* Now you are done. Another user can see the new_file when s/he will update the CVS.
142+
143+
144+
The added files will be placed in the repository after a cvs commit will be
145+
performed. If a file was removed and a cvs commit has not taken place yet, you
146+
can retrieve that file using cvs add.
147+
148+
149+
Similarly, in order to create a new **directory** in the repository firstly you
150+
need to:
151+
152+
* Make a new directory
153+
```
154+
mkdir new_directory
155+
```
156+
157+
* Then you need to add that directory in the repository, using
158+
```
159+
cvs add new_directory
160+
```
161+
162+
**NOTE**: You cannot add an empty directory into the repository. You need to
163+
create a file into the directory and then you can do:
164+
```
165+
cvs add new_directory
166+
cvs add new_file
167+
```
168+
169+
* In order to publish your new_directory to the other users, commit your work by using:
170+
```
171+
cvs commit
172+
```
173+
174+
* The other users will be able to see the new directory once they update their CVS.
175+
```
176+
cvs update
177+
```

0 commit comments

Comments
 (0)