Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > The Coffee Lounge
Reload this Page Do you have a set list of commands or programs when installing?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Coffee Lounge General chat about anything that goes, a good place to introduce yourself and say hi, tell a Joke, or just relax.

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-24-2008   #1 (permalink)
Linux Newbie
 
danbuter's Avatar
 
Join Date: May 2007
Posts: 108
Do you have a set list of commands or programs when installing?

Just curious, for those of you who occasionally hop distros or do clean installs, do you have a "required" list of commands or programs that you run right after install is done. Mine are:

chmod 700 /home/username
sudo aptitude update/upgrade
sudo aptitude install build-essential
sudo aptitude install chkrootkit
sudo aptitude install geany
sudo aptitude remove tracker
sudo aptitude remove compiz
and a change of splash screen
__________________
Dan
danbuter is offline   Reply With Quote
Old 03-24-2008   #2 (permalink)
Just Joined!
 
Join Date: Dec 2006
Posts: 8
when lamp is installed, ensure follow this method:
Ubuntu 7.04 (Feisty Fawn) LAMP Server Setup -- Ubuntu Geek

ensure vim /etc/network/interfaces is setup like this:

auto eth0
iface eth0 inet static
address 192.168.3.50 #my unix box
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255 #standard broadcast
gateway 192.168.3.1 #router

ensure vim /etc/resolv.conf to this:

search localdomain
nameserver 192.168.3.1

then run:
apt-get install lynx
apt-get install ssh openssh-server
apt-get install vim

set mysql password for 'root';
#mysql -u root
mysql>SET PASSWORD FOR 'root'@'localhost' = PASSWORD('XXXXXXX');

then download latest phpmyadmin and extract to web directory and run
http://rupert.selfip.net/protected/p...ipts/setup.php
use cookie/localhost/root etc blowfish anything

#haven't figured out mcrypt yet
#following PHP: mcrypt - Manual we've got to get fully encripted
#wget SourceForge.net: Downloading ...

#download latest webmin and usermin
apt-get install libnet-ssleay-perl openssl libauthen-pam-perl libio-pty-perl libmd5-perl
dpkg --install webmin_1.350_all.deb
dpkg --install usermin_1.280_all.deb

#ensure you have added virtual server ports to 10000 and 20000 for webmin and usermin

