Explorerwebmin

webmin  时间:2021-01-11  阅读:()
CopyrightIBMCorporation2012TrademarksLinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage1of13LinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsCanyoupoint-and-clickonLinuxAbsolutely!
TracyBostJune26,2012WorkingwithLinuxdoesn'tmeanyourworkisrestrictedtocommand-linetools.
True,mostexperiencedLinuxadministratorsusecommand-linetoolsforconvenienceandmoreefficientadministration.
However,theGNOMEprojectprovidessomeexcellenttoolsformanagingaLinuxserverusingagraphicaluserinterface(GUI).
UsingyourMicrosoftWindowsbackgroundexperience,youmightfindthatthesetoolsmakethetransitionlessdramatic.
ViewmorecontentinthisseriesOverviewOtherarticlesinthisseriesViewmorearticlesintheLinuxforWindowsystemsadministratorsseries.
Inthisarticle,learnabouttheseconceptswithLinuxonthedesktop:WorkingwithuserandgroupaccountsManagingfilesandfoldersWorkingwithservicesMonitoringthesystemReviewinglogfilesPrerequisitesTogetthemostfromthearticlesinthisseries,youshouldhaveknowledgeofmanaginguserandgroupaccounts,files,folders,andreviewinglogfilesinaWindowsserverenvironment.
AbasicunderstandingoflogginginandnavigatingaLinuxdesktopenvironmentsuchasLXDE,GNOME,orKDEisexpected.
Additionally,it'sbeneficialtohaveaworkingLinuxcomputertoexploretheconceptsandexamplesinthearticle.
developerWorksibm.
com/developerWorks/LinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage2of13WorkingwithuserandgroupaccountsWhenyouconsiderservermanagementfromadesktopenvironment,auserandgroupmanagementtoolisamusthave.
ForthelatestreleaseofGNOME3.
2,thattoolislocatedintheGNOMEControlCenter.
TheGNOMEControlCenterisacentrallocationtomanagevariousaspectsofyourLinuxcomputer—notunliketheWindowsControlPanel.
StillwidelyusedtodayistheGNOMESystemTools(GST).
GSTprovidesusefultoolsforLinuxadministrators,includingatooltomanageuserandgroupaccounts.
SomepopularLinuxdistributionsprovidethesystem-users-configtoolasthedefaultusermanager.
So,nomatteryourLinuxdistribution,youshouldhaveaccesstomanagelocaluseraccountsoutofthebox,usuallyundertheusersandgroupslabel.
LinuxdistributionforthisarticleThedistributionusedforthisarticleisUbuntu10.
0.
4withthedefaultGNOMEdesktopandtheme.
DependinguponyourLinuxdistribution,thescreensanddefaultlocationsofthevarioustoolsdescribedinthisarticlecandifferslightly.
Checkyourdistribution'sdocumentationformorespecifics.
Linuxhasnoregistry.
SotheGUItoolsyouusearejustfront-endtoolstowritedatatoafileonthefilesystem.
Forthetaskofmanagingusersandgroups,youmanagetheunderlying/etc/passwdand/etc/groupfileswiththosetools.
The/etc/passwdfilemaintainsuseraccountinformation,whilethe/etc/groupfilestoresgroupaccountinformation.
Userpasswordsareencryptedinthe/etc/shadowfile,whilegrouppasswordsarestoredinthe/etc/gshadowfile.
TheGNOMEuserandgroupmanagementtoolprovidesastraightforwardinterfaceforaccountmanagement,showninFigure1.
Figure1.
CreatingauserProvidedyouhavetheprivileges,youcancreateandedituserandgroupaccounts.
Inaddition,youcanmanagedetailedaccountsettingssuchaslocationofthehomedirectory,userID,defaultibm.
com/developerWorks/developerWorksLinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage3of13loginshell,passwordresets,andgroupmembershipassignment.
Standarduserstypicallyhaveaccesstothetoolforpasswordmanagement.
Tocreateanewgroup,clickontheGroupstabandenterthegroupname.
AsshowninFigure2,afteryoucreateagroupyoucanthenmanagethemembershipsimplybyselectingorclearingthecheckboxesnexttousers'names.
Figure2.
CreatingagroupManagingfilesandfoldersInWindows,WindowsExploreristhetoolofchoiceformanytonavigatethefilesystem.
TheGNOMEprojecthasNautilus.
Nautilusisafilemanagerwithastrongdevelopmentteamandwideuserbase.
Ithasbeenindevelopmentsince2001.
IfyouusetheGNOMEdesktop,chancesareNautilusisalreadyinstalled.
IfyouarenotusingGNOME,youcanstilldownloadandinstallNautilus,socheckyourdistribution'sdocumentation.
Oneoftheprimarytasksyouperformwithafilemanagerisnavigatingthefilesystem.
WithNautilus,youcanevenswitchittobrowsermode,whichgivesyoumoreofaWindowsExplorerfeel.
Remember,inLinuxallfoldersaremountedassubfolderstothemainroot(/)directory.
SoifyouhaveremotedrivesmountedtoyourLinuxserver,suchasfromaWindowsoranotherLinuxcomputer,youcannavigatethefilesystemfromtheroot(/)directoryjustasyouwouldadirectorylocatedonthelocalfilesystem,asshowninFigure3.
developerWorksibm.
com/developerWorks/LinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage4of13Figure3.
NavigatingthefilesystemNavigatinginNautilusissimilartonavigatinginWindowsExplorer.
Clickonafoldertodrilldownintothesubfolders.
Right-clickonanyfolderorfiletoperformtheusualtasksyou'vecometoexpectwithafilemanager,suchascopy,rename,delete,open,compress,andmanagethepermissions.
Forviewingpreferences,youcansetoptionssuchasdetailedview,listedview,byname,andsoon,asshowninFigure4.
ibm.
com/developerWorks/developerWorksLinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage5of13Figure4.
ManagingfilepreferencesRead,write,andexecuteWhenyouright-clicktomanagethepermissionsofafolderorfile,youcanvieworchangethepermissions(ifyouraccounthasaccesstodoso).
InNautilus,ifafileorfolderisnotwithinthesecuritypermissionsforyouruseraccount,alockicondisplaysnexttoit.
WithLinux,eachfolderhasthreesetsofpermissions:userowner(u),groupowner(g),andother(o).
Withineachset,youcanassignthebasicpermissionsofread,write,orexecute.
Remembertoassignexecutepermissiontoshellscriptsoranyotherfilesusersneedtoexecute.
UnlikeWindows,inLinuxyouneedtoexplicitlygrantthefileexecutepermissiontothesetofusersthatneedtoperformthataction.
SeeFigure5foranexample.
developerWorksibm.
com/developerWorks/LinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage6of13Figure5.
SettingthepermissionsonafileTable1summarizesthebasicpermissionoptionsforatypicalLinuxfile.
IincludeoctalrepresentationbecausemanyLinux-relatedinstallationandsoftwaredocumentsreferencethepermissionsinoctalnotation.
Table1.
LinuxpermissionsPermissionOctalrepresentationReadonly4Writeonly2Executeonly1Readandwrite6Readandexecute5Fullpermission(read,write,andexecute)7WhenyoucreateanewfileusingNautilus,itusestheunderlyingLinuxconfigurationforumask,justlikewhenyoucreateafilefromthecommandline.
Theumaskdeterminesthedefaultpermissions.
MostLinuxdistributionsdefaulttoumask022.
Filesworkfromthe666octal.
Youjustneedtodosomesubtractiontounderstandhowumaskworks.
Ifyoucreateanewfileandtheumaskis022,thefile'sdefaultpermissionsare666-022,or644.
That'stosaytheuserownerhasreadandwritepermission,whilethegroupownerandotherhaveread-onlypermission.
ThesameconceptapplieswhenyoucreatefoldersusingNautilus.
Foldersworkfromthe777octal.
Withthesameumaskof022,ifyoucreateanewfolderitsdefaultpermissionsare777-022,ibm.
com/developerWorks/developerWorksLinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage7of13or755.
Thismeanstheuserownerhasfullpermission,andthegroupownerandotherhavereadandexecutepermission.
SharingAsinWindowsExplorer,youcaneasilyshareafolderusingNautilus.
Todoso,right-clickonthefolderyouwanttoshare,andselecttheSharingOptionsmenuitem.
Next,selecttheSharethisfoldercheckbox,asshowninFigure6.
Figure6.
SharingafolderAdditionally,youcanselecttheAllowotherstocreateanddeletefilesinthisfoldercheckboxifyouwantotherpeopletobeabletosavedocumentsinthefolder.
Ifyoudo,Nautiluswillaskforconfirmationfromyoutochangethefolderpermissions.
Ifyouhaveusersfromamixedenvironment,youcanselecttheGuestaccesscheckboxtoallowthoseusersaccesstothefolderwithouthavingalocalSambaaccountforauthentication.
UsethisoptionwithcarebecauseitcouldintroduceunnecessarysecurityvulnerabilitiestoyourLinuxserver.
IfyouwanttosharethefolderswithWindowsusersandauthenticatethem,youmustfirstsetupandconfigureSambaonyourLinuxserver.
WorkingwithservicesWiththeGSTinstalled,youcanmanageyourserverservicesandvariousotherdaemons(aLinuxwordforservices)withinthedesktopenvironment,similartousingWindowsservices.
ThistoolisusuallylabeledasStartupPreferences,andyoucanlaunchitfromtheSystemmenubyclickingPreferences.
Todate,theGSTdoesn'tcompletelymanageservicessuchasloginas,reload,restart,andsoon.
ItcangiveyouabasisforunderstandingwhatservicesareinstalledonyourLinuxcomputerandwhetheryouwanttorunparticularservicesuponsystemboot.
developerWorksibm.
com/developerWorks/LinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage8of13ThegreenandrediconsshownfortheservicesinFigure7indicatewhethertheservicesareenabledordisabledtorunuponsystemboot.
ThesearesimilartotheWindowsservicesautomaticandmanualoptions.
Aseparateiconrepresentswhethertheservicesarerunning.
Figure7.
ViewingarunningsendmailserviceinGSTMonitoringthesystemAlthoughnotidenticaltotheWindowsTaskManager,GNOMESystemMonitorprovidessimilarfunctionality.
Ifyouwantahigh-levelviewofyourLinuxcomputer'sresourceusage,GNOMESystemMonitorcanprovideaquicksnapshotofthesystem.
Thefourmaintabsformonitoringare:SystemProcessesResourcesFileSystemsTheSystemtabprovidesgeneraloperatingsystemandhardwareinformation(memoryandprocessor),muchliketheSystemdialoginWindowsthatdisplayswhenyouclickPropertiesfromtheWindowManagerdesktopicon.
TheProcessestab(Figure8),displaysallrunningprocesses(andtherearemany!
).
Youcansorttheprocessesbyname,centralprocessingunit(CPU)usage,andsoon.
ibm.
com/developerWorks/developerWorksLinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage9of13Figure8.
KillingaprocessTheResourcestab(Figure9)issimilartotheWindowsTaskManagerPerformancetab.
ItprovideshistoricalgraphingofCPU,memory/swap,andnetworkbandwidthusage.
Figure9.
MonitoringsystemresourcesdeveloperWorksibm.
com/developerWorks/LinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage10of13TheFileSystemstabshowsallmountedfilesystemsandgeneralinformationsuchasmountpointsforvariouspartitions,freespace,totalspace,andsoon.
ReviewinglogfilesTheGNOMESystemLogVieweriscomparabletotheEventViewerinWindows.
Underthehood,Linuxtypicallyusesthesyslog(orrsyslog)mechanismtogeneratelogfilesforvariousapplications,serverservices,andsystemmessages.
Thesefilesusuallyresideinthe/var/logdirectoryontheLinuxfilesystem.
SowhenyoufirstopentheGNOMESystemLogViewer,yourdistributionmightprovideawayforthetooltoautomaticallyreadthevariouslogsinthatdirectory.
Ifnot,orifyouchoosetoaddadditionallogfilesintheviewer,simplyclickFile>Add,andnavigatetothedesiredlogfile.
Table2listsanddescribessomeofthecommonLinuxlogsyoumightwanttomonitorwiththelogviewer.
Table2.
LinuxlogfilesLogfileDescriptionboot.
logHardwaredetection,mounting,andothersystemmessagesuponstartupofthemachinesecureSecurityrelatedmessagesmessagesKernelandothergeneralsystemmessageinformationhttpdWebserverlogsdirectorycontainingaccessanderrorlogsinseparatefilescupsDirectorycontaininglogmessagesrelatedtoprintingcronLogmessagesrelatedtoscheduledjobsXorg.
0.
logLogmessagesrelatedtotheX-Windowserverauth.
logAuthenticationsuccessandfailuressambaDirectoryofaccessanderrorlogsrelatingtotheSambaserverTable2isnotanexhaustivelistofthelogfilesyoucanreadwiththelogviewer.
Evenifyouhavecommercialsoftwareinstalledonyourserver,youcanusethelogviewertoviewthoselogsfilesaslongtheyareintheproperlogformat.
Exploreyour/var/logdirectoryandaddthelogfilesthatareappropriateforyourneeds.
OnethingabouttheGNOMESystemLogViewerthatisconsiderablydifferentfromtheWindowsEventVieweristhatmanyofthelogviewsaredependentuponthesettingsfortheunderlyingsystemconfiguration.
Forexample,thelogsfortheApachewebservercanbeconfiguredtorotatedaily.
Inthatcase,thehttpdaccess.
logonlydisplaysthecurrentday'slogmessages,whiletheolderlogfilesaremovedtoarchives.
Youcanstillconfigurethelogviewertoviewthearchivelogsbyaddingthoseaswell.
Whenyouviewyourlogs,youcaneasilyscrollthroughandreadthevariousmessages.
Sometimesthevolumeofmessagescanmakefindingtheinterestinglogs,suchaserrorsorfatalmessages,muchliketheproverbialsearchfortheneedleinthehaystack.
TheGNOMEibm.
com/developerWorks/developerWorksLinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage11of13SystemLogViewerprovidesafilterfeaturethatallowsyoutodefinevariousfiltersusingregularexpressionstohighlightorshowonlyspecifiedlogmessages.
Forexample,whiletroubleshootinganemailissueforaparticularuser,youmightwanttofilteranddisplayonlymessagesthatcontainthatuser'semailaddress,asshowninFigure10.
Figure10.
DisplayingonlymessagesbaseduponafilterAnmoretypicalexamplefordailyuseistocreatefilterstohighlighterrormessagesinredwhileusinganothercolor,suchasorange,forwarningmessages.
Figure11demonstratesafilterconfigurationthatdisplaysonlyrootloginattempts.
Figure11.
HighlightinglogmessagesbaseduponafilterWithregularexpressions,youcanreallyuseyourimaginationastheneedarisestohighlightordisplayonlythemessagesyouneed.
developerWorksibm.
com/developerWorks/LinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage12of13ConclusionOtherarticlesinthisseriesViewmorearticlesintheLinuxforWindowsystemsadministratorsseries.
AlthoughLinuxisknownforitsabundantcommand-linetools,youdon'thavetouseitthatway.
Overthelastseveralyears,successfulprojectssuchasGNOMEhavemadetremendousstridesinprovidinggoodqualitydesktoptoolsforLinuxsystemadministration.
IfyouaremovingtoLinuxfromaWindowsenvironment,thesetoolscanprovideamorecomfortabletransitionwhileallowingyoutoeffectivelymanageyourLinuxservers.
ibm.
com/developerWorks/developerWorksLinuxforWindowssystemsadministrators:AdministerLinuxwithGNOMEdesktoptoolsPage13of13RelatedtopicsReadWindows-to-Linuxroadmap:Part3.
IntroductiontoWebmin(ChrisWalden,developerWorks,November2003)tolearnmoreaboutbrowser-basedadministrativetoolsforLinux.
TolearnmoreaboutLinuxlogging,checkoutWindows-to-Linuxroadmap:Part5.
Linuxlogging(ChrisWalden,developerWorks,November2003).
LearnmoreaboutthegeneralfeaturesoftheGSTandperformavarietyofadministrativechores.
ExploretheGNOMESystemLogViewer.
InthedeveloperWorksLinuxzone,findhundredsofhow-toarticlesandtutorials,aswellasdownloads,discussionforums,andawealthofotherresourcesforLinuxdevelopersandadministrators.
FollowdeveloperWorksonTwitter.
CopyrightIBMCorporation2012(www.
ibm.
com/legal/copytrade.
shtml)Trademarks(www.
ibm.
com/developerworks/ibm/trademarks/)

