n00bfest.com
Home Forum phpBB3 Shoutbox Servers Teamspeak Admins Donate FAQ
Sign Up
Stats Contact Us!

 

View unanswered posts | View active topics It is currently Sat Aug 08, 2026 7:44 am

Forum rules


- n00bfest is not the special olympics. It is a gaming community. Do not act like n00bfest is a retard daycare or you will be punished.
- Outright flames and flamebaiting will be punished.
- Even if you are not an adult, do your best to act like one.
- *NEW* Political/Religious News and NSFW posts do not belong here. Use the Videos, Links, Political/Religious News Discussion Forum
- Punishments range from warnings to permanent forum/gameserver bans.





Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
 I need a crash course in 
Author Message
[n00b] Member
User avatar

Joined: Fri Oct 10, 2008 11:00 pm
Posts: 1719
Location: Chicago
Post Re: I need a crash course in
So the difference between Linux and other OS', is that Linux let's you use commands?(like in CSS console vs options menu; Only need simple answer)

_________________
[n00b] ???
Coach wrote:
I swear, if I could get a nickel for every IQ point Kano has, I'd have 2.5 cents.


Fri Jun 18, 2010 7:53 am
Profile
[n00b] Member

Joined: Thu May 21, 2009 11:00 pm
Posts: 2117
Location: Sagittarius A*
Post Re: I need a crash course in
No. Every OS out there lets you use a command console, Windows included. Linux has the Unix type console because Linux is a clone of Unix. Mac OS X has the same type console because it's based on Unix. The unix console/terminal is far more powerful than the Windows command console / powershell for scripting.

fomenta wrote:
Yeah, I try to do as much as possible by the command line because of the speed, but Shredder's examples of Eclipse and Wireshark are excellent examples of where using a GUI dominates.

I know you're into the BT3 stuff -- so a lot of these apps might be fun: http://sectools.org/ -- many run only on Linux or have weak Windows ports