#install a media wiki per
#Setup a MediaWiki - GLUG-BOM
#https://help.ubuntu.com/7.04/server/C/mediawiki.html
sudo apt-get install php5-gd
wget http://download.wikimedia.org/mediaw...-1.10.0.tar.gz
#in /var/www/
tar -zxvf /pathTo/mediawiki-1.10.0.tar.gz
mv mediawiki-1.10.0/ wikiname
chown -R root:root wikiname
chmod 777 wikiname/config
chown -R www-data:www-data wikiname/config/
#open site and run setup page. once finished,
mv config/LocalSettings.php ./LocalSettings.php
#any problems run like above web page.
apt-get install mediawiki php5-gd
lndir /opt/mediawiki /var/www/html/wiki
#etc...
#get image upload working
vim /etc/php5/apache2/php.ini -> file_uploads = on
chown -R www-data:www-data /var/www/public/wiki_name/images/
#ensure NO alias in apache2.conf or http.conf have:
Alias /images/ /usr/share/images/
vim LocalSettings.php -> $wgEnableUploads = true;
-> $wgFileExtensions = array('png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'pdf','tar.gz','zip');
#ensure imagemagick working and do:
$wgUseImageMagick = true;

#change logo top left
$wgLogo = "/public/mediawiki/images/logo.jpg";

# This snippet prevents new registrations from anonymous users
# (Sysops can still create user accounts)
# see Manual:Preventing access - MediaWiki
$wgGroupPermissions['*']['createaccount'] = false;

# This snippet prevents editing from anonymous users
$wgGroupPermissions['*']['edit'] = false;

# Disable reading by anonymous users
$wgGroupPermissions['*']['read'] = false;
# But allow them to read the Main Page, login page, and JS/CSS pages
$wgWhitelistRead = array( ":Main Page", "Special:Userlogin", "-", "MediaWiki:Monobook.css" );

# install subversion
apt-get install subversion

#ensure vim is the main editor for all programs including subversion
update-alternatives –config editor
#then choose #4

#Get SVN access via apache web server http:// only
apt-get install libapache2-svn
vim /etc/apache2/mods-available/dav_svn.conf
#----------edit to something like this
<Location /svn>
DAV svn
SVNPath /var/lib/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
# The following three lines allow anonymous read, but make
# committers authenticate themselves.
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
#----------edit end ---------------

htpasswd -c /etc/apache2/dav_svn.passwd rupert
password
password
#use same again less the -c for subsequent users
chown -R www-data:www-data /var/lib/svn/
#----------------
apache2 -k restart
#and you should be able to access your svn repository via http://hostname/svn
# current repository is at /var/lib/svn


#install samba smbfs swat
apt-get update
apt-get upgrade
sudo apt-get install samba smbfs swat xinetd
#Then I created a SAMBA user:
sudo smbpasswd -a username
#Then edited/created the xinet config file:
sudo vim /etc/xinetd.d/swat
#I put the following in it:
service swat
{
disable = no
socket_type = stream
protocol = tcp
user = root
wait = no
server = /usr/sbin/swat
}
#Then I needed to restart xinet to use these settings:
dpkg-reconfigure xinetd
# then browse to cPanelŽ

#intall php eaccelerator - really effective!!
wget http://bart.eaccelerator.net/source/....9.5.1.tar.bz2
cd eaccelerator-0.9.5.1
tar xjvf eaccelerator-0.9.5.1.tar.bz2
export PHP_PREFIX="/usr/bin/"
apt-get install php5-dev
phpize
apt-get install autoconf
./configure --enable-eaccelerator=shared --with-php-config=/usr/bin/php-config
apt-get install make
make
make install
vim /etc/php5/conf.d/eacclerator.ini
#--place the following--
zend_extension = "/usr/lib/php5/20060613+lfs/eaccelerator.so"
eaccelerator.shm_size = "0"
eaccelerator.cache_dir = "/var/cache/eaccelerator"
eaccelerator.enable = "1"
eaccelerator.optimizer = "1"
eaccelerator.check_mtime = "1"
eaccelerator.debug = "0"
eaccelerator.filter = ""
eaccelerator.shm_max = "0"
eaccelerator.shm_ttl = "0"
eaccelerator.shm_prune_period = "0"
eaccelerator.shm_only = "0"
eaccelerator.compress = "1"
eaccelerator.compress_level = "7"
eaccelerator.allowed_admin_path = "/var/www/eaccelerator"
#----------------------------
wget http://security.ubuntu.com/ubuntu/po...ntu1.4_all.deb
dpkg -i php-pear_5.2.1-0ubuntu1.4_all.deb
pear install HTML_Template_IT
#basic calculator install
apt-get install bc
sudo pear install --alldeps channel://pear.php.net/DB_DataObject_FormBuilder-1.0.0RC7
sudo pear install MDB2
sudo pear install pear/MDB2#mysqli
#proper apache2 setup
vim /etc/apache2/sites-available/default
#comment/uncomment
RedirectMatch ^/$ /apache2-default/
#protect a directory from all except group members:
<Directory "/var/www/protected/">
AuthType Basic
AuthName "Protected Area"
AuthBasicProvider file
AuthUserFile /etc/apache2/passwords
AuthGroupFile /etc/apache2/groupfile
Require group users
</Directory>
#create password file (and symiltainiously create user/pwd
htpasswd -c /etc/apache2/passwords username
#create group file
vim /etc/apache2/groupfile
#enter following:
groupname: user1 user2 user3
rupert160 is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 12:50 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0