ReliableSite:美国服务器租用,洛杉矶/纽约/迈阿密等机房;E3-1240V6/64GB/1TSSD,$95/月

reliablesite怎么样?reliablesite是一家于2006年成立的老牌美国主机商,主要提供独服,数据中心有迈阿密、纽约、洛杉矶等,均免费提供20Gbps DDoS防护,150TB月流量,1Gbps带宽。月付19美金可升级为10Gbps带宽。洛杉矶/纽约/迈阿密等机房,E3-1240V6/64GB内存/1TB SSD硬盘/DDOS/150TB流量/1Gbps带宽/DDOS,$95/月,...

ZJI-全场八折优惠,香港服务器 600元起,还有日本/美国/韩国服务器

月付/年付优惠码:zji  下物理服务器/VDS/虚拟主机空间订单八折终身优惠(长期有效)一、ZJI官网点击直达ZJI官方网站二、特惠香港日本服务器香港大埔:http://hkdb.speedtest.zji.net/香港葵湾:http://hkkw.speedtest.zji.net/日本大阪:http://jpsk.speedtest.zji.net/日本大阪一型 ...

wordpress投资主题模版 白银黄金贵金属金融投资网站主题

wordpress投资主题模版是一套适合白银、黄金、贵金属投资网站主题模板,绿色大气金融投资类网站主题,专业高级自适应多设备企业CMS建站主题 完善的外贸企业建站功能模块 + 高效通用的后台自定义设置,简洁大气的网站风格设计 + 更利于SEO搜索优化和站点收录排名!点击进入:wordpress投资主题模版安装环境:运行环境:PHP 7.0+, MYSQL 5.6 ( 最低主机需求 )最新兼容:完美...

webmin为你推荐
linux主机linux优点和缺点有哪些啊?域名注册查询如何查域名注册信息ip代理地址代理IP是什么台湾vps做一个论坛,请问需要什么样的vps配置免费网站空间哪里有永久免费的网站空间?北京网站空间自己弄一个简单的网站,大概需要办理什么,大概需要多少钱?独立ip虚拟主机独立ip的虚拟主机和vps的区别和优势??虚拟主机是什么什么是虚拟主机韩国虚拟主机大家用的虚拟主机是国内的还是香港的还是韩国的还是美国的1g虚拟主机我要做一个下载资料类网站,刚买了一个虚拟主机1G的,提供商说一次,只能上传一个小于10M的文件
域名服务dns的主要功能为 seednet 最好的免费空间 nerds 阿里校园 什么是服务器托管 isp服务商 服务器干什么用的 umax120 raid10 美国独立日 创建邮箱 starry lamp兄弟连 带宽测试 开心online 美国主机 优惠服务器 美国达拉斯 中国最年轻博士 更多