Here are some cool things I've done on Linux that can help you get acquainted with it -- if you need help w any of these let me know
-- Install Apache2, get PHP working, get MySQL working, get phpMyAdmin working
-- Install Subversion Server and Configure that box or another to commit to a repository on your subversion server over ssh
-- Play with the firewall (iptables)
-- Generate a self-signed cert, and set up apache to use SSL
-- Create and check in a pgp key (I'll sign it!)
-- Set up WebSVN
-- Set up a cron job to automatically add and commit files in a certain directory to your repo
-- Access folders on your linux box from your windows box via Samba


I've only done the first (with Apache) and the last ones in that list, and it also took me a while to get it working right :(


Fri Jun 18, 2010 9:31 am
Profile
[n00b] Member
User avatar

Joined: Wed Jan 28, 2009 12:00 am
Posts: 1497
Location: Texas
Post Re: I need a crash course in
i used to think fomenta was epic....i was wrong...

he is the patron diety of geek.


All hail Fomenta, God of pwnage and Geekery.

_________________
Hooker wrote:
Sometimes your compliments and turkeyisms stun me.

n00bfest presents
BROKEN MUGEN


Fri Jun 18, 2010 12:22 pm
Profile YIM
Retired n00bfest O.G.

Joined: Fri Dec 31, 2004 12:00 am
Posts: 2737
Post Re: I need a crash course in
fomenta wrote:
Yeah, I try to do as much as possible by the command line because of the speed, but Shredder's examples of Eclipse and Wireshark are excellent examples of where using a GUI dominates.

I know you're into the BT3 stuff -- so a lot of these apps might be fun: http://sectools.org/ -- many run only on Linux or have weak Windows ports

Here are some cool things I've done on Linux that can help you get acquainted with it -- if you need help w any of these let me know
Check - Install Apache2, get PHP working, get MySQL working, get phpMyAdmin working
-- Install Subversion Server and Configure that box or another to commit to a repository on your subversion server over ssh
-- Play with the firewall (iptables)
-- Generate a self-signed cert, and set up apache to use SSL
-- Create and check in a pgp key (I'll sign it!)
-- Set up WebSVN
-- Set up a cron job to automatically add and commit files in a certain directory to your repo
-- Access folders on your linux box from your windows box via Samba


[vadmin@localhost ~]$ yum -y install httpd php mysql mysql-server php-mysql
Loaded plugins: presto, refresh-packagekit
You need to be root to perform this command.
[vadmin@localhost ~]$ su
Password:
su: incorrect password
[vadmin@localhost ~]$ sector7g
Command not found.
* Downloading details about the software sources... su
* Downloading list of packages..

[vadmin@localhost ~]$ su
Password:
[root@localhost vadmin]# yum -y install httpd php mysql mysql-server php-mysql
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Package httpd-2.2.15-1.fc13.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package mysql.i686 0:5.1.47-1.fc13 set to be updated
--> Processing Dependency: mysql-libs = 5.1.47-1.fc13 for package: mysql-5.1.47-1.fc13.i686
---> Package mysql-server.i686 0:5.1.47-1.fc13 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.47-1.fc13.i686
--> Processing Dependency: perl-DBI for package: mysql-server-5.1.47-1.fc13.i686
--> Processing Dependency: perl(DBI) for package: mysql-server-5.1.47-1.fc13.i686
---> Package php.i686 0:5.3.2-2.fc13 set to be updated
--> Processing Dependency: php-cli = 5.3.2-2.fc13 for package: php-5.3.2-2.fc13.i686
--> Processing Dependency: php-common = 5.3.2-2.fc13 for package: php-5.3.2-2.fc13.i686
---> Package php-mysql.i686 0:5.3.2-2.fc13 set to be updated
--> Processing Dependency: php-pdo for package: php-mysql-5.3.2-2.fc13.i686
--> Running transaction check
---> Package mysql-libs.i686 0:5.1.47-1.fc13 set to be updated
---> Package perl-DBD-MySQL.i686 0:4.013-3.fc13 set to be updated
---> Package perl-DBI.i686 0:1.609-4.fc13 set to be updated
---> Package php-cli.i686 0:5.3.2-2.fc13 set to be updated
---> Package php-common.i686 0:5.3.2-2.fc13 set to be updated
---> Package php-pdo.i686 0:5.3.2-2.fc13 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql i686 5.1.47-1.fc13 updates 897 k
mysql-server i686 5.1.47-1.fc13 updates 8.2 M
php i686 5.3.2-2.fc13 updates 1.1 M
php-mysql i686 5.3.2-2.fc13 updates 72 k
Installing for dependencies:
perl-DBD-MySQL i686 4.013-3.fc13 fedora 134 k
perl-DBI i686 1.609-4.fc13 fedora 707 k
php-cli i686 5.3.2-2.fc13 updates 2.2 M
php-common i686 5.3.2-2.fc13 updates 515 k
php-pdo i686 5.3.2-2.fc13 updates 70 k
Updating for dependencies:
mysql-libs i686 5.1.47-1.fc13 updates 1.2 M

Transaction Summary
================================================================================
Install 9 Package(s)
Upgrade 1 Package(s)

Total download size: 15 M
Downloading Packages:
Setting up and reading Presto delta metadata
fedora/prestodelta | 414 B 00:00
updates/prestodelta | 22 kB 00:00
Processing delta metadata
Package(s) data still to download: 15 M
(1/10): mysql-5.1.47-1.fc13.i686.rpm | 897 kB 00:01
(2/10): mysql-libs-5.1.47-1.fc13.i686.rpm | 1.2 MB 00:01
(3/10): mysql-server-5.1.47-1.fc13.i686.rpm | 8.2 MB 00:07
(4/10): perl-DBD-MySQL-4.013-3.fc13.i686.rpm | 134 kB 00:00
(5/10): perl-DBI-1.609-4.fc13.i686.rpm | 707 kB 00:00
(6/10): php-5.3.2-2.fc13.i686.rpm | 1.1 MB 00:01
(7/10): php-cli-5.3.2-2.fc13.i686.rpm | 2.2 MB 00:02
(8/10): php-common-5.3.2-2.fc13.i686.rpm | 515 kB 00:00
(9/10): php-mysql-5.3.2-2.fc13.i686.rpm | 72 kB 00:00
(10/10): php-pdo-5.3.2-2.fc13.i686.rpm | 70 kB 00:00
--------------------------------------------------------------------------------
Total 921 kB/s | 15 MB 00:16
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY
fedora/gpgkey | 3.2 kB 00:00 ...
Importing GPG key 0xE8E40FDE "Fedora (13) <fedora@fedoraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : mysql-libs-5.1.47-1.fc13.i686 1/11
Installing : php-common-5.3.2-2.fc13.i686 2/11
Installing : perl-DBI-1.609-4.fc13.i686 3/11
Installing : perl-DBD-MySQL-4.013-3.fc13.i686 4/11
Installing : php-pdo-5.3.2-2.fc13.i686 5/11
Installing : php-cli-5.3.2-2.fc13.i686 6/11
Installing : mysql-5.1.47-1.fc13.i686 7/11
Installing : mysql-server-5.1.47-1.fc13.i686 8/11
Installing : php-5.3.2-2.fc13.i686 9/11
Installing : php-mysql-5.3.2-2.fc13.i686 10/11
Cleanup : mysql-libs-5.1.45-2.fc13.i686 11/11

Installed:
mysql.i686 0:5.1.47-1.fc13 mysql-server.i686 0:5.1.47-1.fc13
php.i686 0:5.3.2-2.fc13 php-mysql.i686 0:5.3.2-2.fc13

Dependency Installed:
perl-DBD-MySQL.i686 0:4.013-3.fc13 perl-DBI.i686 0:1.609-4.fc13
php-cli.i686 0:5.3.2-2.fc13 php-common.i686 0:5.3.2-2.fc13
php-pdo.i686 0:5.3.2-2.fc13

Dependency Updated:
mysql-libs.i686 0:5.1.47-1.fc13

Complete!
[root@localhost vadmin]# /sbin/chkconfig httpd on
[root@localhost vadmin]# /sbin/chkconfig --add mysqld
[root@localhost vadmin]# /sbin/chkconfig mysqld on
[root@localhost vadmin]# /sbin/service httpd start
Starting httpd: [ OK ]
[root@localhost vadmin]# /sbin/service mysqld start
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd /usr/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

[ OK ]
Starting mysqld: [ OK ]
[root@localhost vadmin]# mysqladmin -u root password 'n00bfest'
[root@localhost vadmin]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.1.47 Source distribution

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> DROP DATABASE test;
Query OK, 0 rows affected (0.00 sec)

mysql> DELETE FROM mysql.user WHERE user = '';
Query OK, 2 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES
->


Fri Jun 18, 2010 1:21 pm
Profile
n00bfest Elder, Lead Developer
User avatar

Joined: Sun May 24, 2009 11:00 pm
Posts: 2766
Location: Gettin it in
Post Re: I need a crash course in
sweet! looks good so far

_________________

Image


Fri Jun 18, 2010 3:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 25 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 90 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.